Agent Foundations: sections and modules
Agentic Workflow Patterns
Chain prompts with quality gates between steps.
- Lessons
- 7 lessons
- By
- Sourav Banerjee
- Prerequisites
- None
Lessons
Start modulePractise and Check
- Deliverable
- Pattern mapping: rebuild query decomposition (M17) as orchestrator–worker and an answer-quality check as evaluator–optimizer, then compare latency and cost with the chain versions.
- Assessment
- Answer the five Interview questions without notes, then run the lab.
- Interview probe
- Larkspur's reply drafter is an evaluator-optimizer loop. After an evaluator model upgrade, p95 latency triples and cost per ticket doubles, but no request fails. What happened, and what do you change?
- Common mistakes
- Retrying the quality gate with the extractor at temperature 0
- Trying the cheap model first and escalating only on bad answers
- Wiring fixed workers with
add_edge, so the orchestrator's plan drives nothing
Your Progress
Saved in this browser when you leave the box.