Agent teams coordinate multiple full Claude Code instances: one lead session spawns teammates that share a task list, message each other directly, and work in parallel. Unlike subagents (which only report back to the caller), teammates collaborate.
Experimental, disabled by default. Enable via settings:
Agent panel (below prompt input): ↑/↓ select teammate, Enter view + message directly, Esc interrupt, x stop, Ctrl+T toggle task list
Display modes (teammateMode setting or --teammate-mode): in-process (default, any terminal) or split panes via tmux/iTerm2 (auto/tmux/iterm2)
Models: “Use Sonnet for each teammate” or set Default teammate model in /config. Teammates inherit the lead’s effort level; their model/fast-mode is fixed at spawn
Plan approval: “Require plan approval before they make changes” — teammate stays read-only until the lead approves its plan
Reusable roles: “Spawn a teammate using the security-reviewer agent type” (uses your subagent definitions)
Tasks: pending → in progress → completed, with dependencies. Lead assigns explicitly, or idle teammates self-claim the next unblocked task. File locking prevents claim races. Stored in ~/.claude/tasks/<session-name>/; team config in ~/.claude/teams/<session-name>/config.json.
Permissions: teammates start with the lead’s permission mode; their prompts bubble up to the lead. A teammate can’t approve permissions or relay denied actions.
Users report the app exits after one message instead of staying connected.
Spawn 5 teammates to investigate different hypotheses. Have them talk to
each other to try to disprove each other's theories, like a scientific
debate. Update findings.md with whatever consensus emerges.
Why it works: sequential investigation anchors on the first plausible theory. Independent investigators actively disproving each other converge on the actual root cause.