In short.
This Claude Code guide helps developers organize collaborating AI coding sessions, with experimental behavior and increased token use as the main tradeoffs. A lead coordinates independent teammates that exchange messages and, where Task tools are available, share a task list. The approach fits independent reviews, competing debugging hypotheses and changes divided across modules. Important catches include automatic plan approval in a documented scenario, permission inheritance, incomplete session recovery and task status that can lag. Exact monetary costs and measured improvements in speed or quality are unknown; nothing was executed or tested.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete supplied documentation text at [https://code.claude.com/docs/en/agent-teams.md], including its experimental warning, model and version notices, permission caveats, troubleshooting and limitations. Linked documentation, image contents, external repositories, pricing pages and legal terms are excluded. No setup, team operation, cross-platform behavior, performance claim or recovery procedure was executed or tested.
The overview
Identity
The resource is the Claude Code documentation guide at [https://code.claude.com/docs/en/agent-teams.md]. It teaches an experimental feature for coordinating multiple Claude Code instances through a lead session, independent teammates, messages and shared tasks.
The page is instructional documentation. It does not supply a separate application, installable agent definition or reusable software package.
Assessment
The guide gives concrete operational detail: enabling the feature, requesting teammates, choosing terminal displays, assigning work, controlling permissions and handling failures. Its strongest practical value is helping users decide when collaboration warrants the extra coordination and token use.
It is most relevant when workers can investigate or implement separate pieces independently. Sequential work, frequent dependencies and edits to the same files reduce that fit. The page supplies examples and recommendations, but no comparative measurements establishing faster completion or better results.
Users
Likely users include developers splitting changes across frontend, backend and tests; reviewers examining different quality concerns; and engineers investigating competing explanations for a bug. Research tasks can also benefit when teammates need to exchange and challenge findings.
Beginners get natural-language examples and terminal controls, although the guide assumes access to Claude Code. Experienced users get details about model precedence, agent definitions, hooks, permissions and local state. It recommends starting with research or review before coordinating simultaneous code edits.
Capabilities
The lead can spawn named teammates, assign work and synthesize findings. Teammates can communicate directly, receive further instructions and claim unblocked work when Task tools are available. Users can inspect and message teammates through the main terminal or separate panes.
Reusable subagent definitions can supply teammate roles, tools and models, with differences between display modes. Hooks can intervene when teammates become idle or tasks are created or completed.
Model selection normally considers the spawn prompt, the agent definition, CLAUDE_CODE_SUBAGENT_MODEL and then the lead's model. Mod hooks, forced model settings and organizational allowlists can change the outcome. A teammate's model and fast mode are fixed when it spawns.
Using it
Requirements
Spawning teammates requires an interactive Claude Code session and explicit enablement through CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1. Non-interactive sessions using -p, including Agent SDK sessions, do not spawn teammates even when the feature is enabled.
The default in-process display works in any terminal according to the page. Separate panes require tmux or iTerm2. Native iTerm2 panes require the it2 CLI and its Python API setting.
Shared task coordination depends on Task tool availability. The page does not establish account eligibility, complete installation requirements or a single minimum Claude Code version covering every documented capability.
Mechanism
Each teammate is a separate Claude Code session with its own context window. It receives the lead's spawn prompt and loads project context such as CLAUDE.md, MCP servers and skills. It does not inherit the lead's conversation history, so assignments need their own task-specific context.
Tasks can be pending, in progress or completed, with dependencies that unblock automatically. File locking prevents simultaneous task claims. Agents without Task tools coordinate through messages.
Mailboxes are JSON files under ~/.claude/teams/{team-name}/inboxes/. A message is reported sent only after its mailbox write succeeds. Team configuration is removed when the session ends, while task files under ~/.claude/tasks/{team-name}/ remain subject to retention settings. Runtime team configuration is generated automatically and should not be hand-authored.
Setup
Set CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS to 1 in the shell environment or the env object in settings.json. Then ask Claude explicitly for an agent team, describing each teammate's role and deliverable. The guide warns that Claude may create ordinary subagents instead; the agent panel alone does not establish which kind was created.
Keep the default in-process display initially, or configure teammateMode in ~/.claude/settings.json. The auto value selects supported split panes when available and otherwise falls back to in-process. The experimental claude --teammate-mode auto flag overrides the display for one session.
Enabling teams also changes ordinary delegation: a subagent that Claude names can become a teammate without an explicit team request. Setting the environment variable to 0 disables that behavior, although higher-precedence settings may override a user setting.
Example
An illustrative request is: Create an agent team with three teammates named security, performance and tests. Have each review the current change from its assigned perspective, exchange relevant findings and send a final report to the lead. Review only; do not edit files.
This follows the page's parallel review example while making roles and boundaries explicit. The lead would coordinate the reports, with shared tasks available where supported. This is a suggested starting task; no execution, review findings or measured improvement are established.
Assessment & evidence
Limitations
Agent teams are experimental and disabled by default. Resume and rewind do not restore in-process teammates. Task completion status can lag and block dependent work, shutdown waits for the current request or tool call, and agents may stop early after errors. Simultaneous edits to the same file can overwrite work.
Each session has one team and a fixed lead. Teammates cannot create nested teams. In-process teammates cannot run background subagents; requests may fail or run in the foreground. Split panes are unsupported in VS Code's integrated terminal, Windows Terminal and Ghostty.
Permission modes cannot be chosen separately at spawn time. An in-process teammate outside plan mode follows the lead's acceptEdits, auto or bypassPermissions mode even when its own display says Manual. A teammate spawned while the lead is in plan mode can have its plan automatically approved on arrival, without lead review, if its permission mode has remained unchanged.
Agent messages cannot supply user consent or authorize bypassing a denied action. Permission inheritance and command-line flag handling also differ by display mode and version.
Reasoning
The practical case for teams is strongest when separate investigations produce useful findings that teammates need to discuss. Independent context windows support distinct lines of inquiry, while messaging and task dependencies provide ways to reconcile them.
The same architecture creates overhead: teammates need sufficient starting context, separate work boundaries and supervision. Small tasks, tightly coupled changes and shared-file edits can cost more coordination than they save. These are architectural fit judgments supported by the guide, not measured productivity results.
Alternatives
The page recommends subagents for focused assignments whose main deliverable is a result returned to the caller, with lower token use than teams. Named subagents can also message each other, so messaging alone does not distinguish a team.
Cross-session messaging lets separately managed sessions exchange findings. Git worktrees support manually managed parallel Claude Code sessions. A single session remains appropriate for sequential or closely dependent work. These alternatives are described only to the extent covered on this page; their linked guides were not assessed.
Evidence
The evidence is the complete supplied text of the Claude Code guide at [https://code.claude.com/docs/en/agent-teams.md], captured on 13 November 2026. It includes setup instructions, architectural descriptions, examples, version notices, troubleshooting and explicit limitations.
The examples demonstrate intended usage in documentation, not observed outcomes. No commands were executed or teams launched. Performance, output quality, platform compatibility, recovery behavior and actual spending were not independently tested.
Access & freshness
Costs
The page says agent teams consume significantly more tokens than one session and describes token costs as scaling linearly with teammate count. Coordination adds further work. It supplies no monetary prices or measured spend for its examples, so exact cost is unknown.
In-process teammate requests have a five-minute prompt cache by default, including on subscriptions. Setting subagentPromptCacheTtl to 1h requests longer retention, and the page states that one-hour cache writes have a higher API price. Whether that setting reduces total spend for a particular workload is not established.
Rights
The supplied page does not state a documentation redistribution licence, Claude Code software licence or commercial-use terms. Those rights are unknown from this evidence. Links to other documentation and tool repositories do not establish their licensing terms.
Freshness
The capture timestamp is 2026-11-13T16:44:47.706Z. The supplied text does not establish its publication date or last update date. Experimental behavior and compatibility should be interpreted with the page's version-specific notices.
Examples include removal of teammateDefaultModel in v2.1.234, forced teammate model selection from v2.1.257, split-pane inheritance of --disallowedTools and --tools from v2.1.309, and split-pane startup permission behavior from v2.1.317. These notices describe particular changes rather than one minimum version for the entire feature. Compatibility with any reader's installed release is unassessed.
Actions
Start with a bounded review or research task whose roles can work independently. Give each teammate enough context, a clear deliverable and a predictable name. For implementation work, assign separate file ownership and inspect task status before dependent work begins.
Check the installed version and lead permission mode before spawning. For manual edit approvals with in-process teammates, set both the lead and teammate to Manual. Account for the documented automatic plan approval behavior when choosing an approval process.
Monitor progress, verify that the requested team actually formed and measure token use against a single-session baseline for your workload. Expect to create replacement teammates after session resumption and to resolve stale task status manually. Shut teammates down through the lead when their work is finished.
