Human in the loop
Some tool calls are too risky to run without a person saying yes. See how a run pauses on a refund, how your app records an approval or a rejection, and how the same run then continues.
11 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 11 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