A sub-agent is a scoped agent that a parent agent delegates a specific task to.
Decomposing work into sub-agents keeps each one's context focused and its tools limited, improving reliability and safety. The parent orchestrates, passes a clear task, and consumes the result. This is a common pattern for large or multi-step jobs.