TL;DR

Anthropic has described dynamic workflows in Claude Code, a feature that lets Claude generate task-specific JavaScript orchestration to coordinate temporary subagents. The approach is aimed at complex, high-value work where parallel execution, independent review or repeated judging may help, but it can use far more tokens.

Anthropic’s Claude Code team has described dynamic workflows, a feature that lets Claude write a task-specific JavaScript harness to spawn and coordinate subagents for complex work, according to a June 2 Claude blog post by Thariq Shihipar and Sid Bidasaria. The development matters because some Claude Code tasks can now be handled by temporary structured teams rather than one agent working alone.

Under the approach, Claude can generate a JavaScript harness around the model, using special functions to spawn and coordinate subagents while using ordinary JavaScript to handle data. Each subagent can receive a separate context window and a focused task; the source material says subagents may run on different models depending on the job, which remains Anthropic’s implementation description rather than an independent benchmark.

Anthropic’s post, as summarized by Thorsten Meyer AI on July 1, groups the mechanics into six reusable patterns: classify-and-act, fan-out-and-synthesize, adversarial verification, generate-and-filter, tournament judging and loop-until-done. Those patterns are aimed at work that can be split, checked by a separate agent or repeated until a stop condition is met.

The caveat is cost. The source material says dynamic workflows are built for complex, high-value tasks, not small edits, and warns that workflows can spawn many agents and use far more tokens. That makes token budgets, pilot runs and stop conditions part of the feature’s practical use.

At a glance
announcementWhen: Anthropic blog published June 2, 2026;…
The developmentAnthropic published details of Claude Code dynamic workflows, which let Claude write a task-specific harness and coordinate subagents during a single complex task.
AI Dispatch · Insights · 1 July 2026

When one agent isn’t enough: Claude now builds its own team on the fly

Skills package what you know; loops decide how far you delegate over time. Dynamic workflows are the third axis — within a single task, Claude writes its own harness and assembles a temporary team of subagents. Think of it as Claude drawing an org chart for one job.

Why one agent grinding alone underdelivers
Agentic laziness
Declares done on partial work — 35 of 50 review items.
Self-preferential bias
Grades its own homework — likes what it already produced.
Goal drift
Loses the original objective across turns, especially after context is summarized.
These are the failure modes of one person doing a huge job alone. The cure is the manager’s: divide the work, give isolated briefs, and have someone independent check it.
The harness — an org chart Claude writes for one task
Orchestrator
Claude writes a JS harness on the fly
▼   fan out   ▼
Subagent
own context · model
Subagent
own worktree
Subagent
focused goal
Subagent
isolated
✕ adversarial verify
✕ adversarial verify
✕ adversarial verify
✕ adversarial verify
▼   barrier: wait for all   ▼
Synthesize
merge structured outputs
→ Result
one verified answer
Each subagent gets a clean context window and can run on a cheaper or smarter model — so no single overloaded context gets lazy, biased, or lost. Resumable if interrupted.
The six moves it composes
Classify-and-actroute by task type (switchboard)
Fan-out-and-synthesizeparallel agents → a barrier merges (map/reduce)
Adversarial verificationa separate agent attacks each result
Generate-and-filterbrainstorm wide, keep only survivors
Tournamentagents compete; pairwise judging > scoring
Loop-until-donespawn until a stop condition, not a fixed count
Where it earns its keep — often away from code
Big migrations & refactors Deep research → cited report Fact-check every claim Rank 1,000 tickets by severity Root-cause post-mortems (“why did sales drop?”) Triage a backlog at scale Design/naming by rubric Model routing
One security pattern to memorize — quarantine: agents that read untrusted public content are barred from high-privilege actions; a separate agent does the acting. Separation of duties for autonomous agents.
The take

The shift is from prompting a worker to commissioning a team — more output, more cost, and a manager’s judgment required. Reach for a workflow when a task is big, parallel, adversarial, or judgment-heavy — and when you can feel a single agent getting lazy, grading its own homework, or losing the plot. Bound it (token budgets, pilot first) — workflows can spawn hundreds of agents and burn far more tokens. For everything else, don’t hire five people to change a lightbulb.

