Agents & Orchestration Advanced
Parallel File Processing
Process files concurrently using subagents that work in their own context windows
Command
"color:#9CA3AF;font-style:italic"># Agent teams (experimental): $ CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 "color:#7C5CFC">claude "color:#9CA3AF;font-style:italic"># Then describe the team: $ "I need 3 teammates: 1. Frontend dev "color:#7C5CFC">for src/components/ 2. Backend dev "color:#7C5CFC">for src/api/ 3. Test engineer "color:#7C5CFC">for tests/"
Response
// Team lead creates shared task list // Teammates claim and work on tasks independently // Inter-agent messaging via mailbox system // Press Shift+Down to cycle teammates, Ctrl+T for task list
Parsing Code
059669">">// Subagents vs Agent Teams: 059669">">// Subagents: report to parent, results summarized back 059669">">// Teams: peers that message each other, shared task list 059669">">// Teams cost ~7x more in plan mode due to coordination overhead
Gotchas
! Agent teams require CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 environment variable
! Subagents have their own context windows — verbose results don't pollute the main context