TL;DR

Anthropic has introduced dynamic workflows in Claude Code, letting Claude write JavaScript orchestration code that spawns and coordinates subagents for complex tasks. The confirmed feature is meant for high-value work such as large refactors, research, fact checking and security review; costs, safeguards and real-world reliability remain less clear.

Anthropic has introduced dynamic workflows in Claude Code, a feature that lets Claude generate and run task-specific orchestration code to coordinate multiple subagents inside one complex job, according to a June 2 Claude blog post by Thariq Shihipar and Sid Bidasaria. The development matters because it moves Claude Code beyond a single-agent pattern and toward temporary, role-based agent teams for work that is broad, adversarial or judgment-heavy.

In the system described by Anthropic and summarized by Thorsten Meyer AI, a dynamic workflow is a JavaScript harness that Claude writes for a task. The harness can spawn separate subagents, assign focused briefs, wait for results at a barrier, and merge structured outputs into a final answer or code change.

The reported patterns include classify-and-act routing, fan-out-and-synthesize work, adversarial verification, generate-and-filter selection, tournament-style judging and loop-until-done spawning. Anthropic frames these as reusable moves that Claude can compose when a task has many parts or needs independent review.

The company also places limits around the use case. Thorsten Meyer AI, citing Anthropic’s caveat, says dynamic workflows use meaningfully more tokens and are aimed at complex, high-value tasks, not routine edits. The practical distinction is cost and control: a workflow may produce stronger coverage, but it can also expand quickly if budgets and stop conditions are loose.

At a glance
announcementWhen: announced June 2, 2026; covered in Thor…
The developmentAnthropic’s Claude Code now supports dynamic workflows, allowing Claude to create task-specific harnesses that coordinate temporary subagents.
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 Agent Teams Matter

For developers and AI teams, the appeal is coverage across large tasks. A single agent working in one context can stop early, favor its own prior answer or lose parts of the original instruction over time, according to the Thorsten Meyer AI analysis. Separating work into clean subagent contexts and adding independent verification could help on jobs where missing one branch of work has a real cost.

The impact is not only technical. If dynamic workflows become common, teams using Claude Code may need to manage token budgets, model routing, permissions and audit trails as part of normal AI-assisted work. The feature shifts some responsibility from prompt writing to workflow management, where bad scope or weak guardrails can create higher bills or unreliable results.

Amazon

AI workflow automation tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Claude Code’s Agent Arc

The July 1 analysis from Thorsten Meyer AI presents dynamic workflows as the third part of a loose Claude Code sequence: skills package organizational knowledge, loops govern delegation over time, and dynamic workflows coordinate subagents within one job. That framing is the author’s, while the mechanics and use cases are attributed to Anthropic’s Claude blog.

Anthropic’s original post, dated June 2, 2026, is the underlying source for the feature’s mechanics. Thorsten Meyer AI points readers to code.claude.com/docs for documentation and describes the feature as recent and still evolving.

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

— Thariq Shihipar and Sid Bidasaria, Anthropic

Amazon

subagent orchestration software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Costs And Limits Remain

The available reports do not settle how broadly dynamic workflows are available, what default controls limit excessive spawning, or how teams should compare token spend with quality gains. It is also not yet clear how consistently Claude will choose the right number of subagents for real production tasks.

Evidence is still thin on outcomes. Anthropic and Thorsten Meyer AI describe use cases including research, migrations, ticket ranking and security checks, but the source material does not provide benchmark results, failure rates or customer adoption figures.

Amazon

AI task management platform

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Developers Test The Pattern

Teams using Claude Code are likely to test dynamic workflows on bounded, high-value jobs first: a sample refactor, a limited fact-checking pass or a security review subset. The immediate work is setting token caps, stop conditions, model choices and structured output formats before allowing broader runs.

For workflows that read untrusted public content, Thorsten Meyer AI highlights a quarantine pattern: agents that read that material should be kept away from high-privilege actions, with a separate agent doing the action step. A careful rollout would pair that separation of duties with logging, human review and cost reports.

Amazon

AI code orchestration tools

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 writes and runs inside Claude Code. According to Anthropic’s blog, they can spawn and coordinate subagents so a larger job can be split into focused parts.

Who announced the feature?

The underlying announcement came from Anthropic in a June 2, 2026 Claude blog post by Thariq Shihipar and Sid Bidasaria. Thorsten Meyer AI covered the feature in its July 1, 2026 AI Dispatch.

Are dynamic workflows for everyday coding tasks?

No. Thorsten Meyer AI, citing Anthropic’s caveat, says the approach uses more tokens and is aimed at complex, high-value work. A small typo fix would normally be better handled by one agent or a direct edit.

Why use multiple agents instead of one?

The aim is to reduce single-agent failure modes: stopping early, grading its own output and losing the original goal during long tasks. Separate subagents can work in parallel and an independent reviewer can check the result, according to the reported workflow patterns.

What risks should teams watch?

The main risks are token cost, runaway spawning, weaker controls around tool use and overreliance on agent self-management. Teams should set budgets and stop rules, keep permissions narrow and review high-impact outputs before use.

Source: Thorsten Meyer AI

You May Also Like

Kill-Switch-Proof: How to Build So Washington Can’t Take Your AI Stack Down

Thorsten Meyer AI says June model access limits show why teams need fallbacks, gateways and self-hosted open-weight AI tiers.

Avengers Labs: How Ukraine Turned Its Front Line Into the World’s Scarcest AI Dataset

Ukraine’s Avengers Labs lets firms train defense AI on battlefield drone data while Kyiv keeps the improved models.

When One Agent Isn’t Enough: Claude Now Builds Its Own Team of Agents on the Fly

Anthropic says Claude Code can now write task-specific workflows that coordinate subagents for complex work, at higher token cost.

Grimfaste: Operations for a Fleet

Thorsten Meyer AI introduced Grimfaste, a hosted operations control plane for publishers managing large fleets of sites.