# Dynamic Workflows

> **TL;DR.** Dynamic Workflows is a Claude Code feature that lets Claude orchestrate dozens to hundreds of parallel subagents by writing a JavaScript script that holds the plan itself.

- **Category:** AI / Developer Tools / Infrastructure
- **Stage:** emergent
- **Age:** 19 days
- **Origin date:** 2026-05-28
- **First detected:** 2026-05-29
- **Canonical URL:** https://earlyterms.com/term/dynamic-workflows
- **Sources:** 6 primary URLs

## Definition

Dynamic Workflows is a Claude Code feature that lets Claude orchestrate dozens to hundreds of parallel subagents by writing a JavaScript script that holds the plan itself. The orchestration logic — loops, branches, intermediate state — lives in code rather than Claude's context window.

Anthropic launched Dynamic Workflows in research preview on [May 28, 2026](https://claude.com/blog/introducing-dynamic-workflows-in-claude-code), alongside Claude Opus 4.8. Jarred Sumner used the feature to rewrite Bun from Zig into 750,000 lines of Rust in eleven days, with 99.8% of the existing test suite passing, using hundreds of parallel agents for the port and an adversarial review loop.

## Example

A 500-file codebase migration can be written as a Claude Code dynamic workflow: one phase maps every API call, a second rewrites each file in parallel with independent agents, a third runs adversarial reviewers to cross-check the output, and a fourth drives the build until tests go green — all resumable and inspectable via `/workflows`.

## Analogy

Think of it as a conductor's score for AI agents: the script defines the whole symphony, agents play their parts in parallel.

## Why it's emerging now

Anthropic's May 28, 2026 launch of Dynamic Workflows in Claude Code introduced a new orchestration primitive: a generated JavaScript script that holds the plan so Claude's context only carries the final answer. The Bun-to-Rust rewrite (750K lines, 11 days, 99.8% tests passing) gave the term a concrete benchmark story. Available immediately on Max, Team, and Enterprise plans plus the API.

## Related terms

- *parent:* Claude Code
- *related:* parallel-agents
- *related:* managed-agents
- *related:* agent-teams
- *related:* long-running-agents
- *child:* deep-research
- *related:* token-maxxing
- *related:* bun-s-rust
- *parent:* coding-agents
- *related:* agent-harness
- *child:* ultracode
- *child:* subagents

## Sources

1. [Anthropic — Introducing Dynamic Workflows in Claude Code (May 28, 2026)](https://claude.com/blog/introducing-dynamic-workflows-in-claude-code)
2. [Claude Code Docs — Orchestrate subagents at scale with dynamic workflows](https://code.claude.com/docs/en/workflows)
3. [Anthropic — Introducing Claude Opus 4.8](https://www.anthropic.com/news/claude-opus-4-8)
4. [Hacker News — Dynamic Workflows in Claude Code (149 pts, 115 comments)](https://news.ycombinator.com/item?id=48311705)
5. [Cloudflare Blog — Introducing Dynamic Workflows: durable execution that follows the tenant (May 1, 2026)](https://blog.cloudflare.com/dynamic-workflows/)
6. [Ken Huang — Claude Code Orchestration: Dynamic Workflows analysis](https://kenhuangus.substack.com/p/claude-code-orchestration-dynamic)

---
_Generated by EarlyTerms · https://earlyterms.com/term/dynamic-workflows_
