Skip to content

Claude Code Agent Teams: 3 Questions Before You Turn Them On

  • Claude Code
  • Agent Teams
  • Subagents
On this page

Claude Code agent teams turn your solo Claude into a small squad that messages itself. Tempting, and most people should leave the switch off for now. Three questions below tell you if you need one.

An agent team is one lead session plus teammates. Each teammate is its own Claude Code session with its own context window. They share a task list and message each other directly. The feature is experimental and off by default, and one setting turns it on. Use a team for parallel, independent work. For sequential tasks or edits to the same files, a single session or a subagent is the better pick.

Disclosure: Skillpack, the site you're reading, is a tool to share skills with your whole team. The facts here come from the Claude Code docs on agent teams as they stood on December 2, 2026.

What are Claude Code agent teams, in plain words?

An agent team is several Claude Code sessions working on one job. One session is the lead, and it hands out tasks and pulls the results together.

The teammates work independently. They claim work from the shared task list and talk to each other directly. You can talk to any teammate too, without going through the lead.

SubagentTeam
Who talks to whomResults return to the caller; main agent manages all workTeammates message each other directly; self-coordination
Best useFocused tasks where only the result mattersComplex work requiring discussion and collaboration
Token costLower token costHigher token cost

If the basics are still fuzzy, sort out skill or subagent first.

Do you actually need a team?

Probably not today. Even the docs tell you to check, before you set up a team, whether a lighter option does the job. Three quick questions settle it.

  1. Can the work split into independent pieces? Teams work best when teammates can operate independently. Sequential tasks and work with many dependencies go better in a single session or with subagents.
  2. Is it research or review? That's where the docs send newcomers: tasks with clear boundaries and no code to write, like reviewing a PR or investigating a bug. If everyone would edit the same files, skip the team.
  3. Is it worth many more tokens? A team burns significantly more tokens than one session would, and the count climbs with each active teammate. For routine work, one session is the more cost-effective choice.

One "no"? Stay solo, or send a subagent.

Ready to try it?

You need one setting and one prompt. Add this to your settings.json:

json
{
  "env": {
    "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
  }
}

Then open a regular interactive session. In non-interactive mode with the -p flag, Claude doesn't spawn teammates. Describe the job and the teammates you want. Here is the docs' own example:

I'm designing a CLI tool that helps developers track TODO comments across their codebase. Spawn three teammates to explore this from different angles: one on UX, one on technical architecture, one playing devil's advocate.

Look at its shape. It's a research job, split into roles that can work independently.

Keep the squad small. The docs suggest starting with 3 to 5 teammates for most workflows, and add: "Three focused teammates often outperform five scattered ones."

Your teammates show up in a panel below the prompt. The up and down arrows select one. Enter opens its transcript and lets you message it directly.

What changes once it's on?

Teams can form when you didn't ask for one. While the setting is on, a subagent that Claude names launches as a teammate. Claude names ordinary subagents on its own, and Claude Code doesn't ask you to confirm the launch. A token-hungry squad can assemble during plain old delegation.

The off switch is the same line with "0". You don't need a new session. The next subagent Claude names launches as a subagent again.

More fine print before you flip it:

  • /resume and /rewind do not restore teammates running in the default in-process mode. After a resume, the lead may message teammates that no longer exist. Tell it to spawn new ones.
  • Sometimes the lead starts implementing tasks itself. The docs' reply: "Wait for your teammates to complete their tasks before proceeding".
  • Two teammates editing the same file leads to overwrites. Give each teammate its own set of files.

Why do skills matter more with a team?

Skills are part of what a new teammate starts with. When it spawns, a teammate loads the same project context as a regular session: CLAUDE.md, MCP servers, and skills. The lead's conversation history does not carry over.

So whatever you explained to the lead in chat stays with the lead. A teammate gets the files and the spawn prompt. Know-how every teammate should share belongs in a skill or in CLAUDE.md, and task details go in the spawn prompt. New to skills? Start with what a SKILL.md file is.

Stan Girard, who writes this blog, has between 5 and 25 agents running at the same time per project, in his own setup rather than this feature.

You can also add a check before a teammate clocks out. Hooks can act as quality gates. TeammateIdle runs when a teammate is about to go idle, and TaskCompleted runs when a task is being marked complete.

One Claude or a squad? Start solo. When a research job splits cleanly, flip the setting and keep the "0" within reach. Either way, put the know-how in skills, then share your skills with your team. Skillpack is a tool to share skills with your whole team, and you can create a free Skillpack workspace once yours are worth passing around.

Are Claude Code agent teams free?

Claude Code agent teams are switched on with a setting, and the cost the docs name is tokens. Agent teams use significantly more tokens than a single session, and token usage scales with the number of active teammates. For routine tasks, the docs call a single session more cost-effective.

What is the difference between agent teams and subagents?

Subagents return their results to the caller, and the main agent manages all the work. In agent teams, teammates message each other directly and coordinate themselves. Per the docs, subagents fit focused tasks where only the result matters, at a lower token cost, and agent teams fit complex work requiring discussion and collaboration, at a higher token cost.

Can a teammate spawn its own team?

No, a teammate cannot spawn its own teammates. The Claude Code docs list 'no nested teams' among the current limitations: only the lead can manage the team, and a session has one team.