Persistent teammates

Subagents from earlier are disposable. They run one task and terminate. The team coordination phase introduces persistent teammates. Each teammate runs its own agent loop in a daemon thread, has a name, role, and status (working/idle/shutdown). They persist across tasks and communicate via inboxes. This is the shift from single-agent to multi-agent.

Teammate lifecycle

Teammates persist across tasks. The lead agent manages spawn, work, and shutdown.

Flashcards: Flashcards

Loading practice…

Terminal
bash
# Run the agent teams system
make 09-agent-teams

# Try: "Spawn a teammate named 'explorer' with role 'explore'.
#       Then send explorer a message: 'list all Python files'"

See persistent teammates in action. Teammates run their own agent loops and communicate via message inboxes.

Checkpoint: Parallelism checkpoint

Loading practice…