Workflow patterns
For engineers
Prompt chaining, routing, parallelization, orchestrator-workers and evaluator-optimizer, and how to combine them
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
In a prompt chain, what is a code gate?
Check yourself · 2 of 5
What does routing do in a workflow?
Check yourself · 3 of 5
What is the difference between sectioning and voting?
Check yourself · 4 of 5
When is orchestrator-workers a better fit than a fixed chain?
Check yourself · 5 of 5
A pipeline classifies a ticket, extracts fields, validates them, drafts a reply, then scores and revises it up to twice. Which patterns does it use?
Topics
- Prompt chaining with code gates4 min read · Splitting a task into sequential LLM calls with programmatic checks between steps that stop bad output early
- Routing inputs to specialised handlers4 min read · Classifying an input and dispatching it to the prompt, tool or model suited to it, with a fallback for unclear cases
- Parallel sectioning and voting4 min read · Running independent subtasks at once, or the same task several times, and merging or voting on the results
- Orchestrator-workers and evaluator-optimizer loops5 min read · A lead model splitting work dynamically across workers, and a generator-critic loop that refines output against criteria
- Combining patterns in production pipelines4 min read · Mixing routing, chains and evaluator loops in one system while keeping each step measurable and debuggable
Start here
- Building effective agents (Anthropic) (opens in a new tab)ArticleFree
Defines the five workflow patterns in this skill and when each earns its added cost.
- Workflows and agents (LangGraph docs) (opens in a new tab)DocsFree
Runnable code for chaining, routing, parallelization, orchestrator-workers and evaluator-optimizer.
- How we built our multi-agent research system (Anthropic) (opens in a new tab)ArticleFree
A production orchestrator-workers system, with the failures and trade-offs the team met.
Scenarios
Helps to know first
110 questions · last verified 2026-12