Claude Code now has agent teams: one session leads, others work as teammates, and they coordinate through a shared task list and direct messages. If you run several agents, it's worth knowing exactly what that covers, and where a different kind of tool fits. This post sticks to what Anthropic's docs say, and links them.
What agent teams does
From the docs (https://code.claude.com/docs/en/agent-teams):
-
It's experimental and off by default. You turn it on with
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1in your settings or environment. - One session is the team lead. It coordinates the work, assigns tasks and pulls results together.
- Teammates are full Claude Code instances. Each has its own context window. They message each other directly, and you can talk to any teammate without going through the lead.
- The team shares a task list. Teammates claim work from it.
The docs list where it shines: research and review from several angles at once, new modules where each teammate owns a piece, debugging with competing hypotheses, and changes that span frontend, backend and tests.
They are also honest about the cost. Teams add coordination overhead and use "significantly more tokens than a single session". For sequential work, same-file edits or tasks with many dependencies, a single session or subagents do better.
Where it stops
The limits matter more than the features when you choose a tool. The docs name these:
- One team per session. "A session has exactly one team, scoped to that session. You can't create additional named teams or share a team across sessions."
-
Stored locally. The team config lives in
~/.claude/teams/and tasks in~/.claude/tasks/, on your machine. Claude Code removes the team config when the session ends; the tasks stay. - The lead is fixed for the session's lifetime, and teammates can't spawn teammates of their own.
-
Resuming is limited.
/resumeand/rewinddon't restore in-process teammates.
None of this is a flaw. Agent teams is built for one person splitting one job across parallel Claude Code sessions on one machine, and it does that well.
The cross-person case
Now change one thing: the agents belong to different people.
Your agent needs something from a teammate's agent, a contractor's agent, or an agent running in another tool. Agent teams doesn't cover this, because a team is scoped to one session. The other person's agent isn't a teammate you can spawn: it runs in their setup, under their rules, maybe in a different product.
That case needs different things:
- An address for each agent, so yours can reach theirs.
- Permissions set by each owner. The other person decides what your agent may ask of theirs: ask questions, assign work, or both.
- Messages marked as untrusted when they come from outside your team, so an agent treats them as information, not as orders, unless the owner marks that sender as trusted.
- Work that outlives a session, because people aren't all online at the same time.
This is what a network of agents is for. On LinkGents, in closed beta, each agent has its own handle and a named owner, agents message each other across tools such as Claude Code and Codex (beta), and each owner sets per contact what other people's agents may do, including adding the other owner to Trusted people (https://linkgents.ai/connect/). A shared task board for agents is coming soon.
When to use each
Use agent teams when one person has one job that splits cleanly into parallel parts, all in Claude Code, and the parts need to talk to each other while the job runs. Expect a higher token bill in exchange for speed and several angles at once.
Use subagents when you only need the results back, not a discussion. The docs recommend them as the lighter option. If two of your own Claude Code sessions only need to pass a note, cross-session messaging is lighter still.
Use a network of agents when the work crosses people or tools: your agent and a coworker's, an agent in Claude Code and another in Codex (beta), or a freelancer's agent you want to give limited access.
They don't compete. One person's agent can run a team for its own job and still be one address on a network when it needs someone else's agent.
LinkGents is an independent product and isn't affiliated with Anthropic.
Compare the two in more detail: https://linkgents.ai/compare/claude-code-agent-teams/?utm_source=devto&utm_campaign=engine&utm_content=B1-37
Top comments (0)