AI GLOSSARY · AGENTS AND AGENT TOOLING
Human in the loop (HITL)
Definition
Human in the loop (HITL) is a design in which a person takes part in running an automated system, for example by labelling data, or by approving, correcting or overriding its outputs and actions before they take effect.
Also called: HITL, human-in-the-loop, human in the loop AI, human-in-the-loop AI, human in the loop agents.
In plain language
Human in the loop means a person stays part of an automated process instead of leaving it entirely to the machine. A coding agent that asks 'run this command?' and waits for your yes is one case: nothing happens until you answer. The same idea appears earlier, when people label examples to train a model. The main limitation is the person. IBM notes that people can tire, get distracted or disagree, and Anthropic's agent guidance says human review stays crucial for coding agents, so a checkpoint only helps if someone actually reads it. A prompt you click through without reading protects nothing. Checkpoints also cost time, which is why they are best kept for actions that are hard to undo, such as deleting files, pushing code to a shared branch or sending messages.
Technical definition
A human checkpoint sits between a model's proposal and its effect. In an agent loop, the model proposes a tool call, the surrounding harness pauses, and a person approves, edits or rejects it before it runs. Anthropic describes agents pausing for human input at checkpoints or when blocked. Claude Code implements this as allow, ask and deny permission rules that Claude Code itself enforces, not the model, so instructions in a prompt do not change them; its permission modes change who approves, from the user to a background classifier. IBM also describes training-time forms: humans label data, give feedback that trains a reward model (RLHF), or review only the cases a model flags as uncertain (active learning).
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Guide · Illustrative, not executed
Autonomous AI Agents: Risks and Guardrails
- What you see
- A worked example of a coding agent left running overnight that skips failing tests and pushes to a shared branch, then a list of guardrails: approval for high-impact actions, iteration caps, and a warning about approval fatigue.
- Why it exercises the concept
- It shows both sides of the concept: what an unattended agent can do when no person is in the loop, and how clicking through approvals without reading weakens a checkpoint.
Coding tool · Illustrative, not executed
Claude Code
- What to try
/permissions- What you see
- Claude Code lists the permission rules for the session. According to its permissions documentation, in manual mode it asks before running shell commands and editing files, except for a built-in set of read-only commands, and you can add allow, ask or deny rules.
- Why it exercises the concept
- Permission prompts are the most common human checkpoint in a coding session. The documentation also says rules are enforced by Claude Code, not by the model.
Skill by Jesse Vincent · Illustrative, not executed
requesting-code-review 31/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A step that asks for a review of finished work against the requirements before merging.
- Why it exercises the concept
- A review before merge is a checkpoint where someone reads the work before it lands. Who the reviewer is depends on how you set it up, so pair it with a person reading the change when the stakes are high.
Skill by Jesse Vincent · Illustrative, not executed
verification-before-completion 30/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A rule that the agent runs the checks and reads their output before it claims work is done.
- Why it exercises the concept
- It makes the agent's claim checkable. A person reviewing the result can then look at real command output rather than trust a summary.
How it shows up when you use agents
In a coding session, human in the loop mostly means approval prompts and code review. According to its permissions documentation, Claude Code in manual mode asks before it runs shell commands or edits files, except for a built-in set of read-only commands. Other modes change who approves: auto mode uses a background classifier, and bypassPermissions skips prompts, which the documentation says to use only in isolated environments such as containers or virtual machines.
What breaks when this is misunderstood:
- Prompts nobody reads. Approving everything on reflex turns a checkpoint into a delay. The autonomous agents guide calls this approval fatigue.
- Rules written as requests. Telling an AI agent in a prompt to be careful does not enforce anything. Claude Code's documentation says permission rules are enforced by the tool, not the model.
- Trusting the summary. A reported success is not a review. Read the diff and the command output.
Your next action: list the steps in your workflow that are hard to undo, such as deleting, pushing to a shared branch, sending messages or spending money. Set ask rules for those, allow the read-only steps, and review the diff before merging. This control over tool calling lives in the agent harness, outside the model.
Common confusions
- Human in the loop versus human oversight. Human in the loop is one design: a person acts inside the process. Human oversight is a broader requirement. The European Commission says high-risk systems must have appropriate human oversight measures, as set out in Article 14 of the EU AI Act, and that deployers handle oversight and monitoring once the systems are in use. A checkpoint is one way to meet it.
- Training versus run time. IBM describes people labelling data and giving feedback to train models. Approving an agent's actions in a live session is a different use of the same idea.
- An approval prompt versus a review. A prompt shows one action. A review looks at the whole change and whether it meets the goal.
- Myth: a person in the loop makes an agent safe. IBM lists tiredness, distraction and disagreement among the limits of human review. A checkpoint helps only when the person has the time and the information to judge.
Related terms
Show all 36 related terms
Terms that mention Human in the loop (HITL)
30 terms mention this one
- Active learning (machine learning)
- Agent loop
- Agentic browser
- Agentic coding
- AI alignment
- AI assistant
- AI automation
- AI bias
- AI fairness
- AI governance
- AI incident
- AI literacy
- AI slop
- AI tutor
- Autonomous agent
- Browser agent
- Cline
- Computer use
- Data labeling
- Flowise
- Guardrails
- Intelligent document processing (IDP)
- LangChain
- LangGraph
- Model Context Protocol (MCP)
- Plan mode
- Replit Agent
- Sandbox
- Scalable oversight
- Semantic Kernel
Guides that mention Human in the loop (HITL)
More in Agents and agent tooling
Sources
- What is human-in-the-loop?, IBM (accessed 2026-11-23)
- Building effective agents, Anthropic (accessed 2026-11-23)
- Configure permissions, Anthropic (Claude Code Docs) (accessed 2026-11-23)
- AI Act: regulatory framework for AI, European Commission (accessed 2026-11-23)
- Article 14: Human Oversight, EU Artificial Intelligence Act (artificialintelligenceact.eu) (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .
Change log (4)
- : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
- : First version.
- : Verifier pass: oversight sentence no longer names providers; added AI Act Article 14 source.
- : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.