Subagents
Subagents are specialized agents delegated by a parent/orchestrator agent to perform scoped tasks.
Why Subagents
- Split complex workflows into specialist tasks.
- Improve reliability with role-focused agent behavior.
- Parallelize work where safe and useful.
Typical Pattern
- Orchestrator receives a broad objective.
- Delegates sub-tasks to specialized subagents.
- Collects outputs and resolves conflicts.
- Produces consolidated final output.
Best Practices
- Keep subagent scopes narrow.
- Use shared specs/skills for consistency.
- Apply guardrails and approvals at orchestration boundaries.