Five Workflow Patterns
Prompt Chaining / Routing / Parallelization / Orchestrator-Workers / Evaluator-Optimizer
THE QUESTION THIS PAGE ANSWERS
ANSWER FIRSTWhat is the key idea behind “Five Workflow Patterns”?
Prompt Chaining / Routing / Parallelization / Orchestrator-Workers / Evaluator-Optimizer
Make the claim earn its place. Use this page as a decision aid, not a definition to memorize. Connect the idea to one real task, one observable result, and one failure that would change your mind.
Write one question you could answer with evidence after trying this idea.
A conclusion that sounds complete but leaves the key assumption untested.
Sectioning: Split a task into independent subtasks, process in parallel, then merge.
Voting: Run the same task with the same Prompt multiple times, take the majority/best result.
Real example – Voting: In content moderation, the same text is sent to 3 LLMs to judge whether it violates policy; the majority vote is the final decision.
| Pattern | Core Idea | Typical Use Case | Complexity |
|---|---|---|---|
| Prompt Chaining | Sequential chaining, step by step | Copywriting pipeline | Low |
| Routing | Classification-based routing, specialized handling | Intelligent customer service routing | Low |
| Parallelization | Parallel processing, aggregated results | Multi-dimensional code review | Medium |
| Orchestrator-Workers | Dynamic decomposition, distributed execution | Cross-file code modifications | Medium-High |
| Evaluator-Optimizer | Generate-evaluate, iterative refinement | High-quality translation | Medium |
How “Pattern 1” becomes executable
“Prompt Chaining / Routing / Parallelization / Orchestrator-Workers / Evaluator-Optimizer” is not about a magic phrase. It is about giving the model enough information to know who the work is for, what must be done, and what counts as acceptable.
Background sets direction; constraints set the boundary
“Prompt Chaining / Routing / Parallelization / Orchestrator-Workers / Evaluator-Optimizer” shows why a useful request separates the task, audience, source material, output format, and constraints. Without background, the model guesses. Without acceptance criteria, fluent text is not evidence that the task is complete.
More words do not guarantee a better result
Turn “Prompt Chaining / Routing / Parallelization / Orchestrator-Workers / Evaluator-Optimizer” into a small experiment: change only one of background, requirements, or constraints while keeping the rest fixed, then observe which layer actually changes the output.
From “Pattern 1” to “Pattern 2”
“Pattern 1” grounds the problem in “1 Prompt Chaining Prompt Chain Break a large task into multiple sequential steps , where each step's output becomes the next step's input. Each step is an independent LLM call focused on doing one thing well. Q…”. “Pattern 2” then moves it toward “2 Routing Router First classify the input , then route it to a specialized processing branch. Each branch can have its own Prompt, model, or tool configuration. Core value: separation of concerns — each branch…”. Together, they show that the lesson is not just a conclusion to remember, but a claim with conditions.
Carry the judgment into the next situation
Build a request layer by layer: task and audience first, material and output rules next, constraints and acceptance checks last. Change one layer at a time so you know what actually helped.
- “Pattern 1”: 1 Prompt Chaining Prompt Chain Break a large task into multiple sequential steps , where each step's output becomes the next step's input. Each step is an independent LLM call focused on doing one thing well. Q…
- “Pattern 2”: 2 Routing Router First classify the input , then route it to a specialized processing branch. Each branch can have its own Prompt, model, or tool configuration. Core value: separation of concerns — each branch…
- “Try It: Scheduler Simulator”: Prompt Chaining Routing Parallelization Orchestrator Evaluator Click the buttons above to see data-flow animations for each pattern Summary All Five Patterns at a Glance Pattern Core Idea Typical Use Case Compl…
The final “Try It: Scheduler Simulator” brings the discussion to “Prompt Chaining Routing Parallelization Orchestrator Evaluator Click the buttons above to see data-flow animations for each pattern Summary All Five Patterns at a Glance Pattern Core Idea Typical Use Case Compl…”. The useful thing to carry forward is knowing which judgments must be revisited when input, scale, or risk changes.
I turned one judgment from this article into a small experiment I could run today. Knowing what to observe next is more useful than simply remembering the conclusion.
After reading this, I first looked for the conditions behind the idea instead of copying the method into a project. That order made the later trade-offs much clearer.
When this judgment reaches real work, which constraint should be added first? I am curious which step matters most between reading and the first practical attempt.
No discussion on this article yet.