Source: “A harness for every task: dynamic workflows in Claude Code,” Thariq Shihipar & Sid Bidasaria (Anthropic), Claude blog, 2 June 2026. Mechanics, patterns & use cases are Anthropic’s; the “org chart” framing is the author’s. A recent, still-evolving feature. Docs: code.claude.com/docs.
thorstenmeyerai.com

Why Claude’s Agent Teams Matter

Dynamic workflows target failure modes that long agent runs can amplify: partial completion, self-review bias and loss of the original objective after many turns. By assigning separate agents to execution, critique, synthesis and judging, the system attempts a separation-of-duties pattern familiar from human teams.

For software teams, researchers and operations groups, the decision changes from writing a better prompt to deciding whether a task warrants a manager-style workflow. More parallel work can mean more output and more checking, but also higher spend, more latency and more responsibility for workflow design.

Amazon

JavaScript automation tools for AI workflows

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

From Skills to Dynamic Workflows

The Thorsten Meyer AI item frames dynamic workflows as the third piece in a loose sequence from the Claude Code team: Skills package organizational knowledge, loops decide how far to delegate over time, and dynamic workflows assemble a temporary team inside a single task.

The examples cited include large migrations and refactors, research reports with citations, claim checking, ticket severity ranking, root-cause postmortems, backlog triage, design or naming by rubric and model routing. The source also highlights a security pattern called quarantine, where agents that read untrusted public content are kept away from high-privilege actions.

“A harness for every task: dynamic workflows in Claude Code”

— Thariq Shihipar and Sid Bidasaria, Anthropic

Amazon

AI agent orchestration software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Costs and Guardrails Still Open

The supplied material does not provide independent benchmark results showing lower failure rates, lower review burden or better outcomes than a single-agent run. It is also not yet clear how token overhead, latency and model selection will vary across real teams and task types.

Security details also remain partly about design guidance. The material describes quarantine for untrusted content, with one agent reading risky material and a separate agent taking action, but it does not establish whether Claude Code enforces that split automatically or whether developers must implement the boundary themselves.

Amazon

complex task management AI tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Developers Test Boundaries Next

Teams evaluating the feature are likely to start with bounded high-value workloads, such as codebase audits, structured research, migration planning or large triage queues. The next practical step is defining token ceilings, stop rules, model-routing choices and human review points before wider use.

Readers should watch for public case studies, pricing impact, admin controls, security examples and updated Claude Code documentation. Those details will show whether dynamic workflows become a routine tool for complex work or stay reserved for large, judgment-heavy tasks.

Amazon

subagent coordination AI software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

What are dynamic workflows in Claude Code?

Dynamic workflows are task-specific orchestration programs that Claude can write and run to coordinate multiple subagents. The goal is to split complex work into focused pieces, then merge or review the results.

How is this different from one Claude agent doing the work?

A single agent works inside one main context and may lose track of details during a long task. Dynamic workflows can give subagents separate briefs, separate context windows and roles such as reviewer, judge or synthesizer.

When should teams use dynamic workflows?

The source material points to large, parallel or adversarial tasks, such as migrations, security review, fact-checking, ticket ranking and research reports. It is not presented as the right tool for minor edits or routine prompts.

What are the main risks?

The main tradeoffs are token cost, complexity and the need for clear stopping rules. Security boundaries also matter when subagents read untrusted public content or when any workflow can trigger high-privilege actions.

Has Anthropic proved dynamic workflows work better?

The supplied source describes mechanics and use cases, but it does not include independent performance data. Claims about better reliability should be treated as implementation guidance until more public results are available.

Source: Thorsten Meyer AI

Pet-care content is informational — consult your veterinarian for advice about your animal.

You May Also Like

Water Fountain Hygiene: The Biofilm Problem No One Warns You About

Hiding beneath the surface, biofilms in water fountains pose unseen health risks that demand urgent attention and effective prevention strategies.

Enrichment Activities for Mental Well‑Being: Puzzle Toys and Snuffle Mats

Only by exploring enrichment activities like puzzle toys and snuffle mats can you unlock new ways to boost your mental well-being and discover lasting benefits.

Weight‑Management Diets: Choosing the Right Food for Overweight Dogs

Understanding how to select the right weight-management diet can make all the difference in your overweight dog’s health and happiness.

Readiness: Before You Fund the Answer

Thorsten Meyer AI has published Readiness, a 20-minute diagnostic for testing enterprise world-model AI readiness before funding.