Peter Zhang
Apr 07, 2026 21:04
Claude Code’s new subagent system lets builders parallelize coding duties and run unbiased AI critiques. This is when the function really helps.
Anthropic has rolled out detailed steering on subagents inside Claude Code, its AI-powered improvement setting. The function lets builders spawn remoted AI cases that deal with analysis, code assessment, and parallel modifications with out cluttering the principle dialog’s context window.
Consider subagents as disposable specialists. Every one will get its personal context, does a job, and returns solely the outcomes. The principle session stays clear.
When Subagents Truly Assist
The framework shines in particular situations. Analysis-heavy duties that require studying dozens of recordsdata profit from delegation—a subagent explores and synthesizes slightly than dumping uncooked content material into the dialog. Unbiased modifications throughout a number of recordsdata can run concurrently, reducing completion time roughly in thirds.
Contemporary perspective issues too. A subagent reviewing code does not inherit the assumptions from the implementation dialogue. It catches what familiarity obscures.
Anthropic suggests a easy heuristic: if a process requires exploring ten or extra recordsdata, or entails three or extra unbiased items of labor, subagents are well worth the overhead.
4 Methods to Invoke Them
Builders can set off subagents by pure language (“Use a subagent to discover how authentication works”), outline reusable customized brokers in markdown recordsdata, set insurance policies in CLAUDE.md that robotically route sure duties, or configure hooks that fireside on particular occasions like commits.
The customized agent strategy stands out for groups. A safety reviewer outlined as soon as turns into obtainable throughout all classes, robotically catching code touching auth or funds. The configuration lives in .claude/brokers/ and may specify read-only permissions for security.
The place They Do not Match
Subagents aren’t universally higher. Sequential work the place every step is determined by the earlier runs extra cleanly in a single session. Identical-file edits from parallel brokers create conflicts. Fast fixes do not justify the spin-up overhead.
Anthropic additionally warns towards creating too many specialist brokers—it confuses the automated delegation system. A handful of well-scoped choices beats a sprawling roster.
For duties requiring coordination between brokers slightly than unbiased operation, the corporate factors builders towards its separate “agent groups” function, although that carries increased prices.
The steering displays Anthropic’s broader push to make Claude Code viable for advanced enterprise codebases the place context administration turns into the bottleneck.
Picture supply: Shutterstock

