Human in the loop for AI: when AI should not decide on its own
Human in the loop is a way of building automation so that AI prepares a decision and a person approves it wherever a mistake is costly. The AI processes a request, a draft contract or an email, while sending to a customer, a payment, a data change or a legally significant conclusion goes through an employee's confirmation. The AI performs the remaining steps itself. The right boundary depends on the cost of an error and whether it can be undone, not on how confident the model sounds. Well-designed review saves time: the employee does not redo the work but checks a finished draft and fixes the occasional error.
Open the software development page
Three levels of human involvement
| Level | How it works | Where it fits |
|---|---|---|
| Human decides, AI suggests | AI prepares a draft or options, the employee decides | legal conclusions, disputed situations, HR decisions |
| Human approves | AI prepares an action that runs only after approval | emails to customers, record changes, payments |
| Human monitors | AI acts on its own, a person reviews a sample and exceptions | sorting requests, data extraction, draft summaries |
One process often combines all three levels: the AI parses an incoming email itself, the reply to the customer is sent after approval, and the decision on a refund is made by a person.
How to choose where a person is needed
It is convenient to assess each step with two questions: what will an error cost, and can it be corrected. This gives simple rules:
- irreversible actions — sending externally, payments, deletion — are approved by a person;
- actions affecting people's rights — hiring, refusing a service, legal conclusions — are decided by a person;
- actions with a low cost of error that are easy to correct are performed by AI, with a person reviewing a sample;
- anything the AI could not process with confidence goes into a queue for a person.
The boundary is not permanent. When the log shows that the AI consistently makes no mistakes at a certain step, review can move from approving every case to sampling.
When AI should stop and call a person
A good system knows how to say "this is not for me". Reasons for a hand-off are defined explicitly rather than relying on the model's judgement:
- the data contains no answer or sources contradict each other;
- the request is outside the system's scope;
- the customer is unhappy, complains or asks for a person directly;
- the amount, deadline or risk exceeds a set threshold;
- the answer could not be brought into the required format or failed a rule-based check.
A model's self-assessment such as "I am confident" cannot be trusted: models are often confidently wrong. Rule-based checks, comparison with the source and explicit thresholds by amount and task type are more reliable. How this works in customer support is covered in the guide AI customer support automation.
How to make review convenient
If review is inconvenient, the employee will start approving without looking, and the loop becomes a formality. So the review interface is designed as carefully as the AI itself:
- next to the draft — the sources the AI relied on, so they can be checked in seconds;
- what needs attention is highlighted: amounts, dates, names, deviations from the template;
- approve, edit and reject in one action, with edits saved as examples for improvement;
- a queue with priorities and deadlines so that urgent items are not lost among routine ones.
Example: a refund request
Here is how it looks in a single process. A customer writes to support asking for a refund on an order.
- The AI identifies the topic of the email, finds the order in the accounting system and gathers the history of requests.
- The AI checks the refund conditions against the policy and prepares a draft reply with a decision and a reference to the policy clause.
- If the amount is below the threshold and the conditions are clearly met, the draft goes to an employee for one-click approval.
- If the amount is above the threshold, the conditions are disputable or the customer is unhappy, the request goes to a senior employee's queue with a full summary.
- The refund itself is executed by the payment system only after a person approves it, and the decision is recorded in the log.
The employee does not search for the order or write the reply from scratch — they check what is ready. Yet no refund happens without a human decision.
How to keep review from becoming a formality
The risk of complacency is real: when the AI is almost always right, a person stops reading carefully. Several techniques help. Periodically check how much time review takes and how often the employee corrects something: if there are no edits at all and review takes seconds, that is a reason to look closer. Distribute the load so that one person does not approve hundreds of cases in a row. Errors found later are reviewed together with the person who approved them — not to punish, but to understand what made them hard to spot and to improve the interface.
Approval must be built into the system
Approval is built into the system's permissions, not into the AI's instructions. If the prompt says "do not send emails without consent" while the agent has the right to send them, sooner or later it will send one — for example, after a command hidden in an incoming email. The right way is for the agent to have no right to perform the action directly: it creates an action request, and the system executes it after a person approves. More on agent permissions in the guide AI agent security.
Every approval and rejection is recorded in the log: who approved what and when. This is needed both for error analysis and to answer the question of who is responsible for the result.
Who is responsible for the decision
Responsibility for an action lies with the company and the employee who approved it, not with the AI. This is worth setting out in the company AI usage policy: which decisions AI may prepare, which it may make itself, who approves the rest and how it is recorded. External rules for certain areas — hiring, lending, medicine — may explicitly require human involvement; check them for your country and industry.
It is important that the employee who approves AI actions has both the time and the authority to do so. If review is assigned to someone who cannot refuse or correct, the loop exists only on paper. So the policy states not only who approves but what they are allowed to do: reject, correct, send back for rework, escalate.
How we build human-in-the-loop at JEEKSSHIRE 24
In our AI app Legal, AI helps draft and review a contract, but the decision stays with the user: the app does not replace a lawyer, and its output is a draft and suggestions that the person accepts or edits. That is human in the loop at the product level.
In client projects we build approval of important actions into permissions rather than instruction text, keep a log of all decisions and provide a convenient review queue. We define the boundary between "AI on its own" and "through a person" together with the client based on the cost of error, and revisit it using log data. More on the AI agent development and business process automation pages; describe your task on the custom software development page.
Frequently asked questions
What does human-in-the-loop mean?
It is an approach in which AI prepares a decision or action and a person reviews and approves it at important steps. Automation saves time, while responsibility for significant decisions stays with people.
Does automation lose its point if a person checks everything?
No, if review is convenient. The employee does not redo the work but approves a ready draft with sources, which is much faster. Only important steps are reviewed; the AI handles the rest.
Can human review be removed over time?
For some steps, yes, if the log shows stable quality. Usually teams move from approving every case to sampling. Irreversible and legally significant actions are better left with a person.
How does AI know it should call a person?
The reasons are defined explicitly: no answer in the data, an off-topic question, a customer complaint, an amount above the threshold, an answer that failed a rule-based check. The model's self-assessment cannot be relied on.
Who is responsible if an employee approves an AI error?
The company is, and within it the procedure set out in the policy applies. That is why it is important to log who approved what and to analyse errors to improve both the AI and the review interface.
Is it enough to tell the AI in the prompt to ask for permission?
No. The model can break an instruction, including under the influence of a hidden command. Approval must be built into the system's permissions so that the action is technically impossible without it.
Which processes are most often built with a human in the loop?
Answers to customers on complex issues, contract work, payments and refunds, data changes in accounting systems, HR decisions — anywhere an error is costly or irreversible.
How is human-in-the-loop different from fully manual work?
In manual work the employee does everything. In a loop with AI, the routine — finding data, a summary, a draft reply — is done by AI, and a person decides at important steps. Time goes into review rather than preparation.
How many people are needed to review AI decisions?
It depends on the task flow, the share of cases requiring approval and the time per review. These figures become clear after a pilot and are used to plan the load so that review does not become a bottleneck.
Can AI decisions be reviewed selectively?
Yes, for steps with a low cost of error. The sample is random and supplemented with every case where warning signs were triggered: a customer complaint, a large amount, a missing source.