Skip to main content
Mythos

Claude Code Swarm Mode

Claude Code Swarm Mode (officially called Agent Teams) is a 📝multi-agent orchestration system built into 📝Claude Code by 📝Anthropic. Initially feature-flagged off, the system was found by the developer community through code analysis, as the developer blog paddo.dev reported in January 2026; Anthropic introduced agent teams as a research preview alongside Claude Opus 4.6 on February 5, 2026. Agent Teams transform Claude Code from a single AI assistant into a coordinated multi-agent system.

As of October 2026, Agent Teams remain experimental and disabled by default; setting CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 turns them on, after which Claude spawns teammates when asked and any subagent it names launches as a teammate. Teammates run in-process or in tmux or iTerm2 split panes (the teammateMode setting), cannot spawn teams of their own, and share the lead's checkout rather than separate worktrees. Lighter options are 📝Claude Code Subagents and 📝Claude Code Cross-Session Messaging; 📝Claude Code Multi-Agent Orchestration compares every approach.

How It Works

The primary Claude Code agent can spawn specialized teammate agents and delegate work through natural language instructions. Each teammate runs in its own context window with:

  • Independent sessions — each teammate is a full, independent Claude Code session that loads the project's CLAUDE.md, MCP servers, and skills; it starts in the lead's permission mode, and its permission requests go to the lead
  • Shared task list — coordination primitive for tracking what's assigned and what's complete
  • Peer-to-peer messaging — agents can communicate directly with each other, not just with the orchestrator
  • Lock-protected task claiming — file locks stop two teammates from claiming the same task at once; they do not stop two teammates editing the same file, so work must be partitioned by file

This enables parallel task execution: one agent refactors the backend while another updates tests while a third writes documentation — all coordinated through the shared task list.

How It Compares to Sub-Agents

Claude Code already supported sub-agents before Agent Teams. The difference:

  • Sub-agents receive a task, complete it, and return a result to the caller, with the main agent managing all work. As of November 2026, sub-agents that Claude names when it spawns them can also message each other, but they share no task list
  • Agent Teams add coordination primitives. Shared task lists, peer messaging, and file locks make them suitable for tasks where agents need to be aware of each other's work

For most tasks, sub-agents are sufficient and simpler. Agent Teams are valuable when teammates need to share findings, challenge each other, and coordinate on their own — research and review, new modules or features, debugging with competing hypotheses, and changes that span frontend, backend, and tests.

Connection to BrianBot

📝Brian Bot's 57-agent system (as of April 2026) predates Agent Teams, using 📝OpenClaw's session spawn system for orchestration; as of July 2026, BrianBot is migrating from OpenClaw to the 📝Hermes Agent runtime. Agent Teams represents Anthropic building native multi-agent coordination into Claude Code itself — validating the pattern that practitioners like Brian have been running in production. The coordination primitives (shared task lists, peer messaging, file locks) mirror what BrianBot built with custom infrastructure.

As Agent Teams matures, it may complement or partially replace OpenClaw's orchestration for 📝Claude Code-native workflows, while OpenClaw continues handling multi-channel agent coordination (Slack, WhatsApp) that Agent Teams doesn't address (written April 2026).

When Agent Teams leaked, my first reaction was recognition — Anthropic built the same coordination primitives I'd been running in 📝Brian Bot for months. Shared task lists, peer messaging, file locks. The patterns are the same because the problems are the same. At scale, 📝multi-agent orchestration is a coordination problem, not an AI problem. Anthropic discovered this the same way I did: by building it.

Contexts

MythOS is a product of Cooperating Citizens of One, Inc.

TermsPrivacyRefundsSub-processorsContact

© 2026 Cooperating Citizens of One, Inc. · MythOS since 2017 · Not affiliated with Anthropic.