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

TL;DR

Anthropic has described a Claude Code feature called dynamic workflows, which lets Claude write a small JavaScript harness to coordinate subagents during one complex task. The company says the approach can help with parallel, adversarial, or judgment-heavy work, but it uses more tokens and is not meant for simple requests.

Anthropic’s Claude Code can now build task-specific dynamic workflows that spawn and coordinate temporary subagents, according to an Anthropic blog post cited by Thorsten Meyer AI on July 1, 2026. The development matters because it shifts some complex AI work from a single long-running agent to a managed group of agents with separate roles, contexts, and checks.

The confirmed feature is called dynamic workflows. Anthropic describes it as a system in which Claude writes a small JavaScript harness for the task at hand, using that code to create and coordinate subagents. Those subagents can work in parallel, receive narrower briefs, use separate context windows, and return structured results for synthesis.

According to the source material, Anthropic’s patterns include classify-and-act routing, fan-out-and-synthesize, adversarial verification, generate-and-filter workflows, agent tournaments, and loop-until-done processes. The company presents these as building blocks Claude can compose rather than a single fixed workflow.

Anthropic also gives a clear limit: this setup uses meaningfully more tokens and is intended for complex, high-value tasks. The source material says it is not meant for routine fixes, such as asking Claude to change a typo.

At a glance
reportWhen: Anthropic blog post dated June 2, 2026;…
The developmentAnthropic’s Claude Code team has detailed dynamic workflows, a feature that lets Claude assemble and coordinate temporary subagents during complex tasks.
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

Multi-Agent Work Moves Closer

The change matters because it targets a known weakness in long agent runs: a single agent can lose the original goal, stop early, or grade its own work too generously. The source material describes these risks as agentic laziness, self-preferential bias, and goal drift.

Dynamic workflows try to reduce those risks by separating roles. One subagent can investigate, another can verify, and another can synthesize the final answer. For readers using AI tools for coding, research, audits, or operations, the practical effect is a new way to handle work that is large, parallel, adversarial, or dependent on judgment.

The tradeoff is cost and control. More agents can mean more output and stronger checks, but also higher token use and a greater need to set budgets, stop conditions, and review gates.

Amazon

AI workflow automation tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Claude Code’s Workflow Push

Thorsten Meyer AI frames dynamic workflows as the third part of a loose Claude Code arc. In that framing, skills package organizational knowledge, loops decide how far work should be delegated over time, and dynamic workflows decide how Claude should structure one complex task internally.

The source material says the underlying Anthropic post is titled A harness for every task: dynamic workflows in Claude Code, by Thariq Shihipar and Sid Bidasaria, published on the Claude blog on June 2, 2026. The mechanics, workflow patterns, and use cases are attributed to Anthropic, while the “org chart” framing is attributed to Thorsten Meyer AI.

Examples cited in the source include large migrations, deep research reports, security reviews, ticket triage, root-cause analysis, design evaluation, and model routing.

“A harness for every task”

— Anthropic, via the cited Claude blog post

Amazon

JavaScript harness for AI tasks

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Costs And Limits Remain Open

Several details remain unclear from the source material. It does not give a public benchmark showing how often dynamic workflows outperform a single agent, how much extra token use is typical, or which tasks deliver enough value to justify the extra cost.

It is also unclear how users should audit every subagent decision in practice, especially if a workflow spawns many agents. The source material warns that workflows can create hundreds of agents and burn far more tokens if left loosely bounded.

Security behavior is another open area for users to manage. The source recommends quarantine: agents that read untrusted public content should be barred from high-privilege actions, while a separate agent handles acting.

Amazon

AI subagent coordination software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Adoption Depends On Guardrails

The next test is practical use. Teams using Claude Code will need to decide when a task is complex enough for dynamic workflows, set token budgets, run small pilots first, and define review points before scaling up.

Anthropic’s documentation at code.claude.com/docs is the likely place for developers to watch for implementation guidance, limits, and updates. For now, the clearest guidance from the source is to use workflows for tasks that are big, parallel, adversarial, or judgment-heavy, and to keep simple work with a single agent.

Amazon

complex AI task management tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

What are Claude Code dynamic workflows?

Dynamic workflows are task-specific orchestration programs that Claude can write to spawn, brief, coordinate, and merge results from subagents.

Does this mean Claude always uses multiple agents?

No. The source says this approach is for complex, high-value tasks because it uses more tokens. Simple work is still better handled by one agent.

What kinds of work could use this?

Examples include large code migrations, security reviews, research reports, backlog triage, root-cause analysis, and tasks that need independent verification.

What is confirmed and what is still uncertain?

Confirmed: Anthropic has described the dynamic workflows feature and its mechanics. Still uncertain: typical cost savings or costs, performance gains across real deployments, and best practices for auditing large agent groups.

Source: Thorsten Meyer AI

You May Also Like

Warranty claim packet builder for appliance repair shops

A new workflow tool for independent appliance repair shops to streamline warranty claims is entering testing, aiming to improve documentation and reduce rework.

AI output review queue for customer support macros

Support teams are testing a new AI macro review queue to ensure policy, tone, and accuracy before publication, aiming for safer automation.

Community volunteer action tracker for local boards

A new volunteer action tracker aimed at local civic boards is set to be tested as a small-scale workflow solution to improve follow-through on community projects.

A Skill Is a Folder, Not a Prompt: What Anthropic Learned Running Hundreds of Them

Thorsten Meyer AI reports on Anthropic’s lessons from running hundreds of Claude Code Skills across its engineering organization.