All areas Feed Weekly digests

subagents

The tracked changes tagged subagents, newest release first. Every sentence is an item's summary.

146 items from 27 releases, 5 breaking Sources: Claude Code, Codex Last change:

Goes with

Changes

Claude Code v2.1.332

  1. fix

    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.

  2. fix

    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.

  3. fix

    Fixed headless and cloud sessions reporting a foreground fork's Agent call as finished the moment the fork started.

  4. fix

    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

  1. breaking Breaking

    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.

  2. fix

    Fixed Claude not being told when permission rules on the Agent tool dropped its queued message to an ended subagent.

  3. fix

    SubagentStop hooks now wait for the last reply in the transcript.

  4. fix

    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.

  5. fix

    Fixed a Workflow agent's background shells and MCP servers sometimes staying running after it handed back its report.

+3 more
  1. fix

    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.

  2. fix

    Windows: Fixed Remote Control clients showing no steps for a new subagent.

  3. fix

    [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

  1. fix

    Fixed an MCP server declared by subagents being shut down when one subagent finished while others or the session still used it.

  2. fix

    Fixed a stopped background subagent sometimes not staying stopped.

  3. fix

    Fixed Claude waiting for a background agent that was stopped just as it finished, in sessions run by an app or the SDK.

  4. fix

    Fixed subagents' own subagents and forks running on the plan-mode model in plan mode under opusplan or haiku.

  5. performance

    Improved Code Mode so the terminal freezes for far less time after a subagent's script makes thousands of tool calls.

+2 more
  1. other

    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.

  2. other

    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

  1. fix

    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.

  2. fix

    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.

  3. fix

    Code Mode no longer offers write() and edit() to read-only subagents that cannot call them.

  4. fix

    The model no longer says background agents are still running after an SDK interrupt has stopped them.

  5. fix

    A message to a background agent shows the pasted image instead of a long file path in its place.

+3 more
  1. other

    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.

  2. other

    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.

  3. other

    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

  1. breaking Breaking

    Subagents isolated in a worktree refuse some git commands in Bash that can rewrite branches shared with the checkout, in any repository.

  2. breaking Breaking

    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.

  3. breaking Breaking

    The approval card for a subagent's plan now has two choices, and typed text moves to No.

  4. feature

    A subagent's view shows an esc to stop footer hint where Esc would stop it.

  5. fix

    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
  1. fix

    Background subagents in Code Mode no longer fail when they preload a skill with an inline ! command.

  2. fix

    Terminal sessions no longer show idle on the phone while background subagents run; Stop on the phone or web ends them with the turn.

  3. fix

    Subagents with Artifact in disallowedTools no longer get artifact tools in some cloud sessions.

  4. fix

    The main conversation is told which agent a subagent reports to when that subagent messaged another subagent.

  5. fix

    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.

  6. fix

    Up and Esc no longer move the main conversation's queued messages into the prompt of a subagent or teammate being viewed.

  7. fix

    Agent rows under the prompt show what a waiting agent is waiting on, and /tasks names the subagent behind each background command.

  8. fix

    Stopped and failed agents no longer look running in the agent rows, and a stopped agent's last command no longer shows Running.

  9. fix

    An opened background agent no longer shows a normal spinner while its requests are being retried.

  10. fix

    The background agents launched line lists all agents when three or more start in one reply.

  11. fix

    Subagent tool counts in auto mode no longer include the call that delivers the final report.

  12. fix

    The welcome header outside fullscreen shows the viewed subagent's or teammate's model instead of the session model.

  13. fix

    Images pasted while viewing a background agent are attached instead of arriving as the text [Image #1].

  14. fix

    Workflow resume reports how many finished agent results were reused and where reuse stopped, instead of saying all were reused.

  15. fix

    A first skill, command or agent created during a session is found right away.

  16. fix

    Failed or refused skill and agent calls no longer show Initializing.

  17. performance

    With more than 20 subagents running, token counts of background agents whose transcript is not open update every 5 seconds.

  18. other

    After Ctrl+C stops background agents, the footer offers ↓ to resume subagent while a stopped subagent is listed.

  19. other

    Improved how the subagent-plan approval card is chosen with arrow keys and Enter.

Claude Code v2.1.323

  1. feature

    Added CLAUDE_CODE_DISABLE_AGENT_PROGRESS_SUMMARIES; setting it to 1 turns off subagent progress summaries and the requests that write them.

  2. fix

    Fixed Claude being told automatic model switching is off when safeguards stopped a subagent whose model had no other model to switch to.

  3. fix

    Fixed subagent progress summaries skipping an update when the reply took between 10 and 20 seconds.

  4. fix

    Fixed the name label under permission and plan dialogs hiding part of some agent names.

  5. fix

    Fixed the fullscreen header naming the effort level for a viewed subagent on a different model that the subagent does not use.

+7 more
  1. fix

    Fixed terminal control sequences in a subagent message taking effect instead of displaying as plain text when expanded.

  2. fix

    Fixed PreCompact, PostCompact, and post-compaction SessionStart hooks not receiving agent_id and agent_type when a subagent compacts.

  3. fix

    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.

  4. fix

    Fixed desktop app sessions showing as idle on the phone while background subagents were still running in Remote Control.

  5. fix

    Fixed OpenTelemetry agent.name showing a user-defined subagent name instead of custom when an official plugin skill launched it.

  6. performance

    Improved memory use with many subagents by freeing a finished subagent's transcript sooner.

  7. other

    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

  1. fix

    Auto mode no longer loses a background subagent's report that started a turn when the conversation was compacted before Claude answered it.

  2. fix

    One request no longer carries far more background agent reports than intended after Claude was stopped while several were waiting.

  3. fix

    Sub-agent progress summaries no longer run a request to its end after the model replies with a tool call.

  4. fix

    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.

  5. fix

    A restarted cloud session no longer leaves a subagent's message to the main conversation unanswered.

+1 more
  1. performance

    Auto mode in headless sessions, the desktop app and VS Code answers reports from waiting background subagents in one model call, as in the terminal.

Claude Code v2.1.319

  1. feature

    Added an "Earlier in this session" row to /tasks listing finished subagents, which can be reopened and messaged after leaving the list or restarting.

  2. fix

    Fixed subagent hand-back reports showing an internal marker and provenance note when expanded outside verbose mode.

  3. fix

    Fixed /clear killing running commands of background agents, teammates and workflows that keep running, and foreground subagents of background agents and teammates.

  4. fix

    Fixed subagents being told after compaction to expect a completion notice for background agents they neither started nor took over.

  5. fix

    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
  1. other

    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.

  2. fix

    [Cloud sessions] Fixed Send now on a waiting message in cloud sessions ending running background agents; they now keep running.

Codex 0.167.0

  1. feature

    Host-managed child startup exposes parent context.

  2. fix

    Pending approvals are prioritized in the subagent picker.

  3. fix

    Subagent relationships are persisted before child storage is created.

Claude Code v2.1.318

  1. fix

    Fixes the Now using usage credits notice reappearing about every 30 seconds while a background subagent runs.

  2. other

    Changes subagents to stop instead of switching models when Switch models when a message is flagged is set to Ask each time.

  3. other

    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.

  4. other

    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

  1. feature

    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.

  2. fix

    Fixes screen readers speaking a running subagent's elapsed time and token count on every change in screen reader mode.

  3. other

    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

  1. feature

    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.

  2. fix

    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

  1. fix

    Fixed /btw answering from the main conversation when asked from a subagent's open transcript.

  2. fix

    Fixed Esc on a command panel such as /btw also interrupting the subagent whose transcript is open.

    btwsubagentsinterrupts
  3. fix

    Fixed the fullscreen welcome header showing the session's model while viewing a subagent or teammate that runs a different model.

  4. performance

    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

  1. other

    Exercised V2 spawning in subagent context inheritance tests.

  2. other

    Refactored agent spawning, startup, and communication helpers.

  3. other

    Enabled agents navigation for remote App Server sessions.

  4. other

    Kept failed subagents from marking tasks as needing attention.

  5. other

    Preserved native multi-agent calls in Guardian review history.

+3 more
  1. other

    Routed state-changing multi-agent calls through Guardian review.

  2. other

    Centralized Guardian classification of multi-agent tool calls.

  3. other

    Added host-reserved V2 child creation APIs.

Claude Code v2.1.312

  1. other

    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

  1. fix

    Fixed subagents being unable to use MCP tools from servers that finish connecting after the subagent starts.

  2. fix

    Fixed SubagentStop hooks running about twice a minute for each running subagent instead of once when it finishes.

  3. fix

    Fixed a subagent's isolated worktree being removed while a background subagent it started was still working in it.

Claude Code v2.1.307

  1. fix

    Fixed subagent transcripts recording placeholder token usage and an empty stop reason for streamed responses.

  2. other

    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

  1. fix

    Fixed unchanged subagent worktrees sometimes not being cleaned up.

  2. fix

    Fixed Claude naming the wrong model for a subagent's work after the subagent switched to a fallback model.

Claude Code v2.1.304

  1. fix

    Fixed a plugin keeping a headless run going past --max-turns, Stop, or ended input by spawning subagents or re-running a finished one.

  2. fix

    Fixed scheduled Cowork cloud sessions waiting five minutes again for each subagent whose WebFetch needed a URL approval that nobody could give.

  3. fix

    Fixed subagents sometimes forgetting their most recent work when messaged or resumed right after finishing.

  4. performance

    Improved responsiveness and throughput when many subagents are running at the same time.

  5. other

    [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

  1. feature

    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.

  2. other

    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.

  3. fix

    [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

  1. performance

    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

  1. feature

    Added autoCompactWindow to subagent frontmatter and --agents definitions so a subagent can auto-compact earlier than the main conversation's window.

  2. feature

    Added CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL to run every workflow agent on one model while other subagents keep their own models.

  3. fix

    Fixed resumed subagents being told the user rejected a tool call that a session shutdown had interrupted.

  4. other

    Improved --debug output to name unrecognized frontmatter fields in custom agent files, with a hint for likely typos.

Claude Code v2.1.295

  1. fix

    Fixed CLAUDE_AUTO_BACKGROUND_TASKS starting a call before a subagent finished when an edit or shell command waited behind that subagent.

  2. fix

    Fixed subagents in their own linked worktree being shown the parent session's git branch, status and recent commits.

  3. fix

    Fixed Claude not being told it can resume background subagents with SendMessage after a session was killed and resumed a second time.

  4. other

    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

  1. feature

    Added agentType to the subagentStatusLine payload so scripts can distinguish custom subagent types.

  2. fix

    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.

  3. fix

    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

  1. fix

    Fixed a plugin's tool.call hook making Bash fail and file searches read the wrong folder in worktree subagents.

  2. fix

    Fixed subagents in Claude Desktop's Code tab getting no tools from a user-configured MCP server named memory.

Claude Code v2.1.286

  1. other Breaking

    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.

  2. fix

    Fixed a message typed into a running subagent showing twice in its transcript after the subagent read it.

  3. fix

    Fixed subagent hand-back messages showing a raw task id instead of the agent's name when the subagent had no registered name.

  4. fix

    Fixed foreground subagents sometimes missing the task-tracking tools (TaskCreate/Get/Update/List, TodoWrite) in sessions that have them enabled.

  5. fix

    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
  1. fix

    Fixed Workflow tool subagents being restarted from their original prompt when a connection stalled for a few minutes mid-response.

  2. fix

    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.

  3. other

    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.

  4. other

    Background agents' replies to user messages no longer open with a separate recap of what the user said.

Claude Code v2.1.285

  1. fix

    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.

  2. fix

    Fixed claude -p --permission-prompt-tool auto-denying a background subagent's permission request instead of sending it to the prompt tool.

  3. fix

    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.

  4. fix

    Fixed background subagents in auto mode prompting a second, redundant reply after each report.

  5. other

    Subagents in auto mode now end their run as soon as they hand their report back instead of taking extra turns.

+2 more
  1. fix

    Fixed the VS Code agent map labeling a sub-agent with the session's model instead of the model it ran on.

  2. fix

    Fixed the VS Code agent map's transcript view leaving out messages sent to a running agent.