Skip to main content
Multi-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 and merging their results.

Enabling Teams

Teams are a ClineCore feature. Enable them in the session config:

How Teams Work

When teams are enabled, the coordinator agent gets these tools: Teammates get the same tools except team_spawn_teammate, and only the coordinator can shut teammates down or clean up the team. The coordinator decides how to split work, which agents to create, and how to combine results.

Team Persistence

Team state belongs to the session. Cline saves each team’s task board, mailbox, mission log, results and teammates in ~/.cline/data/db/teams.db, under the session’s ID. When the session resumes, its team and teammates come back.

Via CLI

Start a prompt with /team to start a team, and resume the session with cline --id <session-id> to continue its work. Agent Teams has the details.

Sub-Agents vs Teams

The SDK offers two levels of multi-agent coordination: Sub-agents are lighter weight. The parent agent spawns a child, waits for its result, and continues. No persistent state, no task board.
Teams are for bigger efforts that you come back to, where agents need to coordinate asynchronously.

When to Use Teams

Teams add overhead. Use them when:
  • The task naturally decomposes into independent subtasks
  • Different subtasks benefit from different system prompts or specializations
  • You will resume the session over several days
  • You want a persistent record of task delegation and completion
For simpler cases, a single agent with good tools is usually more efficient than a team.