Imagine you could clone your best engineer five times. Each one with a different angle on the same problem. And, on top of that, they could argue among themselves until they converged on the best solution.
That is exactly what Agent Teams does in Claude Code. And you can use it today.
What Agent Teams are
Agent Teams is an experimental system (Claude Code v2.1.32+) that lets you coordinate multiple independent Claude instances working in parallel on the same repository.
- One session acts as the lead
- The rest are teammates
- Each one has its own context
- They talk to each other
- They split up tasks automatically
It is not a pretty wrapper around an API. It is real agent orchestration.
How to enable it
It is off by default.
1. Find your configuration in ~/.claude/settings.json. If it does not exist,
create it.
2. Enable the feature:
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
}
}
3. Optionally, enable visual mode:
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
},
"teammateMode": "tmux"
}
With tmux or iTerm2 you get multiple panes. On Windows it is better to use in-process.
4. Restart. This is key: it does not apply on the fly. Close and reopen your sessions.
5. Try it:
Create an agent team with 3 teammates to investigate the authentication architecture of this project.
If everything is in order, Claude orchestrates the team automatically.
Subagents versus Agent Teams
This is where the confusion usually starts.
Subagents are executors: they are launched from the main agent, run a task, return a result and do not talk to each other. They are perfect for atomic tasks.
Agent Teams are a real team: a shared task list, direct communication between agents, self-assignment of work, independent contexts and the option to require plan approval. This is already distributed collaboration.
When to use each
Use subagents when you need a specific answer, the task is simple and you want to keep token cost down.
Use Agent Teams when you need multiple perspectives, there is technical debate —security, performance, testing—, the problem can be split by domain, and you want convergence, not just execution.
Use cases that work really well
Parallel code review. Security, performance and test coverage: each agent analyses from its own angle.
Hypothesis-driven investigation. Launch several agents with different theories and have them refute each other. The result is real critical thinking.
Parallel development. Split modules and assign teammates. More speed without losing coherence.
Best practices
- Give full context when creating the team
- Start with 3–5 agents
- Keep them from editing the same file
- Require plans for critical tasks
- Monitor and redirect periodically
Current limitations
- No resume for teammates
- Tasks can fall out of sync
- Only one team per session
- No nested teams
- Split-pane issues in some environments
It is experimental. And it shows.
The really interesting part
The powerful thing is not launching several agents. That is trivial.
What is interesting is the model: a shared task list, file locking, messaging between agents, dependencies between tasks, quality gates.
It is a distributed system. And like every distributed system, the value is not in the pieces, but in how they are orchestrated.
