Claude Code subagents vs agent teams
Subagents are workers inside one Claude Code session that do a task and report back to the main agent; agent teams are several separate Claude Code sessions that share a task list and message each other directly. Subagents cost fewer tokens and suit focused work; agent teams are experimental, off by default, and suit work where the workers need to discuss and coordinate.
Side by side
This comparison follows Claude Code's own documentation.
| Question | Subagents | Agent teams |
|---|---|---|
| Context | Own context window; results return to the caller | Own context window; fully independent |
| Communication | Return a result to the caller | Teammates message each other directly |
| Coordination | The main agent manages all the work | Self-coordination through messages and a shared task list |
| Best for | Focused tasks where only the result matters | Complex work that needs discussion and collaboration |
| Token cost | Lower: results are summarised back | Higher: each teammate is a separate Claude instance |
| Status | Generally available | Experimental, disabled by default |
How to turn agent teams on
Set the environment variable CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS to 1, in your shell or in the env block of settings.json. Without it, no team is set up and Claude does not spawn or propose teammates.
Two things change once it is on. Claude may name a subagent on its own, and a named subagent then launches as a teammate, so a team can form when you did not ask for one. And teammates need an interactive session: with -p, including Agent SDK sessions, a named subagent runs as an ordinary subagent.
When a team is worth it
Claude Code's docs name four strong cases:
- Research and review, where teammates investigate different aspects and challenge each other's findings.
- New modules or features, where each teammate owns a separate piece.
- Debugging with competing hypotheses, tested in parallel.
- Changes that span frontend, backend and tests, each owned by a different teammate.
For sequential tasks, edits to the same file, or work with many dependencies, the docs recommend a single session or subagents instead. Token usage scales with the number of active teammates, because each one has its own context window.
Define a role once, use it both ways
A subagent definition can be reused as a teammate. Define a role such as a security reviewer in .claude/agents/, and you can delegate to it as a subagent or ask Claude to spawn a teammate using that agent type. That makes the choice between the two cheap to change later: the role is the same file either way.
The lighter options in between
Before you set up a team, Claude Code's docs suggest checking whether something lighter does the job. Background agents run many independent sessions you monitor from one place, and cross-session messaging lets separate sessions you run yourself pass findings to each other, without the shared task list of a team.
Where Luros fits
Luros writes its agents as subagent definitions in .claude/agents/, so the same roles work as delegated subagents today and as teammates if you turn agent teams on.
We make Luros, so weigh this section accordingly. Everything above it stands on the sources below.
Luros is built for a founder with no marketing team, not for general agent set-up. If that is you, request an invite.
Request an inviteOne email. We will tell you when there is a place for you, and nothing else.
Questions people ask
- Are agent teams the same as subagents?
- No. Subagents run inside one session and report back to the main agent. Agent teams are separate Claude Code sessions, coordinated by a lead, that message each other and share a task list.
- Are agent teams enabled by default?
- No. They are experimental, and you enable them with CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1.
- Do agent teams cost more?
- Yes. Each teammate is a separate Claude instance with its own context window, so token usage scales with the number of teammates.
- Can I use my subagents as teammates?
- Yes. When you ask Claude to spawn a teammate, you can name a subagent type from your project, user, managed or plugin scope, and the teammate takes on that definition.
- Do agent teams work in headless mode?
- No. Spawning teammates needs an interactive session. In non-interactive mode a named subagent runs as an ordinary subagent.
Related guides
- Claude Code agents vs skills
- The best Claude Code agents
- AI marketing agents
- Every guide · Tool comparisons
Sources
- Claude Code docs: Orchestrate teams of Claude Code sessions, checked 25/11/2026
- Claude Code docs: Create custom subagents, checked 25/11/2026
Tools in this area change quickly. Every fact here comes from the sources above as they stood on the date shown; if one has moved on, the source is right and this page is out of date.