Teams building an agent usually hit the same fork. Let it act freely and
one bad tool call reaches a customer. Make it ask permission for everything
and nobody uses it. Human-in-the-loop AI agents are the way out, but
only if the approval step sits in the right place. This post covers how to
decide where that is.
What does human-in-the-loop actually mean in an agent?
The simplest version is a gate: the agent proposes an action, a person
approves or rejects it, and only then does execution happen. Rejected
actions are cancelled and logged. Most agent frameworks support this
natively as a pause or interrupt before a tool call, and
vendor write-ups on approval patterns
agree on the core idea even where they differ on tooling.
The design question is never "should a human be involved?" It is "at which
steps is a human's attention worth its cost?"
Which actions should an AI agent ask approval for?
Sort every tool the agent can call by two questions: can the effect be
undone, and who sees it?
| Action type | Reversible? | Visible outside the company? | Default |
|---|
| Read a record, search, summarise | Yes | No | No gate |
| Draft an email or ticket reply | Yes (nothing sent) | No | No gate, human sends |
| Update an internal field | Usually | No | Log, spot-check |
| Send a message to a customer | No | Yes | Gate |
| Issue a refund or payment | Hard | Yes | Gate above a threshold |
| Change permissions or roles | Risky | Sometimes | Gate |
| Delete data, run a production migration | No | Sometimes | Gate, often two people |
Common examples of high-risk triggers in the
patterns published for enterprise workflows
include wire transfers, privilege grants, external communications and
production migrations. That matches the table: the gate belongs on the
irreversible and the outward-facing.
Which approval pattern fits which risk?
There is more than one way to put a human in the loop, and they trade
speed against safety differently.
| Pattern | How it works | Good for | Weakness |
|---|
| Per-action approval | Every gated action waits for a yes/no | Low volume, high stakes | Slow at scale |
| Threshold gating | Auto-approve below a limit, gate above it | Refunds, discounts, spend | Someone has to own the threshold |
| Exception-only review | Agent proceeds unless a policy trigger fires (low confidence, odd parameters) | High volume, mostly routine | Triggers must be well designed |
| Sampled review | Review every high-risk action, only a sample of low-risk ones | Quality monitoring | Misses individual errors |
| Dual approval | Two separate sign-offs | Irreversible, regulated actions | Heaviest process |
Most production agents end up combining two: threshold gating for money,
and per-action approval for anything that leaves the building.
How do you avoid approval fatigue?
Approval fatigue is the quiet failure of this whole approach. If a reviewer
sees fifty requests an hour and forty-eight are trivial, the other two get
the same two-second glance. The protection is gone and the latency is
still there.
Practical ways to keep reviewers honest:
- Gate by risk, not by default. The guidance in the sources above is
consistent: require approval for high-risk or irreversible actions only.
- Show the decision, not the transcript. The reviewer should see what
will happen (recipient, amount, record, diff) and why the agent chose it,
not forty lines of reasoning.
- Make editing as easy as approving. A reviewer who can fix a draft in
place will engage; one who can only click yes or no will click yes.
- Track approval response times and rejection rates. A rejection rate
near zero on a gate usually means the gate is either unnecessary or
being rubber-stamped. Both are worth knowing.
- Move actions out of the gate as trust is earned. Start strict, then
relax a specific action once its logged outcomes justify it.
What has to be built around the approval step?
The button is the easy part. What makes it safe is the plumbing:
- Durable pause and resume. The agent's state must survive for
hours or days while someone is in a meeting. That means persisted
state, not an open request waiting in memory.
- Expiry. A proposal approved three days later may rest on stale data.
Decide when pending approvals lapse or must be re-validated.
- An audit trail. Record who approved what, when, and what the agent
proposed versus what ran. This is also what you need for debugging, and
for observability you can afford.
- Fail closed. If the approval service is down, gated actions wait.
They do not proceed.
- Scoped permissions underneath. Approval does not replace least
privilege. It complements it, which is the same containment argument
made in AI agent security and prompt injection.
How does this connect to why agents fail in production?
Many agent failures are a missing gate on one irreversible action rather
than a model problem. An approval step is cheap insurance on exactly those
actions, and a good
evaluation framework tells you which
actions have earned the right to run unattended. The broader failure
patterns are in
why AI agents fail in production.
What should you do next?
Before you build anything, do this exercise with your team:
- List every tool your agent can call.
- Mark each one reversible or not, and internal or external.
- Put a gate on the irreversible and external ones, with a threshold
where a number is involved.
- Decide who is the reviewer, how fast they must respond, and what
happens when they don't.
- Log every proposal and decision from day one.
If you are scoping an agent and want help drawing these lines, see our
AI automation service.
Frequently asked questions
- What does human-in-the-loop mean for an AI agent?
- It means the agent pauses at defined points and a person approves, edits or rejects what it is about to do before it executes. The agent proposes; a human decides; only then does the action run.
- Which agent actions should require approval?
- Actions that are irreversible, externally visible or financially material: sending messages to customers, issuing refunds above a threshold, changing permissions, deleting or migrating production data. Reads and reversible drafts rarely need a gate.
- Can approval steps make an agent worthless?
- Yes, if you gate everything. Reviewers who see a constant stream of low-stakes requests start approving without reading, which removes the protection while keeping the delay. Gate by risk, not by default.
- Is human-in-the-loop required for compliance?
- It depends on your sector and jurisdiction, and this post is not legal advice. Where a regulation or contract requires human oversight of a decision, build the approval step and its audit trail in from the start rather than retrofitting it.