Skip to content
mentoor

Workflow patterns

For engineers

Prompt chaining, routing, parallelization, orchestrator-workers and evaluator-optimizer, and how to combine them

See where you stand

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?

Choose one answer

Check yourself · 2 of 5

What does routing do in a workflow?

Choose one answer

Check yourself · 3 of 5

What is the difference between sectioning and voting?

Choose one answer

Check yourself · 4 of 5

When is orchestrator-workers a better fit than a fixed chain?

Choose one answer

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?

Choose one answer

Topics

  1. Prompt chaining with code gates4 min read · Splitting a task into sequential LLM calls with programmatic checks between steps that stop bad output early
  2. 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
  3. Parallel sectioning and voting4 min read · Running independent subtasks at once, or the same task several times, and merging or voting on the results
  4. 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
  5. 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

110 questions · last verified 2026-12