Claude Code sub-agents

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Developers can now force parallel sub-agent execution in Claude Code with a single instruction, cutting long documentation or analysis tasks from sequential to a couple of minutes.

Read this as

Claude Code, Anthropic's command-line coding assistant, can spawn separate mini-assistants called sub-agents to handle parts of a job independently. Simon Willison found you can trigger this simply by adding 'Use sub-agents' to your request. It used five parallel sub-agents to document templates in the Datasette project, finishing in about two minutes. Each sub-agent starts with a fresh context, avoiding overloaded conversations.

A practical productivity trick for teams already using Claude Code: instructing it to 'use sub-agents' makes it dispatch parallel worker agents, here producing comprehensive documentation for Datasette's templates in roughly two minutes. Costs are notable, sub-agents burned 55k-116k tokens each. Anthropic benefits as this showcases an existing capability rather than requiring new purchases; competitors' coding agents lack an equivalent one-line trigger.

Claude Code sub-agents run separate agent loops with fresh token contexts that report back on completion. Willison verified this by prompt alone ('Use sub-agents') against simonw/datasette commit ec38ad37689f. Five parallel Task invocations documented template contexts, each consuming 55.4k-116.1k tokens over 12-26 tool uses and 1m13s-1m55s. Benefits: parallelism and context isolation.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Claude Code Datasette Simon Willison Anthropic

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading