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