-
Notifications
You must be signed in to change notification settings - Fork 7
Sub Agent Model
github-actions[bot] edited this page Feb 27, 2026
·
2 revisions
Each sub-agent runs on an optimized model for its task type:
| Model | Usage | Examples |
|---|---|---|
opus |
Complex reasoning, architecture | Code review, design analysis |
sonnet |
General tasks (default) | Agent creation, code generation |
haiku |
Fast, simple operations | File search, validation |
Claude Code selects the appropriate model and parallelizes independent tasks (up to 4 concurrent sub-agents):
/create-agent
|-- mgr-creator:sonnet - agent scaffolding
+-- mgr-supplier:haiku - dependency check
/code-review
|-- lang-golang-expert:sonnet - Go implementation
|-- lang-python-expert:sonnet - Python implementation
+-- qa-engineer:sonnet - test generation
See also: Customization | Agents