Patterns · Vol. 09

Pattern

Claude Agent SDK — subagents

Provide a primitive where a main Claude agent can spawn specialized subagents — sub-instances of Claude with focused prompts and constrained tool sets — to handle delegated sub-tasks, with the subagent's context isolated from the main agent's and its output returned as a structured result.

Classification — Sub-instance spawning pattern for hierarchical agent delegation.

Full entry

The complete treatment — problem, how it works, when to use it, sources, and examples — lives in the volume below.

Browse the full pattern index or the catalog.