RunState and durable approvals
An approval can take hours, and servers restart. See a paused run saved as text, loaded by another process the next day and resumed. Then see what a crash after a payment does, and how to add new user input to a paused run.
13 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 13 minutes.
In this module: Guardrails and human control
- GuardrailsCheck input, output and tool calls, and stop a run on a tripwire.Pro
- Human in the loopPause for approval, then resume.Pro
- RunState and durable approvalsSave a paused run, resume it later and survive restarts.Pro
- Decisions API with agentsUse classification answers in guardrails, approvals and routing.Pro