# Human in the loop

> Human in the loop is a design approach in which an automated or AI system pauses for a person to review, correct or approve its work at defined points, so that judgement and accountability stay with people where mistakes would be costly.

Also called: HITL, human review, human approval, human oversight, human-in-the-loop. Category: Agents and automation. Source: https://aibuildindex.com/glossary/human-in-the-loop

## In the index

- Back-office automation: median $2,400, middle half $450 to $6,400, 5,053 priced briefs (https://aibuildindex.com/cost/back-office-automation)
- Document data extraction: median $1,400, middle half $250 to $5,000, 423 priced briefs (https://aibuildindex.com/cost/document-data-extraction)

Human in the loop means building a system so that a person checks its work at the moments that matter. An AI might draft a customer reply, extract figures from an invoice or decide to issue a refund, but a person approves before the action is final. For a business buyer this is often what makes automation acceptable to the people responsible for the outcome, and in some regulated uses it is expected by law.

## How it works

There are several common patterns:

- **Approval before action.** The system prepares an action, such as sending an email or posting a payment, and waits for a person to approve, edit or reject it.
- **Exception review.** Only items below a confidence threshold, or that break a rule, go to a person. The rest flow straight through.
- **Spot checks.** A sample of completed items is reviewed after the fact to measure quality.
- **Feedback capture.** Corrections are stored and used to improve prompts, rules or training data. See [data labelling](https://aibuildindex.com/glossary/data-labelling).

In an invoice-processing build, for example, extraction runs automatically. If the totals reconcile and the supplier is known, the invoice is posted. If the confidence is low or the amount is unusual, it appears in a review screen with the source document beside the extracted fields, and a clerk corrects and approves it. Over time, as accuracy improves, the threshold can be loosened.

## What it means for cost

Adding human review changes both the build and the running cost:

- **Review interface.** A good review screen, showing the source next to the output with quick approve and edit actions, is a real piece of software to design and build.
- **Routing logic.** Thresholds, queues, assignments and reminders all need building and tuning.
- **Staff time.** Review is an ongoing cost. The aim is usually to reduce the share of items needing review over time, not to remove it.
- **Audit trail.** Recording who approved what and when is often required for compliance.

Ask a builder what share of items they expect to go to review at launch, how that will be measured, and how corrections will feed back into the system.

## Common mistakes

A frequent one is adding approval to everything, which turns the AI into extra work and leads reviewers to click approve without reading. Another is the reverse: removing review before there is evidence the system is reliable on real cases.

## Common questions

### Does human in the loop defeat the point of automation?

Not if it is targeted. The system still does the preparation, and people only decide. When review is limited to exceptions or high-impact actions, most items flow through untouched.

### Is human oversight a legal requirement?

For some uses, yes. Rules such as the [EU AI Act](https://aibuildindex.com/glossary/eu-ai-act) require human oversight for high-risk systems, and data protection law in many places limits fully automated decisions with significant effects on people. Check the rules for your sector and region.

## Related terms

- [AI agent](https://aibuildindex.com/glossary/ai-agent): An AI agent is software built around a language model that can plan steps, call tools such as APIs, databases or a browser, look at the results and keep going until it completes a task, rather than only replying to a single message.
- [Agentic workflow](https://aibuildindex.com/glossary/agentic-workflow): An agentic workflow is an automated process in which a language model makes some of the decisions, such as choosing the next step, calling a tool or judging whether output is good enough, inside a structure that the builder defines in advance.
- [Guardrails](https://aibuildindex.com/glossary/guardrails): Guardrails are the checks and controls placed around an AI model, such as input filters, output validation, topic limits and action restrictions, that keep its behaviour within safe, permitted and useful bounds in a live system.
- [Data labelling](https://aibuildindex.com/glossary/data-labelling): Data labelling is the work of adding correct answers to raw examples, such as tagging images, marking entities in text or rating model outputs, so that a machine learning model can be trained or evaluated on them.
- [EU AI Act](https://aibuildindex.com/glossary/eu-ai-act): The EU AI Act is the European Union regulation that sets rules for AI systems according to their level of risk, banning some practices, imposing strict duties on high-risk uses and requiring transparency for others, such as telling people when they are talking to a chatbot.
- [Evals (AI evaluation)](https://aibuildindex.com/glossary/evals): Evals are structured tests that measure how well an AI system performs on a fixed set of realistic inputs, scoring its outputs so that changes to prompts, models or data can be judged by evidence rather than impression.
