Dashboard
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
51 small wins to finish your pathNext question →

Q14EasyConcept

Name the common agentic design patterns and when to use each.

30-second answerSay your answer out loud first, then reveal.
PatternHow it worksUse whenExample
Prompt chainingOutput of step 1 → input of step 2, with optional checks betweenTask splits into fixed stepsOutline → draft → translate
RoutingClassifier sends input to a specialised pathDistinct input categoriesBilling vs tech support vs refund
ParallelizationRun sub-tasks simultaneously (sectioning) or the same task several times (voting)Independent parts, or you need confidenceGuardrail check in parallel with answer; 3 votes on code vulnerability
Orchestrator-workersLead LLM decides subtasks at runtime and delegatesSubtasks unknown upfrontCode change touching unknown files; research
Evaluator-optimizerOne LLM generates, another critiques, loopClear quality criteria, iteration helpsTranslation polishing; code until tests pass
Autonomous agentLLM + tools in open loopOpen-ended, unpredictable stepsCoding agent, ops troubleshooting
An orchestrator delegates sub-tasks to three workers, and a synthesizer combines the workers' results.

Key insight: these compose. A production support system might route first, run a chained workflow for refunds, and an agent loop for technical troubleshooting, with an evaluator checking the final reply.

Follow-ups to expect

  • Orchestrator-workers vs parallelization? Parallelization's subtasks are predefined. The orchestrator decides them dynamically.

This is what real progress feels like.