Files
2026-07-13 12:52:40 +08:00

58 lines
1.6 KiB
Plaintext

---
title: "Agent Teams"
sidebarTitle: "Agent Teams"
description: "Coordinate multiple agents working together on complex tasks from the CLI."
---
<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](/features/subagents). Sub-agents run in parallel for read-only research and return focused reports to the main agent.
See the [SDK Multi-Agent Teams guide](/sdk/guides/multi-agent-teams) for the programmatic API.