Agentic AI · Advanced level

Advanced level · Module 2: Agent Orchestration · Lesson 4 of 4

Human-in-the-Loop Interrupts

Learners pause a graph before consequential steps, show the proposed action and evidence to a human, and resume only with explicit approval or a correction.

In this lesson you will

  • Pause a graph for human approval
  • Resume with approval, rejection or correction

Key concepts

interruptapproval requestresume with human inputrejection pathapproval log

The lesson

LangGraph can interrupt a run at a chosen point and wait for human input, then resume from the checkpoint with that input. This is how the capstone ensures that no consequential action happens without approval.

The approval request must show what will happen, why, the evidence and the risks. The reviewer can approve, reject (the graph ends safely) or correct (the graph continues with the change).

Log every request and decision with who decided and when. Approval must come from an authorised person through an authenticated channel, never from text the model or a document produced.

Step by step

  1. Add an approval node before the 'send report' step.
  2. Implement approve, reject and correct paths.
  3. Log each decision with reviewer and time.
  4. Test that rejection prevents the action.
Workflow

A multi-agent report workflow with a human approval gate

An orchestrator delegates to specialist agents and pauses for a person before anything leaves the system.

  1. Receive request

    An authenticated staff member asks: 'Summarise last quarter's attendance and fee-payment trends for the board.'

    staff member

  2. Plan and delegate

    The orchestrator writes a validated plan: retrieve the policy context, run two approved read-only queries, draft the report.

    orchestrator agent

  3. Retrieve documents

    The retrieval agent searches only collections the requester may see and returns passages with IDs.

    retrieval agent

  4. Analyse approved data

    The analysis agent runs parameterised, read-only queries on the approved dataset and returns figures with the query used.

    analysis agent

  5. Draft and verify

    The report agent drafts with references; an evaluator checks that every figure and claim is supported (at most two revisions).

    report and evaluator agents

  6. Human approval

    The graph pauses. A named manager sees the draft, evidence and the proposed action ('send to board members') and approves, corrects or rejects.

    authorised manager

  7. Act and log

    Only after approval is the report sent through the normal channel. The request, plan, tool calls, approval and outcome are written to the audit log.

    system (after approval)

Rejections and corrections are reviewed weekly; recurring problems become new evaluation tasks, and any change to agents or tools is re-tested before release.

Why it works

No agent can send messages, change records or move money on its own. All tools are read-only except the final send step, which runs only after logged human approval. If any step fails or exceeds its budget, the workflow stops and hands the request to staff with a note of what is missing.

Practice activity

Add a human approval interrupt to the capstone graph and test all three paths.

Expected result: No action happens without approval; rejections end safely; all decisions are logged.

Check your understanding

  1. What must an approval request show?

    Show answer

    What will happen, why, the evidence and the risks.

  2. Why must approval never come from model or document text?

    Show answer

    That text could be manipulated; approval must come from an authorised person.

Further learning

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.