Name the Five Common Workflow Patterns
The five workflow patterns from Anthropic's agent guide, when to use each, and where they cost more, explained simply for your AI interview.
In short
Anthropic's guide names five common workflow patterns: prompt chaining, routing, parallelization, orchestrator-workers and evaluator-optimizer. In each, code sets the path, unlike an agent, where the model picks its own steps.
10 min readIntermediateCommon · estimateFacts checked 26 November 2026
Say it out loud
Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.
Anthropic's guide names five common workflow patterns: prompt chaining, routing, parallelization, orchestrator-workers and evaluator-optimizer. In a workflow, my code sets the path the model follows. Chaining runs fixed steps in order. Routing sends each input to a specialist. Parallelization runs parts at once. Orchestrator-workers splits up a job whose steps are not known in advance. Evaluator-optimizer loops a writer and a checker until the result passes.
Anthropic lists five common workflow patterns in its guide on building agents, published on 19 December 2024. The guide notes that much of its tooling has changed since then, so check its current version. A workflow is a set of model calls and tools that run along a path the developer wrote in code. The five are prompt chaining, routing, parallelization, orchestrator-workers and evaluator-optimizer.
Prompt chaining runs fixed steps in order, with a code check between them. Routing sorts each input and sends it to a specialist. Parallelization runs independent parts at the same time, or runs one task several times and votes on the answers. Orchestrator-workers lets one model split a job into subtasks it could not list in advance. Evaluator-optimizer has one model write and another judge, in a loop, until the result passes.
The trade-off is the part I would explain. Routing a claims inbox so easy claims go to a smaller, cheaper model can cut the bill a lot, but a wrong route costs a customer days. So I would test the router on a labelled sample first, and watch its errors each week. Every pattern adds calls, so each one adds delay and cost too.
An agent is the step beyond these. There the model picks its own steps and tools in a loop, and that is why I keep agents apart from the five. I would start with the simplest setup that works, and only add an agent with stop limits and a person checking risky actions.
What are workflow patterns, in plain words?
A workflow is a set of steps where a language model (an LLM) does part of the work, and your code decides which step runs next. The model reads, writes or sorts. The code moves the job along and checks the result.
Think of a claims desk with a printed checklist. A clerk who follows the same steps for every claim works like a workflow. A senior adjuster who decides what to check next, and when to stop, works like an agent. In AI, a bot that reads each claim email and sends it to the right desk is a workflow. A bot that picks its own tools and loops until it finishes is an agent.
Anthropic draws the same line in its own words:
“Workflows are systems where LLMs and tools are orchestrated through predefined code paths.”
Anthropic
“Agents, on the other hand, are systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks.”
Anthropic
Key words
- Workflow
- Model calls and tools that run along a path your code wrote.
- Agent
- A model that picks its own next step and the tools it uses, such as search or a database lookup, in a loop.
- Augmented LLM
- A model given search, tools and memory. Anthropic calls it the building block.
- Gate
- A plain code check between two steps, such as a figure that must match the source.
- Orchestrator
- The one model that splits a job into parts and hands them out.
What are the five patterns?
Anthropic's guide has five workflow patterns. Each one is a way to split work between code and model calls.
- 1
Prompt chaining
Each model call feeds the next, with a gate in between. Use it when the task splits into fixed steps, and accept more delay for better accuracy.
- 2
Routing
A first call sorts each input into a category, and a specialist prompt or tool takes it from there. Each prompt stays focused, so one kind of input does not hurt another.
- 3
Parallelization
Parts of a task run at the same time (sectioning), or one task runs several times and the answers are combined (voting). Use it for speed, or for a second opinion on risky work.
- 4
Orchestrator-workers
One model splits the job into subtasks it could not list in advance, hands them to worker models, and combines the results. Coding tools that change many files use it.
- 5
Evaluator-optimizer
One model writes, another judges against clear criteria and sends back feedback. The loop repeats until the result passes. It needs criteria a checker can apply.
How does routing save money, and where does it break?
Take a motor and property insurer's claims inbox, with made-up numbers. Today every email goes to one large, costly model: 10,000 emails a day at 10 cost units each, so 100,000 units a day.
Now put a router first. Anthropic's guide gives the same idea for support questions: easy, common ones go to smaller, cost-efficient models, and hard ones go to more capable models. Say 8,000 emails are simple and cost 1 unit each, and 2,000 need the large model at 10 units. The day costs 8,000 plus 20,000, which is 28,000 units for the answers. The router reads every email too, so give it 1 unit each, which is 10,000 more. The day then costs 38,000 units, still 62% less, in this made-up case.
Routing one claims inbox
New claim email
free text from a policy holder
Router model
labels the claim type once
One specialist each
Motor claim
its own prompt and tools
Property claim
its own prompt and tools
Injury claim
a person checks it too
Right claims desk
the right desk gets it first
- 1The email goes to the router first.
- 2Motor claims go to the motor prompt.
- 3Property claims go to the property prompt.
- 4Injury claims go to their own prompt, and a person checks them.
- 5The motor result goes to the claims desk.
- 6The property result goes to the claims desk.
- 7The injury result goes to the claims desk, after a person checks it.
The risk is the router itself. A motor claim sent to the injury desk loses days, and a wrong route can cost more than the money saved. So test the router on a labelled sample first, and track its errors every week.
Tip
Asked how routing fails? Say a misrouted claim can cost more than the money saved, so measure both sides before you ship.
When is a workflow enough, and when do you need an agent?
Anthropic's advice is to start simple. Its guide recommends finding the simplest solution possible, and only increasing complexity when needed. For many tasks, one well-prepared model call with retrieval and a few examples is usually enough.
The evaluator-optimizer loop pays off only when a checker can tell good from bad. The guide names two signs of a good fit: a human's feedback makes the output better, and the model can give that feedback itself.
A writer and a checker in a loop
Contract and checklist
12 clause types the summary must cover
Writer model
drafts the clause summary
Checker model
scores the draft against the list
Summary passes
or stop after 3 rounds
- 1The writer starts from the contract and the checklist.
- 2The first draft goes to the checker.
- 3Missing items go back to the writer, who tries again.
- 4When every item passes, the summary moves on.
Set a round cap, such as three, because each round adds cost and waiting time.
An agent is the step beyond these. Anthropic describes agents as typically just LLMs using tools based on environmental feedback in a loop. Workflows offer predictability and consistency for well-defined tasks, and agents suit open-ended ones where you cannot hardcode the path.
Tip
Asked when to pick an agent? Say when the steps can't be listed in advance and you trust the model's choices, with stop limits and a human check on risky actions.
How would you pick a pattern for a new claims assistant?
Start by asking whether the steps are known. If they are, use a workflow: chaining for fixed steps, routing for sorted inputs. If the steps depend on each claim, use orchestrator-workers or an agent, with a step cap and a person signing off any payment decision.
Then measure before you add a loop or a second model. Compare cost, speed and error rate on a labelled sample. Each extra pattern adds calls, so each one adds delay and cost.
What does the interviewer want to hear?
A strong answer covers
- The five names: prompt chaining, routing, parallelization, orchestrator-workers and evaluator-optimizer.
- Workflow vs agent: code sets the path, or the model does.
- One real example for each pattern, from a team's work.
- The trade-offs: cost, delay and accuracy.
- Start simple, and add a pattern only when measured results justify it.
- Where the list comes from: Anthropic's own guide from 2024, so it is one company's view.
Common traps
Trap"Agents and workflows are the same thing."
BetterA workflow follows a path your code wrote. An agent picks its own path, with tools, in a loop.
Trap"Always use an agent. It is the most advanced option."
BetterAnthropic advises the simplest setup that works, because agents add cost, delay and risk.
Trap"Orchestrator-workers is just parallelization."
BetterIn parallelization the subtasks are fixed in advance. The orchestrator decides them from the input.
Can you spot the wrong pattern?
Spot the wrong note
Which of these four pattern notes describes the wrong pattern?
Quick check
A claims bot reads each claim, then chooses its own tools and stops when it decides the claim is complete. Which best describes it?
Can you answer these from memory?
Flash cards · tap a card to flip it
What will they ask next?
Learn it in depth
Last updated on 26 November 2026
Designing an AI workflow for a team's process?
I design and build AI products and agents, the screens and the system behind them. Book a short call and tell me what your process needs.