Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Subagents in the SDK changedagent-sdk/subagents

Nearest release: v2.1.335, published an hour before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 2 Dec 2026 22:55 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 2 Dec 2026 23:07 UTC.

Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line 160 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits34to this page, all time

The whole hunk

from line 160, old and new numbered
/
lines
from line 160
160160 
161161By default, a subagent your main agent spawns [runs in the background](https://code.claude.com/docs/en/sub-agents.md#run-subagents-in-foreground-or-background). The Agent tool result has `status: "async_launched"`, and the report arrives in a later turn.
162162 
163Claude waits when its next action needs the report: the call blocks and returns `status: "completed"`. To make that choice yourself:
163Claude waits when its next action needs the report: the call blocks and returns `status: "completed"`. You can ask Claude to wait in your prompt, or keep an agent in the background in its definition:
164164 
165165* **In your prompt**: ask Claude to wait, such as "run the test-runner agent and wait for it"
166166* **In the definition**: set `background` to `true` to keep that agent in the background
Feedback