Workflow patterns
Notebook· 07.04· 150–180 min· Lesson 59 of 129
The notebook opens in your lab, in a new tab. If your server is stopped, it starts first (a few seconds).
By the end you can
- Implement the five canonical workflows: prompt chaining (with a gate), parallelization, routing, orchestrator-worker, evaluator-optimizer.
- Build an agent loop by hand (model node +
ToolNode+ a conditional edge), and see that it's whatcreate_agentbuilds for you. - Choose a pattern for a task: predictability, cost, latency and flexibility.
Before you start
Lessons 07.02–07.03.
