Risk-Based Approval Policies
In this article
- Sort an agent's operations into automatic, customer-confirmed and staff-approved, using impact, reversibility, policy and uncertainty.
- Write an approval policy as a small function that code checks before each tool call, with the refund limit as a setting.
- Explain with a queue count why sending every step to a person makes review worse, not safer.
- Spot an irreversible, high-impact action that would run with no person at all.
- Terms defined here: approval policy, approval fatigue.
Overview
An AI agent that answers customers all day looks up orders, writes and sends replies, and now and then moves money. A few of those steps deserve a person's judgment; most do not. Pick wrong one way and a careless refund goes out unchecked. Pick wrong the other way and your staff spend the day clicking "approve" without reading.
Take a made-up online shop. Its support agent wants to refund 49.00 EUR on order O-1042 with its create_refund tool, and the shop's rule is that any refund above 40.00 EUR needs a staff member's approval. Which of the agent's eight operations should run automatically, which need the customer's confirmation, which need staff, and how do you write that down as a short policy that code reads?
One thing to hold on to: in the OpenAI Agents SDK, when the model emits a tool call that names a tool and its arguments, the runner checks the approval rule before the tool runs. If the call needs approval, the run pauses, and your code resumes it after a person decides. [1]
One task, from the customer's message to the reply, is a run of the agent loop.
Two easy policies, and why both fail
The first easy policy is to ask a person before every step. It feels safe. AWS's guidance for agentic systems names it as an anti-pattern: routing every action through human review, whatever its risk, produces reviewer fatigue and rubber-stamp approvals. [3]
The second easy policy is to ask nobody, the far end of the autonomy spectrum: once the agent has the tools, it uses them. OWASP lists this as excessive autonomy, an application that does not independently verify and approve high-impact actions, for example an extension that deletes a user's documents without asking. [4]
What you want sits between them: a person in the loop at the steps where their judgment can change the outcome, and nowhere else. That is the job of an approval policy.
Four questions, three outcomes
For each operation the agent can perform, ask four questions.
- Impact. What does it cost if it is wrong? A read has no side effect and costs nothing; a refund costs money; an export of customer data can hurt many people at once.
- Reversibility. Can you undo it? A draft can be deleted; money that has left the shop, or a copied file of customer addresses, cannot be called back. Low reversibility plus real impact is what makes an operation a consequential action.
- Policy. Does a written rule of the business already say who decides? The shop's rule about refunds above 40.00 EUR is one; so is "only staff change the published refund policy".
- Uncertainty. Is it clear which record the agent is acting on, and what the customer wants?
The answers lead to one of three outcomes. Automatic: the operation runs, and its call and result are logged for audit. User confirmation: the customer approves an action on their own account through a button the shop's code shows them. Staff approval: a person with authority in the shop decides.
A "yes" typed into the chat is neither a confirmation nor an approval. It is text the model reads, and text can be misread, quoted out of context or invented. A button press is recorded by the shop's code against the customer's account, so it can be checked.
Eight operations, one table
Before you read the table, give each of the shop agent's eight operations an outcome: read order, draft reply, send reply, refund 15.00 EUR (on another order), refund 49.00 EUR (on O-1042), cancel subscription, export customer list, edit refund policy page.
The shop's matrix, invented for this example:
| operation | impact | reversibility | policy rule | uncertainty | outcome |
|---|---|---|---|---|---|
| read order | none, read-only | nothing to undo | none | low | automatic |
| draft reply | none, stays internal | delete the draft | none | low | automatic |
| send reply | low, one message | cannot unsend; can correct | none | low | automatic |
| refund 15.00 EUR | low, money moves | money has left | under the 40.00 EUR limit | low | automatic |
| refund 49.00 EUR | medium, money moves | money has left | above the 40.00 EUR limit | low | staff approval |
| cancel subscription | the customer's own service | hard for the customer to restore | customer's choice | low | user confirmation |
| export customer list | high, many people's data | a copy cannot be recalled | staff only | low | staff approval |
| edit refund policy page | high, changes rules for everyone | can be edited back, after harm | staff only | low | staff approval |
The first rows stay out of every queue. AWS's baseline agrees: read-only operations proceed on their own, while financial transactions, data deletion and external communications get stricter approval. [3] Sending a reply is an external communication and the closest call here. The shop lets it run because a wrong reply costs an apology and a follow-up, not money; if replies could promise refunds, this row would move up.
The two refunds differ only in the policy column: 15.00 EUR is inside the limit, 49.00 EUR is 9.00 EUR over it. Cancelling a subscription is the customer's decision about their own service, so they make it, by button. The export exposes everyone's data and the policy edit changes the rules for every future case, so the shop reserves both for staff.
When the agent is not sure
Now change one cell. The customer writes "please refund the other one" and has two recent orders; the agent's call names one, but nothing in the conversation settles which. Uncertainty for the 15.00 EUR refund goes from low to high, and the outcome moves from automatic to staff approval.
The amount and the limit did not change. The chance that the call acts on the wrong record did, and a refund on the wrong order is still money out of the shop, so a staff member who can see both orders decides. A customer button cannot settle it: the money and the records are the shop's. The doubt becomes an escalation: the decision passes to a person instead of the agent guessing.
Who sets the flag matters. AWS warns that the risk label cannot come from a model that reads the same untrusted input that shaped the request, since that input can talk it into "low risk"; deterministic logic, plain rules that give the same answer for the same facts every time, must have the final say. [3] So the shop's code raises the flag from facts it can check ("more than one open order, and the message names neither"), not from the model saying it feels unsure.
The policy as code
A table can live as data that code reads before every tool call. The model can ask for any tool; it never decides the outcome. Pseudo-code, not a real API:
REFUND_LIMIT_EUR = 40.00 # a setting staff can change, not a line in the prompt
def outcome(tool, args, order_is_ambiguous):
if tool in ("get_order", "draft_reply", "send_reply"): return "automatic"
if tool == "cancel_subscription": return "user_confirmation"
if tool == "create_refund":
if order_is_ambiguous or args["amount_eur"] > REFUND_LIMIT_EUR:
return "staff_approval"
return "automatic"
return "staff_approval" # export, policy edit, and any tool not listedTwo lines carry the design. The limit is a named setting, so the business can change 40.00 EUR without editing a prompt. The last line sends any unknown tool to staff, so a tool added next month starts gated, not free. AWS makes the wider point: authorization that lives only in prompt instructions can be talked around, so the check must be external and run before the tool executes. [5]
:::note In practice In the OpenAI Agents SDK, each tool has a needs_approval setting, either True or an async function that decides per call from the run context, the parsed arguments and the call ID; if the arguments are missing or malformed, the function is skipped and the call needs manual approval. [1] The Claude Agent SDK checks deny rules, then ask rules, then allow rules, and a deny rule holds even in bypassPermissions mode, the mode that otherwise approves calls without asking; reads inside your working directories need no approval in default mode. [2] On either, automatic is an allow (or False), both kinds of approval are an ask routed to different people, and a tool the agent must never call is a deny. :::
What 300 approvals a day does
Say the agent performs 300 operations a day, an illustrative number. Under the matrix, 12 reach staff: say those are the refunds above 40.00 EUR, the exports, the policy edits and the ambiguous refunds. The other 288 are lookups, replies, small refunds and cancellations, which run automatically or wait for the customer's button. Under approve-every-step, all 300 reach staff, 25 times as many.
The cost is not only time. A reviewer whose day is 288 lookups and routine replies learns that the answer is always yes, and approves the 49.00 EUR refund the way they approved the last hundred: without reading. That is approval fatigue. [3]
Twelve requests a day is a queue a person can read, and each is there for a reason the policy names. AWS adds upkeep: watch approval metrics for signs of fatigue and adjust the thresholds. [3]
:::note In an interview "Where would you put a human in this agent?" Gate by impact, reversibility, policy and uncertainty, and let read-only steps run on their own. [3] The trade-off is a small risk on low-impact automatic steps in exchange for reviewers who still read what they approve. :::
Common mistakes
- Approving every step. The risky request is approved unread among lookups. Fix: let read-only steps run on their own, as AWS's baseline does. [3] Keep drafts automatic too, and log every call.
- No person on an irreversible write. The agent exports data or moves money above the limit with nobody looking, because approval "adds latency". AWS calls skipping review on mutating operations for that reason an anti-pattern, since such actions can be hard or impossible to reverse. Fix: list every write in the policy and give it an outcome. [5]
- Treating chat text as consent. "Yes, cancel it" in the chat triggers the cancellation. Fix: the customer confirms by a button on their own account, recorded by code.
- Letting the model grade its own risk. The agent decides it is "sure" and skips review. Fix: compute uncertainty from facts code can check. [3]
In production
Log every outcome with the policy row that produced it, so a support lead can see why a call ran or waited. Track the share approved unchanged: a share near 100% suggests that nobody is reading. For one vendor's account of the same trade-off in a coding tool, see How we built Claude Code auto mode. Deciding who sees a call is half the work.
Sources
- Human-in-the-loop (OpenAI Agents SDK docs). OpenAI. Checked 25 Oct 2026.
- Claude Agent SDK: Configure permissions. Anthropic. Checked 24 Oct 2026.
- AGENTSEC04-BP02 Human-in-the-loop for critical decisions. AWS Well-Architected (Agentic AI lens). Checked 21 Nov 2026.
- LLM06:2025 Excessive Agency. OWASP Gen AI Security Project. Checked 24 Oct 2026.
- AGENTSEC02-BP01 Implement tool authorization. AWS Well-Architected (Agentic AI lens). Checked 21 Nov 2026.
Check yourself
Check yourself
Question 1 of 13
Which agent step is safe to run with no approval, only a log entry?
Your first check counts towards your result.