Claude Code v2.1.217 caps concurrent subagents and enforces budget halts

Anthropic

Tools official 1 src. ~1 min

Following v2.1.216, Claude Code v2.1.217 (released July 21, 2026) adds a default cap on concurrently-running subagents (20, overridable via CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS) with nested-subagent spawning now off by default, and makes --max-budget-usd actually halt running background subagents once the cap is hit.

Why it matters

Tightens safety/cost controls around Claude Code's autonomous subagent fan-out, addressing a real risk (unbounded agent spawning, budget overrun) as agentic coding workflows scale.

Importance: 2/5

Notable update continuing yesterday's release; concurrency/budget controls are a real but incremental change.

Sources