Sub-agents and deep research: how an agent splits the work
An agent does not have to do a big job alone. It can break the job into parts and send other agents, sub-agents, to do one part each with a fresh mind. Then it collects what they found, checks it and gives you the final picture.
Why a fresh agent does better work
Every agent has a limit to how much it can hold in mind at once: its context. On a long job with many steps that fills up with pages it read, files and half-finished thoughts. The fuller it gets, the easier it loses the point.
A sub-agent starts clean. It gets only the instructions for its own part, does the work and comes back with just the conclusion. In Claude Code, each sub-agent runs in its own context, and several can run in the background while you keep working with the main agent. For me, this idea changed how I work with AI.
Where is it worth it? Anywhere the road ahead is long:
- Deep research on one topic, from many sources at once.
- Market research: competitors, prices, what customers say.
- Client research before a sales call.
- A deep audit, for example of a large pile of files or data.
A real example: this Academy
Before we built the page you are reading, we wanted to know what works for a lesson: dark or light background, how big the text should be, what other academies do, what makes a text look written by AI.
I asked my agent to research it. It did not do it alone. It sent four sub-agents running Sonnet, each with one topic: Greek and European academies, international academies, research on how easily text is read, and the tells that give away AI writing. They worked in parallel. Then an agent running Opus read what they brought back, checked the sources and wrote the final decisions. That is why the text here is large and the background dark.
It saves money too
Bigger models cost more per word. If you are working with a top model on a strategy, you do not want its context filled with a hundred pages of research. You tell it to hand the legwork to cheaper models like Sonnet and keep the planning and checking for itself. Or you put a separate agent, an Opus, in charge of checking.
There are many possible mixes, and everyone finds their own. Just remember: every agent you send uses up your allowance too, so keep sub-agents for the jobs that really need them. The words used here are all in the AI agent glossary.
Next lesson: Which AI model for which job.