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

Orchestrate subagents at scale with dynamic workflows changedworkflows

Nearest release: v2.1.335, published under 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:49 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+3added
Lines−3removed
From line 430 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits63to this page, all time

The whole hunk

from line 430, old and new numbered
/
lines
from line 430
430430* `agent lost its reply on all 6 attempts`: every attempt's response stream went silent and Claude Code gave up waiting on it. Lengthening the stall window doesn't help, since a [streaming idle watchdog](https://code.claude.com/docs/en/network-config.md#streaming-idle-watchdogs) ended the response first and `CLAUDE_STREAM_IDLE_TIMEOUT_MS` sets that watchdog's timeout
431431* `agent abandoned after 6 attempts`: the attempts ended in different ways, which the error lists in order
432432 
433To give an agent more time to produce output before the window ends:
433You can give one agent or every agent more time to produce output before the window ends:
434434 
435435* **One agent**: pass `stallMs` in milliseconds on its `agent()` call, such as `agent(prompt, { stallMs: 1800000 })` for 30 minutes
436436* **Every agent**: set [`CLAUDE_ASYNC_AGENT_STALL_TIMEOUT_MS`](https://code.claude.com/docs/en/env-vars#variables), which also applies to subagents outside workflows
from line 457
457457 
458458Claude Code picks each workflow agent's model in the same [order it uses for subagents](https://code.claude.com/docs/en/sub-agents.md#choose-a-model). A model the script names for a stage counts as the per-invocation model in that order. When nothing else assigns one, the agent runs on your session's model.
459459 
460To control the model cost:
460You can control the model cost in the following ways:
461461 
462462* Check `/model` before a large run if you usually switch to a smaller model for routine work
463463* Ask Claude to use a smaller model for stages that don't need the strongest one when you describe the task
from line 487
487487 
488488Workflows are available in the CLI, the Desktop app, the IDE extensions, [non-interactive mode](https://code.claude.com/docs/en/headless.md) with `claude -p`, and the [Agent SDK](https://code.claude.com/docs/en/agent-sdk/overview.md). The same disable settings apply on every surface.
489489 
490To turn workflows off for yourself:
490You can turn workflows off for yourself in `/config`, in your settings, or with an environment variable:
491491 
492492* Toggle Dynamic workflows off in `/config`. Persists across sessions.
493493* Set `"disableWorkflows": true` in `~/.claude/settings.json`. Persists across sessions.
Feedback