The Power of 1,000 Agents: How Claude uses a Split-Parallel-Merge framework to decompose massive tasks
Mastering Dynamic Workflows: The “Harness” Design That Replaces Prompt Engineering
For three years we engineered prompts. In 2026, Claude Code engineers the harness — writing its own orchestration code on the fly and running tens to hundreds of parallel agents on a single job. Here is how the shift works, why it matters, and how to use it today.
1. What “Dynamic Workflows” Actually Are
On May 28, 2026, Anthropic introduced dynamic workflows in Claude Code — a capability that lets a single session fan a task out across tens to hundreds of parallel subagents, verify the results, and return one coordinated answer.
The headline isn’t “more agents.” It’s who writes the orchestration. Instead of a human hand-building a rigid pipeline, Claude plans the work dynamically from your prompt, breaks it into subtasks, distributes them, checks the output, and iterates until the answers converge. Work that you’d normally scope in quarters can finish in days.
The unlock is the underlying model. Opus 4.8 is finally intelligent enough to author a custom “harness” for your specific task rather than just run inside a generic one — and that single change is what reframes the entire discipline of working with AI.
Harness: the scaffolding around a model — the orchestration script, tool allowlists, subagent roles, verification gates, and control loop that decide how the model attacks a problem. Historically built by hand. Now generated on demand.
⚡ Build Faster With Cursor AI
Pairing dynamic workflows with an AI-native editor closes the loop. Cursor is the go-to IDE for agentic coding — try it with the referral link below.
Try Cursor AI →2. Watch: The Concept in Motion
▲ A visual walkthrough of harness design and parallel agent orchestration.
If you absorb concepts better visually, start here. The sections below turn the ideas into something you can actually run.
3. Harness vs. Prompt: The Paradigm Shift
For most of the LLM era, the lever you pulled was the prompt. Clever phrasing, few-shot examples, chain-of-thought nudges, and 50-step prompt chains held together by hope. It worked — until the task got big enough that no single context window could hold the plan.
The default Claude Code harness is built for coding, and it turns out to be useful well beyond coding because many tasks resemble coding tasks. But to hit peak performance on specific classes of work — deep research, security review, large migrations — Anthropic historically had to hand-build a bespoke harness each time.
Dynamic workflows generalize that. Instead of anyone hand-building a harness per scenario, Claude writes one on the fly for the task you describe, then a runtime executes it. The harness becomes a first-class, reusable artifact: a script you can read, rerun, edit, and share.
| Dimension | Prompt Engineering (2023–2025) | Harness Design (2026) |
|---|---|---|
| Primary lever | Wording of a single prompt | Orchestration written by the model |
| Scale ceiling | One context window | Coordination lives outside the chat |
| Parallelism | Manual / none | Tens–hundreds of subagents |
| Self-checking | Rare, manual | Adversarial verification built in |
| Long runs | Restart on interruption | Progress saved & resumable |
| Output | Best-effort single pass | Reusable, auditable artifact |
The harness is the new prompt. Your skill shifts from phrasing requests to designing trustworthy verification gates the model can run against at scale.
4. How a Workflow Runs Under the Hood
When a workflow kicks off, the loop looks like this:
Plan
Claude reads your objective and dynamically drafts an orchestration plan — no fixed template.
Decompose
The job is broken into subtasks sized for isolated agents, each with its own fresh context.
Fan out
Subagents run in parallel, attacking the problem from independent angles.
Verify
Other agents try to refute the findings. Results are checked before they’re folded in.
Converge
The run iterates until answers agree — reaching a result a single pass couldn’t.
Because coordination happens outside the conversation, the plan stays on track no matter how large the task grows. Progress is saved as the run proceeds, so an interrupted job resumes where it left off instead of starting over.
# In Claude Code — two ways to trigger a workflow # 1) Just ask, with auto mode on > "Create a workflow to audit this repo for auth bypasses" # 2) Flip the effort menu to the Claude Code-specific setting /config → effort → ultracode # sets effort to xhigh; Claude decides when to spin up a workflow
Dynamic workflows consume meaningfully more tokens than a typical Claude Code session. The first time one triggers, Claude Code shows what’s about to run and asks you to confirm. Start on a scoped task — one directory or one narrow question — to gauge cost before widening scope.
📝 AIだけでnote収益化に挑戦中【全記録公開】
20年エンジニア&25年経営の私が、AIだけでnoteの収益化に挑戦する実録シリーズです。
5. The Six Core Workflow Patterns
Dynamic workflows aren’t one trick — they’re a small family of orchestration shapes Claude composes for you. These are the patterns Anthropic’s own engineers lean on:
Fan-out & Synthesize
Split a job across many agents, then merge their outputs into one coherent result. The workhorse for breadth.
Parallel Search + Verify
Search a service or repo in parallel, then run independent verification on every finding so only real issues surface.
Adversarial Review
One set of agents solves; another set actively tries to break the result before it ever reaches you.
Map-Per-Item Migration
Map a transformation across thousands of files — e.g. the right Rust lifetime for every struct field in a port.
Fix Loop
Drive the build and test suite repeatedly until both run clean, looping on failures automatically.
Independent Attempts
Give Claude several independent shots at a high-stakes problem, then converge on the strongest answer.
The common thread: each pattern pairs parallel breadth with independent verification. That’s where the quality comes from — not from any single agent being brilliant, but from many agents checking one another.
6. ultracode & “Ultra Code Mode”
The fastest on-ramp is the Claude Code-specific setting ultracode, reachable through the effort menu. Turning it on sets the effort level to xhigh and lets Claude decide automatically when a task warrants a full workflow versus a normal pass.
For the best experience, enable auto mode first. From there you either ask Claude to “create a workflow” explicitly, or you flip on ultracode and let it self-select.
✅ Use ultracode when…
- The task spans an entire service or repo
- A wrong answer is expensive (security, migrations)
- You want the result checked twice, adversarially
- The job is too big for one context window
⛔ Skip it when…
- It’s a quick, single-file edit
- The task plainly doesn’t need more compute
- You’re cost-sensitive and exploring loosely
- A panel of five reviewers would be overkill
For ordinary coding tasks, ask whether it really needs more compute. Most don’t need a panel of five reviewers. Start small, run on one directory first to gauge cost and quality, then widen the scope once it earns it.
7. Case Study: Rewriting Bun in 11 Days
The clearest proof of what this unlocks at scale is the recent rewrite of Bun. Jarred Sumner used dynamic workflows to port Bun from Zig to Rust with 99.8% of the existing test suite passing — roughly 750,000 lines of Rust, and just eleven days from first commit to merge.
Lifetime mapping
One workflow mapped the correct Rust lifetime for every struct field across the Zig codebase.
Behavior-identical port
The next wrote every .rs file as a faithful port of its .zig counterpart — hundreds of agents in parallel, two reviewers on each file.
Fix loop to green
A fix loop drove the build and test suite until both ran clean.
Overnight cleanup
After the port landed, an overnight workflow addressed unnecessary data copies and opened a PR for each for final human review.
A project that would traditionally consume weeks of senior engineering time was compressed into a window measured in days — with humans staying in the loop at the review gates that mattered.
8. Getting Started in 5 Steps
Install Claude Code
Use the CLI, Desktop app, or VS Code extension. Dynamic workflows are GA on Pro, Max, Team, and Enterprise plans, and via the API on Bedrock, Vertex AI, and Microsoft Foundry.
Turn on auto mode
This is the recommended baseline before invoking any workflow.
Pick a scoped task
Start narrow — one directory or one focused question — to learn the token cost on your codebase.
Trigger the workflow
Either ask Claude to “create a workflow,” or enable ultracode via the effort menu (Pro users enable in /config).
Confirm & widen
Review the plan Claude shows on first run, confirm, then widen scope once quality and cost earn your trust.
9. Merits, Costs & Trade-offs
👍 Merits
- Tackles repo-scale work a single agent can’t
- Built-in adversarial verification raises reliability
- Resumable runs survive interruptions
- The harness is an auditable, reusable artifact
- Plan stays coherent regardless of task size
👎 Costs & Trade-offs
- Substantially higher token usage per run
- Quality depends entirely on your verification gates
- Overkill for ordinary, small tasks
- Needs solid tests & CI to be trustworthy
- Admins may disable it via managed settings
The honest summary: dynamic workflows reward teams that have done the unglamorous groundwork — solid test suites, clean CI gates, sensible tool allowlists, and a branching strategy that lets you review a big change before it lands. The model can write the harness, but the result still depends on how trustworthy your gates are.
🛠 Gear for Long Agent Runs
Multi-hour parallel workflows lean on a stable connection and a workspace that keeps you in flow. Browse a hand-picked pick on Amazon.
View on Amazon →10. The Modern Agentic Stack
Dynamic workflows don’t live in isolation — they sit at the center of a 2026 toolchain. Here’s how the pieces fit, and a couple of tools worth pairing alongside them:
Cursor AI
AI-native IDE for fast, agentic edits and inline review of what your workflows produce.
Claude Code
Where the harness gets written and the parallel subagents actually run.
MusicCreator AI
Generate soundtracks and audio for demos, launch videos, and docs your agents help ship.
🎵 MusicCreator AI — Invite & Earn
Round out your agentic stack with AI-generated music for launch reels and product demos. Sign up with the invite link and earn rewards.
Join MusicCreator AI →11. Pre-Flight Readiness Checklist
Before you point a workflow at anything important, make sure these are true:
- Your repo has a real test suite the fix loop can drive to green
- CI gates are clean and meaningful, not rubber stamps
- Tool allowlists are scoped so agents can’t reach beyond the task
- A branching strategy lets you review a big change before it merges
- You’ve run on one directory first to benchmark token cost
- Auto mode is on and you understand the confirmation prompt
- Admins have (or haven’t) enabled workflows in managed settings
12. What Engineers Are Saying
“Dynamic workflows have been especially valuable for discovery and review across large codebases — surfacing dead code and cleanup opportunities that traditional static analysis missed, so engineers move faster on maintenance and refactoring.”
“They fill the gap between firing off a single subagent and building a full agent team. Plan to implementation just flows, so we can trust longer runs without losing visibility.”
Quotes paraphrased and condensed from Anthropic’s launch announcement; see official docs for full context.
Stop chaining 50 prompts by hand.
Let Opus 4.8 write the harness. Spin up your first dynamic workflow on a scoped task today and feel the difference between a single pass and a coordinated swarm.
Power Up Your Coding Setup →13. Frequently Asked Questions
Not the fundamentals — clear objectives still matter. But the center of gravity moves from phrasing a single prompt to designing the harness and the verification gates Claude runs against. In practice, the harness is the new prompt.
A single session can fan a task out across tens to hundreds of parallel subagents, each with its own isolated context, coordinated outside the main conversation.
Yes — workflows consume meaningfully more tokens than a normal session. Claude Code shows what’s about to run and asks you to confirm the first time. Start scoped to a single directory to benchmark cost before scaling up.
Generally available on Pro, Max, Team, and Enterprise plans, plus the Claude API on Amazon Bedrock, Vertex AI, and Microsoft Foundry. It’s on by default for Max, Team, and Enterprise; Pro users enable it in /config.
A Claude Code-specific effort setting that sets the level to xhigh and lets Claude automatically decide when to use a workflow for your task. Reachable from the effort menu.
Progress is saved as the run proceeds, so an interrupted job resumes where it left off instead of restarting from scratch — which is what makes hours-to-days runs practical.
🔌 Recommended Hardware
A reliable connection keeps long parallel runs alive. Featured pick below.
The Bottom Line
The teams that internalize harness design before the rest of the market are the ones shipping reliable, auditable agents at production scale. The rest are still chaining prompts by hand. The shift from prompt engineering to harness design is the defining developer skill of 2026 — and with Opus 4.8 and dynamic workflows, the tooling is finally here to practice it. Start small, trust your gates, and let Claude build the scaffolding.
