What is human in the loop?
Human in the loop is a design pattern: the AI does the work it’s good at, and a person makes the calls that carry risk. The phrase covers a range of setups, and it helps to name them:
- Human in the loop: a person approves each important action before it happens.
- Human on the loop: the AI acts on its own while a person watches and can step in or stop it.
- Human out of the loop: the AI acts alone inside fixed limits, and people review the results afterward.
In machine learning, the term also describes people labeling data or reviewing predictions a model is unsure about. With AI agents, it’s mostly about actions: who has the final say before something changes in the real world.
None of these suits everything. The skill is choosing per action, not per product. Posific sits firmly in the first group: nothing its business agent proposes happens until a person approves it. My planner app Roz shows another pattern. Its assistant is built around consent and undo, so a person stays in charge and can reverse what it did.
Where should the human go in the loop?
To place the human, ask five questions about every action an agent could take:
- Can it be undone? Sending a message can’t. Opening a screen can.
- Does it involve money? Prices, refunds, payments and renewals deserve a second pair of eyes.
- Does it commit the business? Anything that reads like a promise or an agreement needs a person.
- Does it need expertise? Some questions call for a qualified person, however confident the AI sounds.
- Could a wrong answer hurt someone? Advice that causes harm when it’s wrong belongs with people who can take responsibility for it.
If the answer to any of these is yes, the agent prepares and a person decides. Farm advice is a good example: Al Mustashar’s customers already get advice from agricultural engineers, and the mustashar.ae assistant can hand conversations to them.
Some teams route by the model’s confidence score. Use that with care. A model can be confidently wrong, so confidence may decide when to ask for help, but it should never be the reason to skip a check the action itself requires.
What does a human-in-the-loop workflow look like?
A typical approval flow for an AI agent runs like this:
- GatherThe agent reads the request and pulls the data it needs through read-only tools.
- CalculateFixed rules produce any numbers: prices, totals, dates, amounts due.
- ProposeThe agent drafts the action and explains it in plain words, using the numbers it was given.
- DecideA person approves, edits or rejects the proposal, with the source data close at hand.
- ExecuteThe system carries out exactly what was approved, and nothing else.
- RecordEvery step, from the first lookup to the final result, goes into the audit trail.
Posific and Wakeel are both built around the middle of this flow: fixed rules supply the answers, and nothing happens until a person approves. The AI is fast where speed is safe and waits where it isn’t.
How do you design an approval step people actually read?
An approval step only protects you if people read it. When approvals are vague, constant or slow, people start clicking yes without looking, and the control turns into theater.
- Show the exact action: what will change, where and for whom.
- Show the numbers and where they came from. In Posific, fixed rules calculate every figure, so the person approves calculated numbers, not generated ones.
- Give the reason in plain words. The AI is good at explaining, so let it.
- Make rejecting as easy as approving, and allow edits before approval.
- Keep the volume humane. Group routine approvals so people can review them together, and give risky ones their own screen.
- Expire stale approvals. If the data changed after the proposal was made, ask again.
- Store the decision with the proposal, so the record shows what the person actually saw.
If your team approves everything in seconds, either the agent has earned a lighter check for that action, or nobody is really checking. Your logs will tell you which.
When should an AI agent hand off to a person?
Approval is one form of oversight. Handoff is the other: the agent steps back and a person takes over the conversation. The mustashar.ae shop assistant does this with the shop’s agricultural engineers, so a customer with a hard problem can reach someone qualified to solve it.
Good reasons to hand off include:
- The customer asks for a person.
- The question needs expert judgment.
- The agent has tried and isn’t making progress.
- A safety check fires.
- The customer is upset, or the stakes are high.
The handoff needs design too. Pass the conversation along so the person doesn’t start from zero, tell the customer what’s happening, and make sure someone is actually there to pick it up. Afterward, note how the person resolved it. Those notes show where the agent needs a new rule, better data or a clearer limit.
Why does every AI action need a record?
Oversight doesn’t end at the moment of approval. Later, someone will ask what the agent did, why, and who said yes. Without a record, every incident turns into guesswork.
Wakeel records every step in a signed, hash-chained audit trail, so any quiet rewrite of the history shows up, and a tamper test checks that tampering is detected. For a process like rent renewal, that record is what lets a person trust the agent’s work after the fact, not just in the moment.
Records also make the system better. When something goes wrong, the log shows whether the fault was in the data, a rule, the model or the approval, and each answer leads to a different fix.
A simple AI governance framework for small teams
AI governance can sound like a committee. For a small business it can be one page and a few habits. This is the framework I work to:
- Write down what the AI may doList every action, mark which need approval, and name what it must never do.
- Let rules or real data decide the numbersThe AI explains and drafts. It doesn’t calculate prices, taxes or totals.
- Put a person on every important actionApproval for changes, and a handoff for conversations that need an expert.
- Log every actionInputs, tool calls, outputs and approvals, in a record that shows any tampering.
- Test before launch and on every changeNormal scenarios and attack attempts, run again whenever prompts, models, tools or rules change.
- Cap the spendA budget per business or per day, like Posific’s daily AI budget, so a fault has a ceiling.
- Keep a decision logWrite down why each limit exists. I keep written decision logs, and they make every later review faster.
None of this needs special software. A shared document, a database table for approvals and a regular look at the logs will carry a small team a long way.
Human oversight, AI risk management and the EU AI Act
Human in the loop is also the practical core of AI risk management. Each risk an agent brings has a control that answers it:
- Wrong numbers: fixed rules and real data.
- Wrong actions: approval before anything changes.
- Wrong advice: a handoff to a qualified person.
- Manipulated input: attack testing and narrow tools.
- Runaway costs: budgets and spending caps.
- Disputes later: an audit trail.
Review this list whenever the agent gains a new tool or a new kind of user. Each addition is a new risk, and it needs its own control before it goes live.
Regulations such as the EU AI Act raise expectations for human oversight and documentation of AI systems. I’m not a lawyer, and this isn’t legal advice; if a regulation may apply to your product, get advice for your situation. What I can say from building these systems is that oversight designed in from the start is far easier than oversight bolted on later.
Frequently asked questions
Does human in the loop slow AI down?
Only at the points you choose. The agent still does the slow work in seconds: gathering data, running the rules and drafting. The person spends their time on the decision, not the preparation. If approvals become a bottleneck, read the logs. Some actions may be safe to batch, and others may need clearer proposals so people can decide faster.
Who should approve an AI agent’s actions?
The person who would be accountable if the action were done by hand. In a shop, that might be the owner or a manager. For expert advice, it should be a qualified expert. Avoid making developers the approvers of business actions: they know the system well, but not always the business consequences of a yes.
Can an AI agent ever act without approval?
Yes, when the action is low-risk, reversible and inside clear limits. Opening a screen or playing audio is a different category from moving money. Even then, log the action, give people an easy undo, and limit how often it can happen. Move an action out of the approval step only after testing and real logs show it behaves.
Is human in the loop the same as AI governance?
No. Human in the loop is one control inside AI governance. Governance is the whole set: what the AI may do, how numbers are decided, who approves, what gets logged, how it’s tested and what it may spend. You can have approvals and still have weak governance if nobody tests the agent or reads the logs.











