F1 · Human in the loop
Family: Oversight and operations
Checkpoints where a human approves, corrects or takes over.
Principle
At chosen points, execution stops so a human can approve, correct or take over: blocking approval, notification, question or agent inbox. Approval can target one specific tool call rather than the whole output. On resume, some frameworks restart the node from the beginning: side effects placed before the interruption must therefore be idempotent.
The problem it solves
An agent acting alone can carry out an irreversible or high-stakes action before anyone can stop it.
When to use it
- Actions are sensitive, irreversible or high-stakes (payment, large refund, cancellation), or failures exceed a threshold.
- You aim for partial autonomy: the agent prepares, the human keeps the final decision.
When to avoid it
- The agent’s reliability is measured and stable on the actions concerned: approval can then be relaxed gradually.
- There is no channel to reach the human: the approval queue, notification and resume have to be built first.
Common pitfalls
The anti-patterns that misuse this pattern, best established first. Each sheet describes the symptoms, the public incidents and the remedies.
Oversight, operations and governance
- AP73 · Premature human removal — Human teams are cut on the agent’s early numbers, and complex cases come back later, and angrier.
- AP72 · Rubber-stamp approval — The human approves almost everything, in seconds, on requests that do not show what is about to happen.
Synonyms by vendor
- Human-in-the-loop (Google Cloud, Google ADK, Microsoft)
- Agent Inbox (LangChain)
- Contact humans with tool calls (12-Factor Agents (facteur 7))
Neighbouring patterns
Sources
- Measuring Agents in Production — Pan et al., arXiv, 2025-12-02
- When the storm clears, so should the claim queue — Allianz, 2025-11
- Software is changing (again), notes de la conférence — Latent Space (A. Karpathy, YC AI Startup School), 2025-06-17
- Replit Agent (Breakout Agents) — LangChain
- A practical guide to building agents — OpenAI, 2025-04-17
- Interrupts (LangGraph) — LangChain
Content reviewed on 2026-10-02