Sub-Agents Pattern

Use sub-agents to scale work without inflating the orchestrator's context. Learn the orchestrator-worker pattern, sub-agent specifications (system prompt, tools, model), parallel vs sequential sub-agent invocations, result aggregation, the cost / context trade-off, and the design pattern of using cheap models (Haiku) for sub-agents and a strong model (Opus) for the orchestrator.

6
Lessons
📋
Templates
Practitioner-Ready
100%
Free

Lessons in This Topic

Work through these 6 lessons in order, or jump to whichever is most relevant.