Anthropic guide: fold most subagents back into one main agent loop with on-demand skills and tools; one customer ran about 2x faster
On 2026-10-22, Anthropic's Applied AI team published "Building agents: When to fold subagents into your main agent loop" on claude.com, along with an open-source reference implementation, anthropics/single-agent-loop-kit. The article says that across several enterprise deployments, a single agent with skills frequently beat both the one-big-prompt design and the subagent design on quality, often at lower cost and latency per task; one customer that swapped its multi-agent harness for a single loop saw roughly 2x faster runtime. Anthropic also says it cut Claude Code's system prompt for more advanced models by over 80%. Subagents still make sense in three cases: measurable context bloat, parallel tasks with disposable context, or trouble selecting tools and conflicting instructions. The piece has drawn wide discussion on X over the past two days.
Key Takeaways
- Original article: Building agents: When to fold subagents into your main agent loop, dated 2026-10-22 on the page
- Customer result (vendor-reported): one customer comparing its multi-agent harness with a single agent loop saw roughly 2x faster runtime with the single loop
- Anthropic says it cut Claude Code's system prompt for more advanced models by over 80%, partly by progressively disclosing skills and tools
- Keep subagents in only 3 cases: measurable degradation from context bloat, parallel tasks with disposable fresh context, or difficulty choosing tools and conflicting system-prompt instructions
- Companion open-source single-agent-loop-kit migrates in three steps (measure, combine, fold); Anthropic suggests starting with an end-to-end eval of as few as 10 golden examples

