Human-in-the-Loop AI Systems: How Human Oversight Works
What human-in-the-loop AI means, how in-, on- and out-of-the-loop differ, how approval gates work in AI agents, and what the EU AI Act and NIST expect.
A human-in-the-loop (HITL) AI system is one where a person must review, approve, correct or be able to stop the AI's work at defined points, rather than letting it run fully on its own. The term covers humans labelling training data, humans rating model outputs, and, increasingly, humans approving the actions of AI agents before they send an email, move money or change a database. Good HITL design puts people where their judgment changes outcomes; bad design turns them into a rubber stamp.
In the loop, on the loop, out of the loop
The clearest definitions come from military policy, where the stakes forced precise language. A Congressional Research Service primer on US Department of Defense Directive 3000.09 (most recently updated in January 2023) describes three categories [5]:
- Human in the loop: semi-autonomous systems that act only on targets a human operator has selected.
- Human on the loop: human-supervised autonomous systems, where operators can monitor and halt the system's actions.
- Human out of the loop: fully autonomous systems that, once activated, act without further human intervention.
The directive itself doesn't demand manual control. It requires that systems allow "appropriate levels of human judgment over the use of force," and the CRS, quoting a 2018 US government white paper, notes that what counts as "appropriate" can differ across weapon systems, domains and operational contexts [5]. That's a useful principle for civilian AI, too: the right level of oversight depends on what the system can do. Our coverage of AI ethics in autonomous weapons explores the moral debate.
Translated to business software:
Mode | What the human does | Typical AI example | Main risk |
|---|---|---|---|
In the loop | Approves each consequential action before it runs | Agent drafts a refund; a person clicks approve | Approval fatigue, slow throughput |
On the loop | Monitors live and can intervene or stop | Agent processes tickets; a supervisor watches a dashboard with a stop control | Missing problems in time |
Out of the loop | Reviews after the fact, if at all | Spam filtering, autocomplete | Errors accumulate unnoticed |
Where humans sit in the AI lifecycle
"Human in the loop" means different things at different stages.
Training and alignment
Modern chat models are shaped by human judgment. The 2022 InstructGPT paper described labellers writing example answers and ranking model outputs; those rankings trained a reward signal for reinforcement learning from human feedback (RLHF). Human evaluators preferred outputs from the 1.3-billion-parameter InstructGPT model over the 175-billion-parameter GPT-3, despite about 100 times fewer parameters [6]. See generative AI explained for more on how training works.
Evaluation and testing
Before deployment, people review outputs, red-team for failures and decide whether a system is fit for purpose. NIST's AI Risk Management Framework, released January 26, 2023 for voluntary use, organizes this work into its Govern, Map, Measure and Manage functions [4].
Operation
This is where agents have changed the picture. A chatbot only produces text a person reads. An agent can act. Once a model can call tools, as explained in our guide to AI agent tools and function calling, oversight has to happen before the action, not after.
How HITL works in AI agents
The standard pattern is an approval gate: the agent proposes a tool call, the system pauses, a person approves, edits or rejects it, and the agent resumes. The leading frameworks implement it in similar ways.
OpenAI Agents SDK. Developers mark a tool with needs_approval, either always or through a function that decides per call. When a call needs a decision, the run stops and returns pending "interruptions." A reviewer approves or rejects each one, and the run resumes. The paused state can be saved as JSON and reloaded later, so an approval can wait hours [9]. The documentation adds two cautions: approval permits a tool call but "does not guarantee exactly-once execution," so consequential tools need idempotency keys; and approval state should live on the server, with every reviewer authenticated and authorized [9].
LangGraph. Calling interrupt() inside a graph node pauses execution and sends a payload to the caller; a checkpointer saves state, and the graph resumes when invoked with Command(resume=...). Documented patterns include approve-or-reject, editing generated content and reviewing tool calls before they run [10]. Because the node restarts from the beginning on resume, any side effects before the interrupt must be safe to repeat [10].
Model Context Protocol. The MCP specification says that for trust, safety and security "there SHOULD always be a human in the loop with the ability to deny tool invocations," and that applications should show which tools are exposed, signal when tools are invoked and present confirmation prompts [7]. It also recommends showing tool inputs to the user before calling the server, to avoid accidental or malicious data exfiltration [7].
Checkpoints and blockers. Anthropic's guidance on agents notes they can "pause for human feedback at checkpoints or when encountering blockers," and recommends stopping conditions such as a maximum number of iterations [11].
Why HITL matters for safety and security
Human approval is one of the main defences against excessive agency, the OWASP risk in which an LLM-based system takes damaging actions because of hallucination, prompt injection or a malfunction. OWASP's 2025 guidance lists "require user approval" for high-impact actions alongside least-privilege permissions and minimal tool sets [8]. OWASP's 2025 prompt injection guidance likewise lists "require human approval for high-risk actions" [14]. Prompt injection can arrive hidden in documents or web pages an agent reads; our guide to RAG security and prompt injection explains how.
But a human checkpoint is a target, too. The OWASP Top 10 for Agentic Applications, published in December 2025, includes "Human-Agent Trust Exploitation" as one of its ten risks [13]. If an agent can be manipulated into presenting a harmful action persuasively, the approval step becomes the attack path.
The rubber-stamp problem
Adding a person doesn't guarantee oversight. Two human factors undermine it.
Automation bias. NIST's Generative AI Profile (NIST AI 600-1, July 2024) describes automation bias as "excessive deference to automated systems" and warns that people may come to over-rely on generative AI or see its output as higher quality than other sources. It notes automation bias can make other risks, such as confabulation, worse [3]. The EU AI Act explicitly requires that people overseeing high-risk systems be kept aware of this tendency [1].
Approval fatigue. When every action needs a click, people stop reading. The researchers behind CaMeL, a 2025 defence against prompt injection that asks users to confirm policy-violating actions, list user fatigue from frequent denials as a limitation of their own approach [12].
Design choices that help:
- Gate by risk, not by default. Read-only lookups rarely need approval; payments, deletions, external messages and permission changes do.
- Show the exact action. Display the tool name and arguments in plain language, plus what will change. Truncated or summarized requests hide problems.
- Make "reject" as easy as "approve," and let reviewers edit arguments instead of only accepting or refusing.
- Give context, not just a button. Show the sources the agent relied on, so a reviewer can check rather than trust.
- Track override rates. If reviewers approve nearly everything, either the gate is unnecessary or the reviewers have stopped looking. Either way, investigate.
- Keep a stop control for systems humans supervise on the loop.
What regulators expect
European Union
Article 14 of the EU AI Act sets human oversight requirements for high-risk AI systems. They must be designed so that people can effectively oversee them while in use [1]. Oversight measures must be proportionate to the system's risks, autonomy and context, and may be built in by the provider or implemented by the deployer [1]. The people assigned to oversight must be enabled, as appropriate, to [1]:
- understand the system's capabilities and limitations and monitor it, including spotting anomalies;
- remain aware of automation bias;
- correctly interpret its output;
- decide not to use it, or to disregard, override or reverse its output;
- intervene or stop it through "a 'stop' button or a similar procedure."
For the biometric identification systems listed in Annex III, point 1(a), no action may be taken on an identification unless at least two qualified people have separately verified it, with narrow exceptions for law enforcement, migration and border uses where law deems this disproportionate [1].
Timing (as of November 2026): The AI Omnibus amendment, published in the EU's Official Journal on July 24, 2026, moved the high-risk obligations from August 2, 2026, to December 2, 2027, for stand-alone (Annex III) systems and August 2, 2028, for AI in products covered by EU product law (Annex I) [2][15]. The amendment is Regulation (EU) 2026/1744, the Digital Omnibus on AI [15].
United States
There is no single federal human-oversight mandate for commercial AI. NIST's AI RMF and its Generative AI Profile are voluntary frameworks, and the Profile treats "Human-AI Configuration," including automation bias and over-reliance, as one of 12 risks that generative AI creates or worsens [3][4]. NIST says the AI RMF is being revised as part of the White House AI Action Plan [4]. In defense, Directive 3000.09's "appropriate levels of human judgment" standard governs autonomous weapon systems [5].
Real-world uses
- Agent approvals in developer frameworks. OpenAI's Agents SDK and LangGraph both ship approval gates as standard features, as described above [9][10].
- Tool consent in AI apps. The MCP specification asks host applications to confirm tool use with users [7].
- Model training. RLHF relies on human rankings of model outputs [6].
- Autonomous systems in defense, governed by DoD Directive 3000.09 [5].
For a broader look at autonomous agents in business workflows, see our roundup of the leading AI agents of 2025 and our comparison of AI agents and AI assistants.
Benefits and limitations
Benefits:
- Catches errors and hallucinations before they cause harm.
- Limits the damage from prompt injection and misuse.
- Creates accountability: a named person approved the action.
- Meets regulatory expectations for high-risk uses.
- Generates feedback data to improve the system.
Limitations:
- Slows workflows and limits scale.
- Fails quietly when reviewers rubber-stamp.
- Can be manipulated if the agent presents misleading summaries.
- Needs careful engineering: durable pauses, authentication of reviewers and idempotent actions [9][10].
How to design human oversight for an AI system
- List every action the system can take and rate each by impact and reversibility.
- Choose a mode per action: in the loop for irreversible or high-impact actions, on the loop for high-volume reversible ones, out of the loop only for low-stakes tasks.
- Enforce limits in code, not prompts. Approval requirements belong in the tool layer, where the model can't talk its way around them.
- Design the review screen with full arguments, sources and an edit option.
- Train reviewers on the system's limits and on automation bias, as Article 14 expects for high-risk systems [1].
- Log decisions and monitor approval and override rates.
- Revisit regularly. As a system proves itself, some gates can move from in the loop to on the loop; new tools should start gated.
Our companion guide on AI agent security and governance covers the identity, permission and audit controls that sit alongside human oversight.
Frequently asked questions
What is the difference between human-in-the-loop and human-on-the-loop?
In the loop means a person must approve an action before it happens. On the loop means the system acts on its own while a person monitors and can intervene or stop it [5]. In-the-loop is safer for high-impact actions; on-the-loop scales better for high-volume, reversible ones.
Does the EU AI Act require human-in-the-loop?
It requires effective human oversight for high-risk AI systems, which is broader than approving every action. Overseers must be able to understand, monitor, override and stop the system [1]. Under the July 2026 amendment, these obligations apply from December 2027 or August 2028, depending on the system type [2].
Is RLHF a form of human-in-the-loop?
Yes, at the training stage. In RLHF, people write demonstrations and rank model outputs, and those rankings train the reward signal used to fine-tune the model [6]. That's different from operational HITL, where people oversee a deployed system's decisions.
Can human approval stop prompt injection attacks?
It reduces the damage, and OWASP lists human approval for high-risk actions as a mitigation [8]. It isn't a complete fix: reviewers can be misled by persuasive summaries, and OWASP's agentic list names human-agent trust exploitation as a risk in its own right [13]. Combine approvals with least privilege and input isolation.
How do I avoid approval fatigue?
Gate only consequential actions, show exactly what will happen, and monitor how often reviewers approve without changes. Researchers have flagged fatigue from frequent confirmation requests as a real limitation [12].
Sources
- EU AI Act, Article 14: Human Oversight, via AI Act Explorer. https://artificialintelligenceact.eu/article/14/
- Future of Privacy Forum. "The AI Act Implementation Timeline: What Changes Under the AI Omnibus?" 2026. https://fpf.org/blog/the-ai-act-implementation-timeline-what-changes-under-the-ai-omnibus
- NIST. "Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile" (NIST AI 600-1). July 2024. https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf
- NIST. "AI Risk Management Framework." https://www.nist.gov/itl/ai-risk-management-framework
- Congressional Research Service. "Defense Primer: U.S. Policy on Lethal Autonomous Weapon Systems" (IF11150). Updated January 2, 2025. https://www.congress.gov/crs_external_products/IF/PDF/IF11150/IF11150.14.pdf
- Ouyang, L. et al. "Training language models to follow instructions with human feedback." arXiv:2203.02155, March 2022. https://arxiv.org/abs/2203.02155
- Model Context Protocol. "Tools." Specification revision 2026-07-28. https://modelcontextprotocol.io/specification/2026-07-28/server/tools
- OWASP GenAI Security Project. "LLM06:2025 Excessive Agency." https://genai.owasp.org/llmrisk/llm062025-excessive-agency/
- OpenAI. "Human-in-the-loop." OpenAI Agents SDK documentation. https://openai.github.io/openai-agents-python/human_in_the_loop/
- LangChain. "Interrupts." LangGraph documentation. https://docs.langchain.com/oss/python/langgraph/interrupts
- Anthropic. "Building effective agents." December 19, 2024. https://www.anthropic.com/engineering/building-effective-agents
- Debenedetti, E. et al. "Defeating Prompt Injections by Design." arXiv:2503.18813, March 2025. https://arxiv.org/abs/2503.18813
- OWASP GenAI Security Project. "OWASP Top 10 for Agentic Applications." December 9, 2025. https://genai.owasp.org/2025/12/09/owasp-top-10-for-agentic-applications-the-benchmark-for-agentic-security-in-the-age-of-autonomous-ai/
- OWASP GenAI Security Project. "LLM01:2025 Prompt Injection." https://genai.owasp.org/llmrisk/llm01-prompt-injection/
- Regulation (EU) 2026/1744 of the European Parliament and of the Council of 8 July 2026 (Digital Omnibus on AI). Official Journal, July 24, 2026. https://eur-lex.europa.eu/eli/reg/2026/1744/oj