Human-in-the-loop Design
Adding a human approval step feels safe. Often it is not. If the person sees too little, is asked too often or has no time, they click approve without reading. Good human-in-the-loop design makes every request rare enough to matter and clear enough to decide in under a minute.
Definition: Human-in-the-loop design is the practice of deciding when an AI agent must involve a person, and designing that moment (the trigger, the evidence shown, the choices offered, the timeout and the follow-up) so the person makes a real, fast, well-informed decision.
1 The big idea
A human in the loop is only as good as the moment you create
"A human approves it" is the most common safety answer for AI agents. It is also one of the most fragile. An approval step only protects you if the person actually looks, has what they need to judge, and answers in time.
In practice, approval steps decay. The first week, people read every request. By the third week, the agent has been right 50 times in a row, the queue is long, and the requests all look the same. People start approving on autopilot. This is called rubber-stamping, and it means you have the cost of a human check with little of the safety.
Human-in-the-loop design fights that decay from both sides. Ask less often, so each request deserves attention. Ask better, so the right answer is quick to see. And let the agent earn more freedom, one type of decision at a time, as the evidence builds up.
Think of a good junior colleague. They don't knock on your door to ask which pen to use. They also don't sign a large contract without you. When they do knock, they bring the file, the options and what they would do: "Here's the situation, I suggest this, can I go ahead?" Design your agent to knock like that.
2 Interactive map
The nine parts of human-in-the-loop design
Click any part to see what it does, an example, and what goes wrong without it.
Click or tab to any part
Autonomy tiers
Each type of decision gets a level of freedom. Suggest: the agent drafts, a person acts. Act within bounds: the agent acts alone inside limits set in code. Act and report: the agent acts freely, logs everything, and people audit samples.
Read all 9 parts as text
- Autonomy tiers
- Each type of decision gets a level of freedom. Suggest: the agent drafts, a person acts. Act within bounds: the agent acts alone inside limits set in code. Act and report: the agent acts freely, logs everything, and people audit samples. Example: Reply drafts to unhappy guests: suggest. Refunds for duplicate charges up to AED 1,000: act within bounds. Routing messages to the right team inbox: act and report. Without it: Every decision gets the same treatment, so either everything waits for a person or nothing does.
- When to ask
- Clear, written triggers for pausing: how much is at risk, whether it can be undone, how unusual the case is, and how strong the evidence is. Confidence should come from checks the harness can measure, not from the model saying it is sure. Example: Ask a person when a price change is more than 15% in one go, when competitor data is more than six hours old, or when the property has no booking history yet. Without it: The agent asks about trivial things and acts alone on serious ones, because nobody wrote down the difference.
- One screen of evidence
- The request shows the person exactly what they need to decide, on one screen: what the agent wants to do, why, the key facts with where they came from, and anything unusual flagged at the top. Example: A refund request shows the booking, the payment history, the guest's photos, the check-in cleaning report, and a line in red: "Guest has had two refunds this year." Without it: The person sees "Approve refund for booking #5102?" and either digs through four systems or, more often, just clicks approve.
- A recommendation and clear choices
- The agent states what it recommends and why, then offers approve, edit or reject. Edit matters: the best answer is often "yes, but smaller". Rejecting asks for a short reason. Example: Recommended: partial refund of AED 1,500. Buttons: Approve AED 1,500, Edit amount, Reject. Reject asks "Why?" with three quick options and a free-text box. Without it: A yes-or-no choice forces people to accept a flawed proposal or throw away a mostly good one. Nobody learns why.
- Timeouts with a safe default
- Every request has a deadline and a pre-agreed action if nobody answers. The default is the safest option, which is usually to hold, do nothing irreversible, and tell the customer honestly what happens next. Example: An early check-in request waits 20 minutes for the operations lead. No answer: the agent confirms the standard 15:00 check-in, says early access will be confirmed by 12:00, and pages the backup. Without it: Requests sit for hours while a guest waits, or the system quietly treats silence as approval.
- Escalation with a summary
- When the agent should stop altogether and hand over, it gives the person a short summary: who, what they want, what has been tried, and the suggested next step. Then it steps back from that conversation. Example: "Corporate lead wants 40 nights for a film crew from March, asks for custom payment terms. Shared standard rates. Needs a sales manager. Suggest a call this week." Without it: A person inherits a 60-message thread with no context, and the customer has to explain everything again.
- A named owner for every queue
- Each type of request goes to a named person or role, with a backup, working hours and a target response time. Someone watches the size of the queue. Example: Refunds above the limit: support lead on shift, backup is the operations manager, target 15 minutes during the day. Overnight requests get a holding reply and wait for 08:00. Without it: Requests land in a shared channel where everyone assumes someone else will look.
- Decisions feed back into evals
- Every approval, edit and rejection is recorded with its reason. Edits and rejections become test cases, and patterns become new rules or better prompts. Example: Support leads keep cutting refund amounts for minor cleaning issues. Twelve of those cases go into the golden dataset, and the agent's suggestions improve. Without it: People correct the same mistake every week and the agent never gets better.
- Earning autonomy with evidence
- A type of decision moves up a tier only when records show it is ready: many decisions, a high rate of approval without edits, no serious misses, and evals that pass. It moves back down after an incident. Example: After three months in which people approved nearly all duplicate-charge refunds unchanged, those refunds move from suggest to act within bounds, with weekly samples still checked. Without it: Autonomy is granted on a hunch after a good demo, or never granted at all, so people stay stuck approving routine work.
Notice that most of these parts are about the person, not the model. Human-in-the-loop design is product design for the people who supervise your agent.
3 Step-by-step simulator
Watch the same kind of request designed badly and well
Agents at a holiday-rental company: one sets nightly prices, one answers guests, one handles sales leads. Start with the first two scenarios: the same price change, asked about in two different ways.
- Agent proposesmodel
- Ask or act?harness
- Build requestharness
- Person reviewshuman
- Decide or time outharness
- Actharness
- Record and learnharness
Asked badly
The pricing agent proposes a big price cut. The approval step exists, but it was designed as an afterthought. Watch how a real safety check turns into a formality.
Read the walkthrough as text
Asked badly
The pricing agent proposes a big price cut. The approval step exists, but it was designed as an afterthought. Watch how a real safety check turns into a formality.
- The agent proposes a big cut. The agent sees competitor villas listed far cheaper for the long weekend and proposes cutting 14 villas by 25%.
- Over the limit, so ask. Moves above 15% need a person. So far, so good: the trigger works.
- A thin request. The request is a one-line message in a busy team channel: "Approve price update for 14 listings? [Approve] [Reject]". No old or new prices, no reason, no data source. Why it matters: If the request does not carry the evidence, the person cannot judge. They can only trust.
- Approved in four seconds. The revenue manager is between meetings. The agent has been right all month. They tap approve on their phone without opening anything.
- Prices drop. The new prices go live on all 14 villas.
- The data was stale. Two days later, someone notices the competitor rates came from a feed that had stopped updating three days earlier. The "cheaper" competitor villas had in fact sold out days earlier, and the rest had raised their prices. The villas filled quickly at rates well below the market. Why it matters: The approval step was there. It just did not work, because nothing in the design helped the person spot the problem.
Asked well
Same agent, same proposal, same stale data. This time the request is designed to make the decision easy and the problem visible.
- The same proposal. The agent proposes cutting 14 villas by 25% for the long weekend.
- Two triggers fire. The move is over 15%, and the harness also checks how fresh the data is. The competitor feed is 70 hours old, far above the six-hour limit. Both are reasons to ask, and the second one is flagged. Why it matters: The harness measures how strong the evidence is. It does not ask the model how confident it feels.
- One screen of evidence. The request opens on one screen: old and new price per villa, booking pace against last year, competitor rates with the time they were collected, and a warning at the top: "Competitor data is 3 days old." It ends with the agent's recommendation and three buttons.
- The warning gets read. The revenue manager sees the warning before anything else, checks two competitor listings by hand, and finds them sold out.
- Rejected, with a reason. They reject the change and pick the reason "stale data". It takes about a minute, and the reason is saved.
- Nothing changes. Prices stay as they were. The villas go on to book at normal rates.
- The fix moves into code. The rejection becomes a test case. The team also adds a rule: the agent may not propose any price change at all from competitor data older than six hours. Next time, this request never needs a human. Why it matters: Good approvals do not just catch mistakes. They show you which checks belong in code.
Nobody answers
A guest asks for early check-in. Only operations can say yes, because it depends on the cleaning schedule. The operations lead is busy. Watch the timeout do its job.
- The agent drafts a reply. The guest-support agent would like to say yes. It drafts a reply confirming 10:00 check-in.
- Not the agent's promise to make. Early check-in depends on whether the cleaners can finish in time. The agent may suggest it but not promise it. The harness holds the draft and asks operations.
- A short request with a deadline. Operations gets: the booking, the arrival time, today's cleaning schedule for that apartment, and the question "Approve 10:00, offer 12:00, or keep 15:00?" It expires in 20 minutes.
- No answer. The operations lead is handling a burst pipe at another property. Twenty minutes pass.
- The safe default runs. The pre-agreed default is the option that promises nothing new. The agent confirms what is already guaranteed and is honest about the rest. Why it matters: Silence must never count as approval. The safe default is the one that can be improved on later but never has to be taken back.
- An honest reply goes out. The guest is told check-in at 15:00 is confirmed, early access is being checked, and they will hear by 12:00. They can leave bags with the building concierge in the meantime.
- Backup paged, delay recorded. The request moves to the backup owner. The trace records the missed deadline, so the team can see if one person is getting too many requests.
Hand over
A sales-lead agent qualifies inbound enquiries. This one is large, unusual and asks for terms the agent may not offer. The right move is not to ask for approval. It is to hand over.
- An unusual enquiry. The agent recognises a large corporate booking with custom payment terms. It has never handled one like this.
- Novel and high value: hand over. Custom contract terms are outside what the agent may discuss at all, and the size is far above its limits. This is not a single action to approve. The whole conversation needs a person.
- Write the summary. The agent writes a short handover: who the lead is, what they want, what has been said so far, what is still unknown, and a suggested next step.
- A sales manager picks it up. The sales manager reads the summary in a minute and takes over the thread without having to scroll back through it.
- The agent steps back. The agent tells the lead that a named sales manager will contact them today, then stops replying on that thread so two voices do not answer at once. Why it matters: A clean handover has a clear moment when the agent stops. Otherwise the customer gets mixed messages.
- The outcome comes back. When the deal is closed or lost, the outcome is linked to the trace. Over time, this shows which kinds of lead the agent should hand over sooner, or could handle itself.
The point: in the first two scenarios the agent, the data and the person were the same. The only difference was the design of the request. A human in the loop is not a feature you add. It is a moment you design.
4 Spot the difference
A request that gets rubber-stamped, and one that gets a real decision
Gets rubber-stamped
- Arrives in a busy shared channel
- "Approve update?" with no details
- Only approve or reject
- Dozens a day, all looking the same
- No deadline, no owner
- Nothing happens with the answer
Gets a real decision
- Goes to a named owner, with a backup
- What, why, key facts and their sources, on one screen
- Anything unusual flagged at the top
- A clear recommendation
- Approve, edit or reject with a reason
- Rare enough that each one matters
- A deadline and a safe default
- Every answer improves the agent
A useful warning sign: if nearly every request is approved within seconds, people may no longer be reading. Look at the requests themselves before you blame the people.
5 Design your own approval flow
Turn on design parts. Watch the failures disappear.
These are the ways human oversight quietly stops working. Tick the parts your approval flow has. Many teams start with one: "send it to a channel and someone will approve it".
- People approve 200 requests a day without reading themToo many asks, nobody checks.
- The approver cannot tell why the agent wants thisThe request carries no evidence.
- The agent asks permission for an AED 20 late fee waiverNo line between small and big.
- A request sits all weekend while a guest waitsNo deadline, no backup.
- Requests pile up in a channel and nobody picks them upEveryone assumes someone else will.
- A mostly good proposal is rejected because it was slightly too bigOnly yes or no.
- People correct the same mistake every weekCorrections go nowhere.
- An agent acts alone on something that cannot be undoneNothing says when to ask.
- An agent that has been right for months still waits for approvalNo path to earn trust.
Read which part prevents which failure
- People approve 200 requests a day without reading them: prevented by Written triggers or Approval audits.
- The approver cannot tell why the agent wants this: prevented by One-screen evidence.
- The agent asks permission for an AED 20 late fee waiver: prevented by Autonomy tiers or Written triggers.
- A request sits all weekend while a guest waits: prevented by Timeouts or Named owners.
- Requests pile up in a channel and nobody picks them up: prevented by Named owners.
- A mostly good proposal is rejected because it was slightly too big: prevented by Approve, edit, reject.
- People correct the same mistake every week: prevented by Feedback loop.
- An agent acts alone on something that cannot be undone: prevented by Autonomy tiers or Written triggers.
- An agent that has been right for months still waits for approval: prevented by Autonomy tiers or Feedback loop.
The parts that make humans effective (evidence, choices, owners) matter as much as the parts that decide when to ask. A perfectly timed request that nobody can judge is still a rubber stamp.
6 Optional: what it looks like in code
Ask or act, in 19 lines
You don't need to read code to follow this. If you do, here is the decision and the request in one place. The highlighted line is the one teams most often get wrong: what happens when nobody answers.
def handle(action, ctx):
if tier(action) == "act_and_report":
return act_and_log(action) # low risk: act, audit samples later
if (tier(action) == "act_within_bounds" and within_limits(action)
and action.reversible and ctx.data_fresh and not ctx.novel):
return act_and_log(action) # limits are checked in code
request = ApprovalRequest(
proposal=action,
recommendation=action.reason,
evidence=key_facts(ctx), # one screen, not the whole log
flags=warnings(ctx), # stale data, repeat refunds...
options=["approve", "edit", "reject"],
owner=owner_for(action), backup=backup_for(action),
expires_in_minutes=20,
on_timeout=safest_option(action), # never "approve"
)
decision = wait_for(request)
record(request, decision) # edits and rejections become evals
return execute(decision) # what the human chose, not the proposal
ctx.data_fresh and ctx.novel are measured by the harness. The model's own sense of confidence is not one of the inputs.7 The rules I build by
Eight principles of human-in-the-loop design
Start in suggest, earn the rest
Every new type of decision starts with the agent suggesting and a person acting. It moves up a tier when the records show it is ready, and moves down after an incident.
Ask for a reason, not by habit
Pause for risk, irreversibility, novelty or weak data. If a request would almost always be approved unchanged, it should probably be a limit in code instead.
Measure confidence, don't ask for it
A model saying "I'm 95% sure" is not evidence. Use things the harness can check: how fresh the data is, whether the case looks like past cases, whether independent checks agree.
Bring the file, not just the question
Show what the agent wants, why, and the key facts with their sources, on one screen. Put anything unusual at the top, where it cannot be missed.
Always recommend, always allow edits
A clear recommendation saves time. An edit option turns "no" into "yes, but smaller", which is often the right answer.
Silence is never approval
Every request has an owner, a backup, a deadline and a safe default. The default is the action that can be improved on later and never has to be taken back.
Watch the watchers
Track how many requests each person gets, how fast they answer and how often they edit. Near-instant approvals of nearly everything usually mean the design needs fixing, not the people.
Every human decision should teach the agent
Record approvals, edits and rejections with reasons. Turn them into test cases and, where a pattern appears, into rules.
8 Common mistakes
Things teams say before oversight fails
"It's safe, a human approves everything."
Approving everything is how rubber-stamping starts. If people see dozens of near-identical requests a day, they stop reading. Ask about fewer things, make each request easy to judge, and check whether approvals are real decisions.
"We'll just post approvals in the team channel."
A shared channel has no owner, no deadline and no structure. Requests get buried, or approved by whoever is online and least busy. Route each type of request to a named role with a backup and a target time.
"The agent will ask when it's not sure."
Models are often confident when they are wrong. Decide when to ask with rules the harness checks: amount, reversibility, data freshness, how unusual the case is. Do not rely on the model to notice its own uncertainty.
"If nobody answers, we'll go ahead."
Then the approval step disappears whenever people are busy, which is exactly when mistakes are most likely. Choose a safe default for each request type, usually hold and inform, and page a backup.
"We'll give it more freedom once it feels ready."
Feelings drift both ways: one good demo can make teams too trusting, one bad day too cautious. Decide in advance what evidence moves a decision up a tier, such as volume, unedited approval rate and passing evals.
9 Check yourself
Four quick questions
10 Do this today
Six steps to better human oversight
Pick one agent you're building or buying. Work down this list. Your ticks are saved in this browser.
11 Questions people ask
Human-in-the-loop design FAQ
What is human-in-the-loop in AI agents?
Human-in-the-loop means a person reviews, approves or takes over some of an AI agent's decisions before or after they happen. Good human-in-the-loop design decides which decisions need a person, and gives that person the evidence, choices and time to make a real decision.
When should an AI agent ask a human for approval?
When an action is high-risk, hard to undo, unusual, or based on weak or stale data. Write these triggers as rules the harness can check, such as amount limits and data age. Routine, reversible, low-risk actions should not need approval, or people will stop reading requests.
What is rubber-stamping in AI oversight?
Rubber-stamping is when people approve an agent's requests without really reviewing them, usually because requests are too frequent, too similar or missing the information needed to judge. It keeps the cost of human review while losing most of the safety. Fewer, clearer requests and regular audits of approval behaviour help prevent it.
What are the levels of AI agent autonomy?
A simple model uses three tiers. Suggest: the agent drafts and a person acts. Act within bounds: the agent acts alone inside limits enforced in code. Act and report: the agent acts freely, logs everything and people audit samples. Each type of decision earns its way up with evidence.
What should happen when a human does not respond to an agent in time?
The request should expire and a pre-agreed safe default should run, which usually means holding anything irreversible and telling the customer honestly what happens next. The request should also move to a backup owner. Silence should never count as approval.
What is the difference between human-in-the-loop and human-on-the-loop?
Human-in-the-loop usually means a person must approve an action before it happens. Human-on-the-loop usually means the agent acts on its own while a person monitors and can step in or reverse things. The terms are used loosely, so it helps to say exactly which decisions need approval before, and which are reviewed after.
12 Glossary
Words you'll hear
- Human-in-the-loop (HITL)
- A design where a person approves, edits or takes over some agent decisions before they happen.
- Human-on-the-loop
- A design where the agent acts on its own and a person monitors, audits and can step in.
- Autonomy tier
- The level of freedom a type of decision has: suggest, act within bounds, or act and report.
- Approval request
- The message a person sees when an agent needs a decision: the proposal, evidence and choices.
- Rubber-stamping
- Approving requests without really reviewing them, usually because there are too many or they lack detail.
- Alert fatigue
- When people get so many requests or alerts that they start ignoring them, including the important ones.
- Safe default
- The pre-agreed action taken when nobody answers in time, chosen so it never has to be undone.
- Escalation
- Handing a task or conversation to a person, with a summary, when the agent should stop.
- Reversibility
- How easily an action can be undone. Hard-to-undo actions deserve more caution.
- Queue owner
- The named person or role responsible for answering a type of request, with a backup and a target time.
For teams
Want your team to design approvals like this?
I run AI agents in production at estaie that set prices, find customers and look after guests. This page comes from building and running them.
AI Skills 2027, for your engineering team
A hands-on workshop where your engineers design the approval and escalation flow for a real agent from your business.
- One skill in depth, or all ten as a bootcamp
- On site in the UAE or remote
- Your team leaves with working code, not slides
Have your agent's human oversight reviewed
I check how and when your agent involves people against the failure types on this page and give you a written list of what to fix first, in order of risk.
- For teams about to launch, or just after an incident
- Plain-English findings your board can read
The series
All ten AI Skills for 2027
- Harness Engineering
- Loop Engineering
- Context Engineering
- Tool Design
- Memory Architecture
- Orchestration Patterns
- Guardrails & Permissions
- Evals for Agents
- Human-in-the-loop Design
- Observability & Tracing
Published 2 December 2026. Written by Nimit Solanki from building production agents at estaie.
Get the free Playbook by email
Seven short lessons on taking an agent from prototype to production. One a day, free. You may also hear about my course and consulting. Opt out any time.