Agent Teams (Claude Code)
Claude Code can spawn parallel subagents via the Agent tool: each agent forks a fresh context, works in isolation, and reports back to the orchestrator. Typical patterns: orchestrator + N specialized workers, sequential pipeline, simultaneous multi-perspective analysis.
Strengths
- Native parallelization, N sub-problems → N simultaneous agents, same total duration
- Fresh context per agent, each specialist sees the code without main-session noise
- Multi-perspective analysis in one batch: security + perf + types + accessibility
- Background sub-agents: 3 concrete use cases, parallel multi-source research, memory updates in background, long test runs without blocking the main session
Limitations
- Token cost proportional to agent count, ~3-5× more expensive than solo agent
- Edit conflict risk if agents aren't scoped to distinct files
Best for
- Multi-angle codebase audit (security, perf, quality, tests) in one single run
- Complex feature requiring an orchestrator + several specialized workers