Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.238 ·

Subagent spawns are counted in memory

Claude Code now counts how many subagents you spawn, but nothing shows you that number yet.

Under the hood Nothing to try yet Internal Changes
JSON All of v2.1.238
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SubagentsArea: what it touches
Internal ChangesKind: in v2.1.238,
Internal ChangesSection of the release

An in-memory subagent spawn counter with a snapshot accessor exists but has no surface in this build.

What

A counter now tracks subagent activity for the life of the process and exposes it as a snapshot, with no user-facing surface in this build.

Details
  • Records spawns by requested mode (background, foreground, unset), how many started in the background, maximum nesting depth, spawns made by other subagents, and counts per agent type.
  • Also records completions, failures, kills split into parent/user/system, and refusals split into depth limit, concurrency limit and budget.
  • An agentSpawned event fires on every spawn.
Evidence

spawned_by_subagents

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.238 →

Feedback