docs/cli/agent-teams.mdx
Agent teams let you break complex work across multiple agents that coordinate through a shared task board. One agent acts as the coordinator, delegating subtasks to specialist agents.
cline --team-name auth-sprint "Plan and implement user authentication with tests"
The --team-name flag enables team mode. The coordinator agent gets additional tools for spawning teammates and delegating tasks.
Team state persists across sessions. Resume where you left off:
cline --team-name auth-sprint "Continue with incomplete tasks"
In interactive mode, use the /team slash command:
/team Plan and implement a REST API with tests
Team state is stored at ~/.cline/data/teams/[team-name]/ and includes:
Teams are enabled by default. Disable them with:
cline --no-teams "your prompt"
For simpler delegation within a single session (no persistent state), use sub-agents. Sub-agents run in parallel for read-only research and return focused reports to the main agent.
See the SDK Multi-Agent Teams guide for the programmatic API.