- In short
- The four workflow sub-patterns are prompt chaining (fixed sequential steps where each output feeds the next), routing (an initial classification sends the request down one of several fixed paths), parallelization (independent sub-tasks run concurrently and results are aggregated), and evaluator-optimizer (a generation step is checked by an evaluator step and refined until it passes). Each is a fixed, human-designed control flow suited to a different task structure.
Four ways to fix a control flow
Once a problem calls for a workflow, a fixed, human-designed sequence of calls, the next question is which workflow shape fits. The Claude Certified Architect - Professional (CCAR-P) exam treats the four sub-patterns as an understand-level skill because they are frequently confused, and choosing the wrong one produces a control flow that fights the task's structure. Prompt chaining, routing, parallelization, and evaluator-optimizer each encode a different relationship among the steps: sequential dependence, mutually exclusive paths, independent concurrency, and generate-then-check. Matching the shape to how the sub-tasks actually relate is the skill.
All four are workflows, so the sequence in each is predetermined by the designer, not chosen by the model at runtime. What differs is the topology of the steps. Getting that topology right is what separates a workflow that flows naturally from one that forces the work into the wrong structure.
The four are not mutually exclusive. Most production workflows combine more than one, a router that dispatches to several chains, or a parallelized fan-out whose aggregate is then wrapped in an evaluator-optimizer check, and the reliable move is to reach for the simplest composition that meets the task's error tolerance and observability needs rather than the most elaborate one available. Treat the choice as revisable: ship the simpler shape, measure it against production data, and escalate to a heavier composition only when the measurement shows the simpler pattern falling short.
- Workflow sub-patterns
- The four fixed, human-designed control flows for a workflow: prompt chaining (sequential steps where each output feeds the next), routing (an initial classification sends the request down one of several fixed paths), parallelization (independent sub-tasks run concurrently and results are aggregated), and evaluator-optimizer (a generation step is checked by an evaluator and refined until it passes).
Chaining and routing
Prompt chaining fits a task that is genuinely a sequence: extract fields, then classify the result, then summarise, where each step consumes the previous step's output and the order is fixed in advance. It is the right shape when the sub-tasks have a strict dependency chain, one thing must happen before the next can, and the sequence is known at design time.
Routing fits a task that splits into mutually exclusive paths. An initial classification step labels the request, and based on the label the request is sent down exactly one of several fixed paths, as in ticket triage where a billing question and a technical question take different handlers. The defining property is one-of-many: each request follows a single path chosen by the classification, and the paths are distinct enough that classifying between them is meaningful.
Parallelization and evaluator-optimizer
Parallelization fits a task whose sub-tasks are independent and can run at once. Several sub-tasks execute concurrently and their results are aggregated, which reduces latency compared with doing them one after another. The defining property is many-at-once: the request needs multiple pieces of work done in parallel, not one path selected. This is precisely where routing is often mistakenly chosen, because both involve multiple possible pieces of work, but routing picks one and parallelization runs many.
Evaluator-optimizer fits a task where output quality can be checked against a rubric. A generation step produces a candidate, an evaluator step checks it, and if it fails, the generation is refined and re-checked until it passes. The defining property is a checkable rubric: the evaluator has to be able to judge correctness, or the check is empty. On a task with no checkable rubric, the evaluator step cannot actually judge the output, which is the pattern's failure mode.
What the CCAR-P exam trips candidates on
The exam tests two traps. The first is choosing routing when the real need is parallelization, because the request needs multiple paths at once, not one path chosen. A scenario will describe work that requires several independent pieces done concurrently, and the trap is to reach for routing because both patterns involve multiple candidate paths. The credited answer notices the sub-tasks are independent and simultaneous, which is parallelization, not routing's one-of-many selection.
The second is using evaluator-optimizer for a task with no checkable rubric, producing an evaluator step that cannot actually judge correctness. A scenario will apply a generate-then-check loop to output whose quality is a matter of judgment, and the reliable reading recognises that without a rubric the evaluator is decorative, and either a different pattern or a human-escalation path is needed.
Worked example
A market-research system must, for each company in a list, gather news, financials, and competitor mentions, then combine them into a profile. A designer proposes a routing workflow that classifies each company and sends it to a handler. Another proposes running the three gathering tasks concurrently per company and aggregating. Which workflow sub-pattern fits, and why is routing wrong here?
Look at how the three gathering tasks relate. For each company, news, financials, and competitor mentions are independent pieces of work, none depends on another's output, and all three are needed. That is the signature of parallelization: many pieces of work at once, aggregated into one result. Running them concurrently also reduces latency compared with doing them sequentially.
Routing is the wrong shape because routing is one-of-many: it classifies a request and sends it down a single path. But this task does not need one of the three gathering tasks chosen, it needs all three done. Reaching for routing here is the exact trap of confusing one-path-selected with many-paths-at-once. The classification step routing adds would be meaningless, since there is no single path to select.
The credited design is parallelization within each company's processing, gather the three inputs concurrently, then aggregate into a profile, and if the companies themselves are independent, the whole list can be parallelized too. If the profiles later needed a quality check against a rubric, an evaluator-optimizer step could wrap the aggregation, but only if that rubric is genuinely checkable. The pattern follows the step topology: independent and simultaneous means parallelization.
Common misreadings to avoid
Misconception
Routing is the pattern whenever a request could go down more than one path.
What's actually true
Misconception
An evaluator-optimizer loop improves any task by adding a checking step.
What's actually true
How this shows up on the exam
Domain 1 questions on this knowledge point describe a task's step structure and ask which workflow sub-pattern fits, or critique a mismatched one. The reliable reading reads the topology: sequential dependence is chaining, one-of-many is routing, many-at-once is parallelization, and generate-then-check with a real rubric is evaluator-optimizer, and it rejects evaluator-optimizer where no checkable rubric exists.
These sub-patterns expand the workflow point on the autonomy spectrum. Evaluator-optimizer is also the automated mechanism in designing the feedback loop, and the sequencing judgement behind chaining and parallelization is the same one at work in dependency ordering in decomposition.
A content system must generate a marketing blurb and then verify it contains no prohibited claims, regenerating if it does, where 'prohibited claims' is a fixed, checkable list. Which workflow sub-pattern is the right fit?
People also ask
What are the four workflow sub-patterns?
What is the difference between routing and parallelization?
When does an evaluator-optimizer workflow break down?
Watch and learn
Official Anthropic Academy lessons first, then hand-picked walkthroughs. Videos load only when you press play.
No videos curated for this concept yet
We are still curating the best official and community videos for this topic.
Official prep for this domain
Anthropic's own free prep module for this part of the syllabus, on the official prep course. Free with an Anthropic Academy sign-in.
References & primary sources
Master this concept with Archie
Practice it inside an adaptive study session. Archie, your Socratic AI tutor, tracks your mastery with Bayesian Knowledge Tracing and schedules the perfect next review.