A look inside · First page
Dynamic Workflows in Claude Code: A Complete Guide to Multi-Agent Harnesses
Load this book when:
- You are deciding whether a task should run as a Claude Code dynamic workflow instead of a single turn.
- You are choosing which of the six core workflow patterns (classify-and-act, fan-out-and-synthesize, adversarial verification, generate-and-filter, tournament, loop-until-done) fits a task.
- You are diagnosing agentic laziness, self-preferential bias, or goal drift in a long or parallel task.
- You are wiring
ultracode,/goal, or/loopinto a workflow and need the exact trigger and stop-condition mechanics.- You are routing subtasks across Haiku/Sonnet/Opus or setting a token budget for an orchestration.
- You want to understand Loop Engineering — designing systems that prompt agents, not prompting agents yourself.
- You need to build a durable agent loop with automations, worktrees, skills, sub-agents, and memory.
- You are choosing between a dynamic workflow (Claude writes the JS) and a deterministic workflow (you write it once and commit it).
- You need a multi-hour job (bulk API pull, large scrape, long batch export) to survive session restarts, background-task kills, and an absent user.
Author: Research compilation — Anthropic blog + Claude Code documentation + community research (Addy Osmani, Forward Future Loop Library, Boris Cherny)
Source: "A harness for every task" — Anthropic Blog, 2026 (Thariq Shihipar & Sid Bidasaria); "Loop Engineering" — Addy Osmani, June 2026; Forward Future Loop Library, June 2026
Target: Claude Code users who want to orchestrate multi-agent workflows for complex tasks
Last updated: 2026-08-22
Audience & governance: Marketplace (public) reference book — optimize for circulation and attribution (per Writing Books for AI Agents, Ch 13).
Valid as of: 2026-06-19, Claude Code v2.1.154+ (dynamic workflows GA). Refresh cadence: review every release that bumps subagent caps, model lineup, or the /goal//loop/ultracode surface (tactical/volatile domain — short cadence).
Add this book to your library to keep reading.




