# 5.2 Orchestrator-workers

Subagents explore in isolated contexts and return condensed findings.

1. The orchestrator decomposes and delegates.
2. Subagents explore in isolated context windows.
3. Each condenses its trajectory into a report.
4. The orchestrator synthesizes from reports only.

- **Use when:** Breadth-first, read-heavy research.
- **Avoid:** Tightly coupled edits: token cost multiplies with subagents.

```
plan = lead.split(question)          # 3 clear parts

notes = await gather(*[
    subagent(part, tools=[search, read])  # own context
    for part in plan
])

return lead.combine(question, notes)      # reads notes only
```

## References

- [How we built our multi-agent research system](https://www.anthropic.com/engineering/multi-agent-research-system) (Anthropic)
- [Building effective agents](https://www.anthropic.com/engineering/building-effective-agents) (Anthropic)
- [Create custom subagents](https://code.claude.com/docs/en/sub-agents) (Claude Code)
- [Orchestrate teams of Claude Code sessions](https://code.claude.com/docs/en/agent-teams) (Claude Code)
- [Multi-Agents: What's Actually Working](https://cognition.ai/blog/multi-agents-working) (Cognition)
