Earlier this week, kieranklaassen ran a simple command:
strings ~/.local/share/claude/versions/2.1.19 | grep TeammateTool
What came back wasn’t a stub or placeholder. It was a fully-implemented multi-agent orchestration system hiding inside Claude Code’s binary. Feature-flagged off. Waiting.
What They Found
TeammateTool isn’t experimental scaffolding. It’s 13 operations with defined schemas, directory structures, and environment variables. The full system:
Team lifecycle:
spawnTeam/discoverTeams/cleanuprequestJoin/approveJoin/rejectJoin
Coordination:
write(direct message) /broadcast(all teammates)approvePlan/rejectPlan
Graceful shutdown:
requestShutdown/approveShutdown/rejectShutdown
The directory structure is already defined:
~/.claude/
├── teams/{team-name}/
│ ├── config.json
│ └── messages/{session-id}/
└── tasks/{team-name}/
Environment variables too: CLAUDE_CODE_TEAM_NAME, CLAUDE_CODE_AGENT_ID, CLAUDE_CODE_AGENT_TYPE. This isn’t “we might build this someday.” This is “we built it and turned it off.”
Two functions control access: I9() && qFB(). Both must return true. In the public release, they don’t.
The Pattern Repeats
This isn’t the first time Anthropic has productized community workarounds. Before TeammateTool existed, developers built their own multi-agent solutions: claude-flow for swarm orchestration, ccswarm for git worktree isolation, oh-my-claudecode with five execution modes.
The community proved the demand. Anthropic absorbed the pattern.
Now mikekelly’s claude-sneakpeek lets you access the native version early:
npx @realmikekelly/claude-sneakpeek quick --name claudesp
Run claudesp instead of claude and you get:
- Swarm mode: Native multi-agent orchestration via TeammateTool
- Delegate mode: Task tool spawns background agents
- Team coordination: Messaging and task ownership
Completely isolated from your main install. Separate config at ~/.claude-sneakpeek/claudesp/.
What Multi-Agent Actually Looks Like
The Hacker News thread surfaced real implementations. One developer built a nine-agent system:
— HN commenter describing their setupManager (Claude Opus 4.5): Global event loop that wakes up specific agents based on folder (Kanban) state. Architect for design specs. Dev pair using TDD. A CAB agent as quality gatekeeper.
The patterns emerging:
- Leader: Hierarchical task direction
- Swarm: Parallel processing of similar work
- Pipeline: Sequential multi-stage workflows
- Council: Multi-perspective decision-making
- Watchdog: Quality monitoring and oversight
If these sound familiar, they should. Compare to Gastown’s operational roles: Mayor orchestrates, Polecats execute in parallel, Witness and Deacon monitor, Refinery manages merges. The architecture is nearly identical.
This is Anthropic productizing Yegge twice. First Beads became Tasks, with Anthropic explicitly crediting Yegge’s work. Now Gastown’s multi-agent coordination is becoming TeammateTool. The operational roles, parallel execution, external state management: same primitives, native implementation.
Why It’s Gated
Feature flags exist for reasons. Anthropic likely has concerns about:
- Cost: Multi-agent means multiplied API calls. Billing complexity.
- Stability: Coordinating agents is hard. Race conditions, message ordering, graceful degradation.
- Safety: Multiple autonomous agents with file system access need careful controls.
- Support: “My swarm deleted my repo” is a support ticket nobody wants.
These are unofficial builds using undocumented features. They could break with any update. Anthropic hasn’t blessed this.
The Contested Effectiveness
Not everyone’s convinced multi-agent is the answer. The HN discussion had sharp disagreement:
Critics called it “manual implementation of prompt routing” that just repackages context management. Supporters argued task isolation and specialized context windows genuinely improve output quality.
The honest take: multi-agent adds complexity. Whether that complexity pays off depends on the task. Focused scopes and reduced context help. Architectural overhead for its own sake doesn’t.
What This Tells Us
The gap between what Anthropic ships and what Anthropic builds is telling. They’ve already solved multi-agent coordination at the protocol level. The TeammateTool schema is clean. The directory structure is sensible. The operations cover the full lifecycle.
This isn’t R&D. It’s finished code waiting for product decisions.
When it ships officially, you’ll get:
- Native swarm orchestration without third-party tools
- Background agents that coordinate through defined protocols
- Team-based task ownership and messaging
The future of AI coding tools is multi-agent by default. Anthropic knows it. They just haven’t told us yet.
Try It Yourself
If you want to explore the hidden system:
- Verify it exists:
strings ~/.local/share/claude/versions/2.1.19 | grep TeammateTool - Read the full schema: Piebald-AI/claude-code-system-prompts
- Try the unlocked build: claude-sneakpeek
Or wait for Anthropic to flip the switch. Based on how complete this system is, it probably won’t be long.


