Back to Cline

Agent Teams

docs/cli/agent-teams.mdx

3.83.01.5 KB
Original Source
<Warning> This feature currently only applies to Cline SDK, CLI, and Kanban. This feature is not applicable on VSCode and JetBrains Extension for now. </Warning>

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.

Starting a Team

bash
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.

Resuming Team Work

Team state persists across sessions. Resume where you left off:

bash
cline --team-name auth-sprint "Continue with incomplete tasks"

Interactive Mode

In interactive mode, use the /team slash command:

/team Plan and implement a REST API with tests

Team State

Team state is stored at ~/.cline/data/teams/[team-name]/ and includes:

  • Task board with current tasks and status
  • Inter-agent mailbox
  • Mission log with activity history

Disabling Teams

Teams are enabled by default. Disable them with:

bash
cline --no-teams "your prompt"

Sub-Agents

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.