I ran Claude Code agent teams on Windows: 1.7x the cost of subagents, and they never form in claude -p
Originally published at its-tahir.com . I turned on Claude Code's experimental agent teams on Windows 11 and ran the same small task as a two-teammate team and as two subagents. Here is how to enable them, how they differ from subagents, and what each run cost. Claude Code agent teams let one session, the lead, start several named teammates: each teammate is its own Claude Code session, and they…
Claude Code's experimental agent teams feature allows one session to start several named teammates, each working as a separate Claude Code session. These teammates share a task list and can message each other to coordinate. The feature is experimental and off by default, requiring the CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS environment variable to be set to 1 in order to enable it.
Once enabled, the agent panel allows you to create a team by describing the teammates and their tasks. The teammates operate as full Claude Code sessions, sharing context windows and communicating directly with each other. This is different from Claude simply delegating tasks to subagents, which are smaller helper sessions that return a single result.
The key benefits of agent teams include parallel work on separate modules, debugging with competing hypotheses, and changes that span multiple areas of development. However, there are some considerations to keep in mind. For example, the lead agent gives teammates default paths on Windows, which can cause issues if relative paths are used.
Also, shutdown does not always confirm properly, which is a known limitation. Overall, agent teams offer a powerful way to coordinate multiple Claude Code sessions, but careful setup and awareness of potential issues are necessary for successful implementation.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to