subagents
The tracked changes tagged subagents, newest release first. Every sentence is an item's summary.
Goes with
Changes
Claude Code v2.1.332
-
Fixed Bedrock sub-agents failing when no profile is listed for their model in the parent's region; they now use the model's own profile, which can be outside that region.
-
Fixed Ctrl+C at the prompt starting a new turn, and a double Ctrl+C not exiting, when a stopped background agent had an unread subagent report.
-
Fixed headless and cloud sessions reporting a foreground fork's Agent call as finished the moment the fork started.
-
Fixed subagents in Code Mode failing with Agent stalled and losing their command when a script ran over 10 minutes.
Claude Code v2.1.331
-
Changed the questions for stopping auto-connect in /ide and for /clear, /compact or /rewind in a subagent's view to list Yes first, so Down then Enter now answers No.
-
Fixed Claude not being told when permission rules on the Agent tool dropped its queued message to an ended subagent.
-
SubagentStop hooks now wait for the last reply in the transcript.
-
Fixed turns and subagents failing in cloud sessions, or timing out on long replies, when a reply went silent while thinking; Claude Code now retries the request once.
-
Fixed a Workflow agent's background shells and MCP servers sometimes staying running after it handed back its report.
+3 more
-
Fixed a permission rule on a subagent's model, such as Agent(model:*), blocking follow-up messages to a subagent started with no model named.
-
Windows: Fixed Remote Control clients showing no steps for a new subagent.
-
[VSCode] Fixed diff tabs opening out of order when several subagents wait for approval, and a later edit cancelling an earlier one.
Claude Code v2.1.330
-
Fixed an MCP server declared by subagents being shut down when one subagent finished while others or the session still used it.
-
Fixed a stopped background subagent sometimes not staying stopped.
-
Fixed Claude waiting for a background agent that was stopped just as it finished, in sessions run by an app or the SDK.
-
Fixed subagents' own subagents and forks running on the plan-mode model in plan mode under opusplan or haiku.
-
Improved Code Mode so the terminal freezes for far less time after a subagent's script makes thousands of tool calls.
+2 more
-
Changed a subagent's model fallback to carry over to agents with no model and their forks, and to the agents they start using its Bedrock region.
-
Subagent progress summaries in terminal sessions signed in to a Claude apps gateway are written from short notes instead of the full conversation, using far fewer tokens.
Claude Code v2.1.328
-
Token counts on the spinner and for subagents no longer count a retried reply twice, include non-streamed replies, and no longer stall while Claude thinks.
-
Effort is no longer turned off for a subagent's model when Bedrock, Agent Platform or Foundry refused its progress summary's effort setting; this regression in 2.1.327 is fixed.
-
Code Mode no longer offers write() and edit() to read-only subagents that cannot call them.
-
The model no longer says background agents are still running after an SDK interrupt has stopped them.
-
A message to a background agent shows the pasted image instead of a long file path in its place.
+3 more
-
Subagents in claude -p, the Agent SDK, desktop and VS Code wait for their own subagents by default when CLAUDE_CODE_FORK_SUBAGENT=0 is set.
-
With CLAUDE_CODE_FORK_SUBAGENT=0, claude -p counts a background subagent and those it waits for against one 10-minute wait; CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS raises it.
-
Subagent progress summaries in terminal sessions on the Anthropic API are written by the default small fast model from short notes, also with telemetry off, using far fewer tokens.
Claude Code v2.1.326
-
Subagents isolated in a worktree refuse some git commands in Bash that can rewrite branches shared with the checkout, in any repository.
-
A managed settings change makes the subagent model apply over user settings in Claude Desktop's Code tab, unless a provider or gateway is chosen.
-
The approval card for a subagent's plan now has two choices, and typed text moves to No.
-
A subagent's view shows an esc to stop footer hint where Esc would stop it.
-
The subagent model set in managed settings now applies in Claude Desktop's Code tab and overrides user settings, unless those settings also choose a provider or gateway.
+19 more
-
Background subagents in Code Mode no longer fail when they preload a skill with an inline ! command.
-
Terminal sessions no longer show idle on the phone while background subagents run; Stop on the phone or web ends them with the turn.
-
Subagents with Artifact in disallowedTools no longer get artifact tools in some cloud sessions.
-
The main conversation is told which agent a subagent reports to when that subagent messaged another subagent.
-
Background agents are no longer told a tool call was refused when a session ended by Ctrl+C twice at the exit dialog or after an interface crash.
-
Up and Esc no longer move the main conversation's queued messages into the prompt of a subagent or teammate being viewed.
-
Agent rows under the prompt show what a waiting agent is waiting on, and /tasks names the subagent behind each background command.
-
Stopped and failed agents no longer look running in the agent rows, and a stopped agent's last command no longer shows Running.
-
An opened background agent no longer shows a normal spinner while its requests are being retried.
-
The background agents launched line lists all agents when three or more start in one reply.
-
Subagent tool counts in auto mode no longer include the call that delivers the final report.
-
The welcome header outside fullscreen shows the viewed subagent's or teammate's model instead of the session model.
-
Images pasted while viewing a background agent are attached instead of arriving as the text [Image #1].
-
Workflow resume reports how many finished agent results were reused and where reuse stopped, instead of saying all were reused.
-
A first skill, command or agent created during a session is found right away.
-
Failed or refused skill and agent calls no longer show Initializing.
-
With more than 20 subagents running, token counts of background agents whose transcript is not open update every 5 seconds.
subagentscpu -
After Ctrl+C stops background agents, the footer offers ↓ to resume subagent while a stopped subagent is listed.
-
Improved how the subagent-plan approval card is chosen with arrow keys and Enter.
Claude Code v2.1.323
-
Added CLAUDE_CODE_DISABLE_AGENT_PROGRESS_SUMMARIES; setting it to 1 turns off subagent progress summaries and the requests that write them.
-
Fixed Claude being told automatic model switching is off when safeguards stopped a subagent whose model had no other model to switch to.
-
Fixed subagent progress summaries skipping an update when the reply took between 10 and 20 seconds.
-
Fixed the name label under permission and plan dialogs hiding part of some agent names.
-
Fixed the fullscreen header naming the effort level for a viewed subagent on a different model that the subagent does not use.
+7 more
-
Fixed terminal control sequences in a subagent message taking effect instead of displaying as plain text when expanded.
-
Fixed PreCompact, PostCompact, and post-compaction SessionStart hooks not receiving agent_id and agent_type when a subagent compacts.
-
Fixed /usage showing a whole-session percentage beside a subagent type name and saying sessions ran 8 hours when only hours with requests are counted.
-
Fixed desktop app sessions showing as idle on the phone while background subagents were still running in Remote Control.
-
Fixed OpenTelemetry agent.name showing a user-defined subagent name instead of custom when an official plugin skill launched it.
-
Improved memory use with many subagents by freeing a finished subagent's transcript sooner.
-
Removed the subagentStatusLine setting; subagent rows always use the default look, and settings files still containing the key load as before.
Claude Code v2.1.321
-
Auto mode no longer loses a background subagent's report that started a turn when the conversation was compacted before Claude answered it.
-
One request no longer carries far more background agent reports than intended after Claude was stopped while several were waiting.
-
Sub-agent progress summaries no longer run a request to its end after the model replies with a tool call.
-
Background agents are no longer reported as stopped by the user, or refused a resume, when a service interrupted a cloud session and nobody pressed Stop.
-
A restarted cloud session no longer leaves a subagent's message to the main conversation unanswered.
Claude Code v2.1.319
-
Added an "Earlier in this session" row to /tasks listing finished subagents, which can be reopened and messaged after leaving the list or restarting.
-
Fixed subagent hand-back reports showing an internal marker and provenance note when expanded outside verbose mode.
-
Fixed /clear killing running commands of background agents, teammates and workflows that keep running, and foreground subagents of background agents and teammates.
-
Fixed subagents being told after compaction to expect a completion notice for background agents they neither started nor took over.
-
Fixed a background agent's later report being lost silently; the notification now says it was refused and how to ask for it.
+2 more
-
Changed what Claude is told after safeguards stop a subagent: it is told to retry with a narrower prompt or tell the user, instead of doing the work itself.
-
[Cloud sessions] Fixed Send now on a waiting message in cloud sessions ending running background agents; they now keep running.
Codex 0.167.0
-
Host-managed child startup exposes parent context.
-
Pending approvals are prioritized in the subagent picker.
-
Subagent relationships are persisted before child storage is created.
Claude Code v2.1.318
-
Fixes the Now using usage credits notice reappearing about every 30 seconds while a background subagent runs.
-
Changes subagents to stop instead of switching models when Switch models when a message is flagged is set to Ask each time.
-
Changes background subagents to move a shell command to the background after 3 minutes on all providers so the prompt cache does not expire while it runs.
-
Changes subagent progress summaries on Bedrock, Vertex, Foundry, or with telemetry off so that on a cold prompt cache one can wait up to 5 minutes for the pending response.
Claude Code v2.1.317
-
Adds a notice when the auto mode check has no answer for a subagent's tool call, which previously showed nothing in the main view.
-
Fixes screen readers speaking a running subagent's elapsed time and token count on every change in screen reader mode.
-
Changes subagents and teammates on a different model from the main conversation to use that model's saved effort level or its default, instead of the session's effort level.
Claude Code v2.1.316
-
Added CLAUDE_CODE_SUBAGENT_EFFORT to set the effort level subagents run at when nothing else names one, instead of inheriting the session's effort level.
-
Fixed sub-agents that inherited a parent sub-agent's model moving to the main model when a background job or message woke them.
Claude Code v2.1.314
-
Fixed /btw answering from the main conversation when asked from a subagent's open transcript.
-
Fixed Esc on a command panel such as /btw also interrupting the subagent whose transcript is open.
-
Fixed the fullscreen welcome header showing the session's model while viewing a subagent or teammate that runs a different model.
-
Improved memory use in long headless and SDK turns running many subagents, since the parent session no longer keeps each subagent's tool results until the turn ends.
Codex 0.166.0
-
Exercised V2 spawning in subagent context inheritance tests.
-
Refactored agent spawning, startup, and communication helpers.
-
Enabled agents navigation for remote App Server sessions.
-
Kept failed subagents from marking tasks as needing attention.
-
Preserved native multi-agent calls in Guardian review history.
Claude Code v2.1.312
-
A subagent's autoCompactWindow now lowers the window set by CLAUDE_CODE_AUTO_COMPACT_WINDOW, where it previously had no effect; it still never raises that window.
Claude Code v2.1.311
-
Fixed subagents being unable to use MCP tools from servers that finish connecting after the subagent starts.
-
Fixed SubagentStop hooks running about twice a minute for each running subagent instead of once when it finishes.
-
Fixed a subagent's isolated worktree being removed while a background subagent it started was still working in it.
Claude Code v2.1.307
-
Fixed subagent transcripts recording placeholder token usage and an empty stop reason for streamed responses.
-
Improved fork subagents launched together: each is told which launch is its own, making them less likely to start each other's work.
Claude Code v2.1.305
-
Fixed unchanged subagent worktrees sometimes not being cleaned up.
-
Fixed Claude naming the wrong model for a subagent's work after the subagent switched to a fallback model.
Claude Code v2.1.304
-
Fixed a plugin keeping a headless run going past --max-turns, Stop, or ended input by spawning subagents or re-running a finished one.
-
Fixed scheduled Cowork cloud sessions waiting five minutes again for each subagent whose WebFetch needed a URL approval that nobody could give.
-
Fixed subagents sometimes forgetting their most recent work when messaged or resumed right after finishing.
-
Improved responsiveness and throughput when many subagents are running at the same time.
-
[VSCode] Changed background sub-agents to show as one status line under their Agent card instead of streaming every step into the chat; the full transcript stays in /tasks.
Claude Code v2.1.302
-
Changed fork subagents (subagent_type: "fork") to be on by default in claude -p, the Agent SDK, the desktop app and VS Code; CLAUDE_CODE_FORK_SUBAGENT=0 turns them off, and claude mcp serve never offers them.
-
Changed the desktop app and VS Code to always run the main conversation's subagents in the background, as the terminal does; subagent Agent calls in claude -p, the Agent SDK, the desktop app and VS Code now run in the foreground by default.
-
[Remote Control] Fixed a subagent's pane spinning forever in a Remote Control session after the computer goes offline; it now says Remote Control is disconnected.
Claude Code v2.1.301
-
Rendering is faster during long-running subagent work because the progress trail updates incrementally instead of being reprocessed in full on every render.
Claude Code v2.1.296
-
Added autoCompactWindow to subagent frontmatter and --agents definitions so a subagent can auto-compact earlier than the main conversation's window.
-
Added CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL to run every workflow agent on one model while other subagents keep their own models.
-
Fixed resumed subagents being told the user rejected a tool call that a session shutdown had interrupted.
-
Improved --debug output to name unrecognized frontmatter fields in custom agent files, with a hint for likely typos.
Claude Code v2.1.295
-
Fixed CLAUDE_AUTO_BACKGROUND_TASKS starting a call before a subagent finished when an edit or shell command waited behind that subagent.
-
Fixed subagents in their own linked worktree being shown the parent session's git branch, status and recent commits.
-
Fixed Claude not being told it can resume background subagents with SendMessage after a session was killed and resumed a second time.
-
Changed subagents to preload at most 32 skills from the skills field, each once; subagents with the Skill tool can still invoke the rest.
Claude Code v2.1.293
-
Added agentType to the subagentStatusLine payload so scripts can distinguish custom subagent types.
-
Fixed Claude being told to continue or message subagents with SendMessage in sessions where a host, permission rule, or --tools list had removed that tool, including resumed sessions.
-
Fixed subagents and --agent sessions being told a built-in tool was disabled for the whole session when only their own tool list left it out.
Claude Code v2.1.288
-
Fixed a plugin's tool.call hook making Bash fail and file searches read the wrong folder in worktree subagents.
-
Fixed subagents in Claude Desktop's Code tab getting no tools from a user-configured MCP server named memory.
Claude Code v2.1.286
-
In VS Code, Stop and Escape now end only the current turn; background agents keep running and must be stopped individually from the agent map.
-
Fixed a message typed into a running subagent showing twice in its transcript after the subagent read it.
-
Fixed subagent hand-back messages showing a raw task id instead of the agent's name when the subagent had no registered name.
-
Fixed foreground subagents sometimes missing the task-tracking tools (TaskCreate/Get/Update/List, TodoWrite) in sessions that have them enabled.
-
Fixed subagents spawned with worktree isolation loading the project CLAUDE.md and its imports a second time from the worktree copy on their first file read.
+4 more
-
Fixed Workflow tool subagents being restarted from their original prompt when a connection stalled for a few minutes mid-response.
-
Fixed /compact, /clear and /rewind typed while viewing a background agent's or teammate's transcript acting on the main conversation; a dialog now names the target and asks first.
-
Send now (ctrl+enter) in a subagent's view now moves the subagent's running command to the background so the message is read right away.
-
Background agents' replies to user messages no longer open with a separate recap of what the user said.
Claude Code v2.1.285
-
Fixed claude -p with CLAUDE_CODE_FORK_SUBAGENT=1 so a subagent's own Agent call runs in the foreground and the subagent gets the child's result.
-
Fixed claude -p --permission-prompt-tool auto-denying a background subagent's permission request instead of sending it to the prompt tool.
-
Fixed fork subagents not keeping the session's plan mode or dontAsk mode; a fork now runs under its parent's permission mode and cannot exit plan mode.
-
Fixed background subagents in auto mode prompting a second, redundant reply after each report.
-
Subagents in auto mode now end their run as soon as they hand their report back instead of taking extra turns.