Delegating work to subagents
For engineers
Delegating search, review and implementation to focused subagents with their own context, tools and model
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
What is the main context benefit of delegating a broad code search to a subagent?
Check yourself · 2 of 5
Which tool list fits a subagent whose only job is to review a diff?
Check yourself · 3 of 5
What is a safe rule for splitting work across parallel worker agents?
Check yourself · 4 of 5
Why must a subagent brief be self-contained?
Check yourself · 5 of 5
A worker was told to fix one function and the diff shows 11 changed files. Which failure is this?
Topics
- When a subagent beats one long session4 min read · Fresh context, isolated noisy searches and parallel breadth, against the extra tokens and lost shared understanding
- Defining a subagent's role, tools and model5 min read · The definition file: a narrow role, a tool allow-list, a model choice and an output contract
- Orchestrator and worker delegation patterns5 min read · Explore, plan, implement and review splits, fan-out over independent areas, and when workers must not share files
- Writing subagent briefs and checking their results5 min read · Self-contained briefs with goal, scope, acceptance and return format, and verifying what the subagent claims it did
- Overspawning, drift and lost context in subagents5 min read · Token multipliers, lossy summaries, conflicting edits, workers that drift from the brief and parents that trust them blindly
Start here
- Create custom subagents (Claude Code docs) (opens in a new tab)DocsFree
How a subagent file sets its description, tools and model, and how the parent delegates to it.
- How we built our multi-agent research system (Anthropic) (opens in a new tab)ArticleFree
Reports the gain from parallel subagents and the roughly 15x token cost, plus lessons on briefs and effort.
- Custom agents in VS Code (opens in a new tab)DocsFree
The same idea in another tool: a custom agent with its own instructions and tool list.
Helps to know first
110 questions · last verified 2026-12