Human-in-the-loop (HITL) is a design in which a person reviews, approves or corrects an AI system's decisions at the points where human judgment matters.
The idea is not to supervise everything, but to place control where it adds value: approving an action with consequences, validating a result before it is sent, or correcting the system's course. It is a central principle of AI governance and the basis of an enterprise copilot, which suggests and executes while leaving the decision in the person's hands.
Why it matters
Human control is what makes AI in production viable in serious processes: it brings trust, accountability and the ability to correct before an error spreads. It lets you automate sensibly —the AI does the bulk of the work, a person validates the critical decisions.
There is a second, less cited reason: human intervention is the best source of improvement data. Every correction a person makes says what failed and how it should have been resolved. Logged, it feeds the evals and the next version of the system.
Where to place human control
The design question is always the same: at which exact point of the process does the person step in? Three criteria decide it:
- Cost of error. The more expensive a mistake is (money, reputation, compliance), the closer to the action the review must sit.
- Reversibility. A draft can be corrected; a payment sent, a contract signed or a record modified cannot. Irreversible actions always go through a person.
- Accountability. Some decisions, by regulation or internal policy, must be signed by a named person.
With those criteria, control concentrates in a few points and the rest of the flow runs on its own.
Common patterns
The human-in-the-loop designs that recur in production systems:
- Approval gate. The system prepares the action (an email, an accounting entry, a CRM change) and waits. A person approves, edits or rejects it. This is the copilot pattern.
- Sampled review. The system runs on its own and a person reviews a sample of the results, more often at the start and less once quality has been demonstrated.
- Escalation by exception. The system resolves the normal cases and routes to a person those above a risk, amount or uncertainty threshold (for instance, when two agents disagree in a multi-agent system).
- Correction with learning. The person corrects the output and the correction is logged as an example to evaluate and improve the system.
A single process usually combines several: escalation by exception for the day to day, sampling to monitor quality and an approval gate for actions with consequences.
Is the action irreversible, or must someone sign it?
Yes Approval gate: the system prepares and waits; a person approves, edits or rejects.
Is it above a risk, amount or uncertainty threshold?
Yes Escalation by exception: the case goes to a person.
Otherwise The system acts on its own, with sampled review to monitor quality.
Human-in-the-loop vs. human-on-the-loop
| Human-in-the-loop | Human-on-the-loop | |
|---|---|---|
| When the person intervenes | Before the action: the system waits for approval | After: the system acts and the person monitors and corrects |
| Suited to | Irreversible actions, high cost of error, regulatory requirements | High volume, low cost of error, reversible actions |
| Operating cost | Higher: every intervention takes a person's time | Lower: oversight is by sampling or alerts |
| Risk | Bottlenecks if placed at every step | Errors executed before they are detected |
Neither is better in the abstract. A mature system starts with more control inside the loop and relaxes it, in stages and with data, as it proves its quality.
Enterprise examples
- Classifying and answering requests at scale. The AI classifies and drafts; low-risk replies go out on their own and those implying a commitment (a claim, a refund, a contractual change) are approved by a person.
- Document review in regulated processes. The system extracts, cross-checks and flags exceptions; the analyst decides on the exceptions and signs off the result. Every decision is traced.
- Maintenance and incidents. The AI diagnoses and proposes the work order; the manager approves it before it is created in the maintenance system.
What regulation requires
The EU AI Act requires, for high-risk systems, effective human oversight: trained people who understand the system's capabilities and limits, can monitor its operation, decide not to use its output, and intervene or stop it. Human-in-the-loop, together with traceability of every decision, is the most direct way to meet that at critical points —and, outside high risk, it remains what lets the organization trust the system. After the 2026 amendment of the Act, these high-risk obligations apply from 2 December 2027 to the Annex III use cases and from 2 August 2028 to systems embedded in regulated products (Annex I); the official timeline is on the European Commission's AI Act page.
How we approach it at Codara
We design every system with the person at the decision points that matter in the AI products we build with your team: we automate the repeatable work and reserve human review for the steps where judgment is key. Human control is not bolted on at the end; it is designed into the flow from day one, with its logging and its metrics.