Custom workflows and choosing an architecture
Notebook· 09.05· 120–150 min· Lesson 76 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
- Build a custom workflow as a LangGraph graph that mixes deterministic steps with model/agent steps (Pattern C: the refund path).
- Decide which steps must be code (policy, validation, approval) and which may be a model.
- Embed the workflow next to agents: refunds through the graph, everything else through the handoffs desk.
- Compare every design of this module on the 15-conversation test set in one table.
- Write an architecture decision record (ADR) from measured numbers, including when a harness (Module 11) is the better tool.
Before you start
Lessons 09.01–09.04; Module 07 (graphs); Module 08 (interrupts, subgraphs).
