BD Brain Drip
🙋
Module 05 4 concepts

Human-in-the-Loop

Approval flows, interrupts, and human oversight.

01

Approval Gates

An approval gate is a graph pattern where the agent proposes an action, pauses for human approval via interrupt(), then executes or cancels based on the human’s response.

02

Content Review Pattern

The content review pattern uses interrupt() to surface agent-generated content for human review and optional editing before the content is used downstream.

03

Interrupt and Resume

The interrupt() function from langgraph.types pauses graph execution, surfaces a payload to the caller, and waits for human input before resuming via Command(resume=value).

04

Tool-Level Approval

Tool-level approval places an interrupt() call inside individual tool functions, pausing execution for human review before the tool’s side effect runs, with support for parameter modification.