What is human-in-the-loop?
Human-in-the-loop is a control approach in which an action proposed by AI is reviewed and approved, rejected or corrected by a person before it takes effect.
It differs from human-on-the-loop in timing: human-on-the-loop monitors actions afterwards and steps in when needed, while human-in-the-loop approves before the action takes effect. Human oversight is the general principle; human-in-the-loop is one concrete way to apply it.
- Topic
- Agents and protocols
- Also known as
- HITL, human in the loop
How human-in-the-loop works
- Actions are classified by risk; irreversible ones such as payments, record deletion or sending to customers need approval.
- When AI proposes such an action, the flow pauses and the proposal goes to an authorised person at an approval gate.
- The approver sees the action, its rationale and its sources, then approves, rejects or corrects it.
- The decision is logged with person and time; corrections can feed model evaluation.
In more detail
Trigger thresholds and exception routing
In agentic workflows, approval gates are triggered using explicit criteria such as action reversibility, monetary thresholds, data sensitivity or model confidence scores. Low-confidence outputs can be automatically routed to a review queue (exception handling) rather than halting every request.
Asynchronous state persistence, timeouts and separation of duties
Approval gates make workflows asynchronous: while waiting for a human decision, agent state must be persisted safely and timeouts or escalation paths must be defined so tasks do not stall indefinitely. Separating the requester from the approver (segregation of duties) prevents self-approval abuse.
Countering automation bias and approval fatigue
When approvers see too many routine prompts, approval fatigue and automation bias set in, causing reviewers to rubber-stamp mistakes. Effective interfaces highlight what changed, show risk indicators, surface verifiable source links and measure override rates to detect superficial reviews.
Commonly confused terms
| Term | How it differs |
|---|---|
| Human oversight of AI | Human oversight is the overarching governance and regulatory principle (e.g., EU AI Act Article 14), whereas HITL is one specific technical workflow pattern used to implement it. |
| RLHF | RLHF/preference tuning uses human rankings offline during model alignment, whereas operational HITL pauses live workflows at runtime or routes low-confidence exceptions for human resolution. |
Why human-in-the-loop matters for on-premises AI
It is often a precondition for using AI agents in an organisation: models make mistakes or can be steered by prompt injection, so a person makes the final call on irreversible actions. It is not needed for everything; waiting for approval on low-risk reading or summarising slows work needlessly. Which actions need approval is set by risk assessment (agent autonomy level). Approvers need enough information and time to genuinely review; otherwise approval becomes a formality.
This page gives general information and is not legal advice.
A bank's credit assistant proposes a limit increase for a customer; the change is processed only after a credit officer reviews and approves the proposal and its rationale.
Common questions
Does every AI action need human-in-the-loop?
No. Low-risk reading, search and summarising do not. Irreversible, high-impact actions such as payments, record deletion or external sending do.
How does human-in-the-loop differ from human-on-the-loop?
Human-in-the-loop approves before an action takes effect. Human-on-the-loop monitors actions afterwards and stops or corrects them when needed.
Related terms
- Human-on-the-loop
- AI approval gate
- Human oversight of AI
- Agent autonomy level
- AI agent
- Agentic workflow
- Prompt injection
- AI excessive agency
Sources
- Wu et al., A Survey of Human-in-the-loop for Machine Learning, 2021
- OWASP Top 10 for LLM Applications 2025, LLM06: Excessive Agency
In the glossary: Glossary, E to L