Forward-deployed / AI Knowledge Graph
Agentic workflowsa Generative AI module
Recap

Agentic workflows — recap & real-world examples

Real-world examples & war stories

A multi-agent system that won, and what it cost (2025). In June 2025 Anthropic described its multi-agent research system. A lead agent split a question and sent subagents to search in parallel. On Anthropic's internal research evaluation, it beat a single-agent Claude Opus 4 by 90.2%, as of June 2025. The lead was Claude Opus 4 and the subagents were Claude Sonnet 4. It also used about 15 times the tokens of a chat, against about 4 times for a single agent. 🎯 Takeaway: parallel workers can win on broad research. They multiply cost. Estimate both before you add an agent.

The same article says where it does not fit. Anthropic notes that most coding tasks "involve fewer truly parallelizable tasks than research." It also says agents are "not yet great at coordinating and delegating to other agents in real time." 🎯 Takeaway: the pattern depends on the task. Check how much of your work is truly independent. See choosing a pattern.

The counter-view, and its update (2025 and 2026). In June 2025 Cognition, which builds a coding agent, argued that agents working in parallel without shared context make conflicting decisions, because actions carry hidden decisions. In April 2026 it published a follow-up saying multi-agent setups now work in a narrow class of cases: the writes stay single-threaded, and the extra agents contribute intelligence rather than actions. 🎯 Takeaway: treat shared context as a design requirement for any multi-agent split. These summaries come from search-result excerpts. The original pages could not be opened.

Vague delegation (2025). Anthropic reports that when its lead agent gave short, vague tasks, subagents "misinterpreted the task or performed the exact same searches as other agents." Clear briefs with an objective, an output format and boundaries fixed it. 🎯 Takeaway: many multi-agent failures start as specification failures at the handoff.

Updating a system that is never idle (2025). Anthropic's research agents run for long periods, so a code update can land in the middle of a run. It used "rainbow deployments," which shift traffic gradually so running agents are not cut off. It also built agents to resume from where an error happened instead of restarting. 🎯 Takeaway: durability covers deployments too, not only crashes.

The refund that vanished (an illustration). A workflow waits three days for a manager's approval. The server restarts on day two. State was held in memory, so the request is gone and the customer never hears back. 🎯 Takeaway: any wait longer than one run needs saved state, a timer and an escalation path. See the worked example.

Module recap

Lesson The one idea The question it makes you ask
Choosing a workflow pattern Five common patterns. Pick the first one that fits. Which of the five is this, and could the one before it do the job?
Orchestrating more than one agent Every extra agent needs a named bottleneck. The cost is large. Would one better-built agent do this, and have we tried?
Making a workflow durable, and worth owning Durability comes first: saved state, waits, retries, safe repeats, undo. Ownership follows. If we restarted mid-run, would every workflow resume with nothing done twice?

The through-line: the word "workflow" adds two things a single agent run does not face. One is choosing a shape for several steps or agents. The other is surviving the real time a long process takes. In this module's view, many failures are not about the pattern chosen. They are an over-flexible pattern bought by default, vague handoffs, or a durability gap found on the first restart. This module stays at the decision level. The engineering depth lives in Multi-agent systems & protocols, Flowable and Agentic AI as a product.

Walk-away question: "For this workflow: do we know which pattern it is and why a simpler one would not do, does every added agent earn its cost, and would it survive a restart mid-run with nothing done twice?"

If yes, this is a workflow worth building. If no, you know which lesson to reread.

Test yourself

  1. Name the five workflow patterns.

    AnswerPrompt chaining, routing, parallelization, orchestrator-workers, and evaluator-optimizer. (Lesson 1)

  2. In which patterns does your code decide the path, and in which does a model decide?

    AnswerChaining, routing and parallelization keep the path in your code. In orchestrator-workers a model decides the path. In evaluator-optimizer a model decides when to stop. (Lesson 1)

  3. A task has three fixed steps and two input types. Which pattern should you start with, and why not orchestrator-workers?

    AnswerRoute, then a chain per type. The steps are known, so a model-led pattern adds cost and unpredictability for no gain. (Lesson 1)

  4. Why is an evaluator-optimizer loop risky without a limit?

    AnswerIt can run until the budget runs out. Set a round limit, and use a real check such as a test or rubric where you can. (Lesson 1)

  5. What does multi-agent cost, and when does it help?

    AnswerAnthropic measured about 15 times the tokens of a chat, against about 4 times for an agent. It helps on broad, parallel tasks with information beyond one context window. It suits tightly coupled work, such as much coding, less. (Lesson 2)

  6. What should a brief to a subagent contain?

    AnswerA goal, a scope, an output format, the sources to use, boundaries, and a stop rule. Vague briefs lead to duplicated or off-topic work. (Lesson 2)

  7. A workflow waits three days for an approval and the server restarts. What must already be true?

    AnswerState is saved to durable storage after each step, the wait has a timer, and the workflow can read its state back and continue. Each action is safe to repeat. (Lesson 3)

  8. Why do retries need idempotency keys?

    AnswerA retry or restart can run a step twice. A key makes the repeat return the same result instead of charging or sending twice. (Lesson 3)

Sources

  • Anthropic, How we built our multi-agent research system (Jun 13, 2025): the 90.2% result, 4x and 15x token figures, where multi-agent fits and does not, vague delegation, resuming from errors, and rainbow deployments. Checked 2026-09.
  • Anthropic, Building effective agents (Dec 2024): the five workflow patterns. Checked 2026-09.
  • Cognition, "Don't Build Multi-Agents" (Jun 2025) and "Multi-Agents: What's Actually Working" (Apr 2026). Search-result excerpts only; the pages could not be opened.
  • The refund story is an invented illustration.

Core insight: A workflow adds two problems a single agent run does not have: choosing a shape for many steps, and surviving the real time a long process takes.
Part of the learning modules collection.