Spawning an Agent
One command, one prompt, and your agent is alive.
What you'll see
- Launch
rysh; double-Escape into rysh mode. ##agent spawn code-reviewer "You are a meticulous code reviewer focused on bugs and clarity."-- the system prompt defines the agent's job.##agent spawn test-writer "You write thorough unit tests for Go code."-- spawn as many as you need.##agent listshows 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.