HomeTutorials › Autonomous Agents
Autonomous Agents

Spawning an Agent

#074 0:16 Part of the Rysh video series

One command, one prompt, and your agent is alive.

Spawning an Agent — 0:16 walkthrough

What you'll see

  1. Launch rysh; double-Escape into rysh mode.
  2. ##agent spawn code-reviewer "You are a meticulous code reviewer focused on bugs and clarity." -- the system prompt defines the agent's job.
  3. ##agent spawn test-writer "You write thorough unit tests for Go code." -- spawn as many as you need.
  4. ##agent list shows both agents with status (active / deactivated / working).

Commands shown

rysh
##agent spawn code-reviewer 'You are a meticulous code reviewer focused on bugs and clarity.'
##agent spawn test-writer 'You write thorough unit tests for Go code.'
##agent list

Keys used

EnterEscape

Transcript

0:00One command, one prompt, and your agent is alive.

0:03Launch rysh and double-press Escape into rysh mode to run the agent system commands.

0:08Use ##agent spawn, then a name, then the system prompt in quotes. That prompt defines the agent's whole personality and job.

0:18Spawn as many as you need. Here's a second agent for writing tests.

0:28Then ##agent list shows every agent with its current status -- active, deactivated, or working a prompt right now.

0:40Spawn, name, prompt, list. That's the whole lifecycle of an agent.

Key takeaway
##agent spawn <name> <system-prompt> creates an agent inline, and ##agent list shows every agent's status.