Which actions need a person
Start with a list of every tool the agent can call, and sort each one by what happens if it is called wrongly.
| Class | Examples | Approval |
|---|---|---|
| Read | Search orders, look up a customer, read a help article | None. Log the call |
| Draft | Write a reply, prepare a quote, fill in a form | None to draft. The draft goes nowhere until a person sends it |
| Reversible write | Update a field, add a tag, create a task | Often none, if every change is logged and can be undone |
| Costly or external | Refund, discount, payment, any message to a customer | Always a person |
Write the classes into the agent's permission map before building it, and enforce them in code. The model should never be the thing that decides whether an action needs approval. The tool itself should refuse to run a costly action without an approval attached, so a confused or manipulated model cannot skip the step.
Set limits inside the costly class too. A refund below a set amount might need one approver, while a larger one needs a manager. Those rules belong in plain code beside the tool, where they can be tested and audited like any other business rule.
What the approver sees
The approval card is the agent's whole case for the action, and the approver will give it a few seconds. It should show five things.
- The action, in plain words. "Refund $240 to order #1182" reads faster than a JSON payload.
- The evidence. The customer's message, the order record and the policy the agent relied on, with a link to each.
- The agent's reasoning, briefly. One or two lines on why it chose this action, so the approver can spot a misreading.
- What approve and reject do. Approve issues the refund and sends the drafted reply. Reject returns the case to the queue with a note.
- An edit option. Often the agent is nearly right. Letting the approver change the amount or the wording before approving is faster than rejecting the case and redoing the work by hand.
Put the card where your team already works: the help desk, Slack or Teams, the CRM. An approval that needs a separate login gets done late.
Timeouts and fallbacks
Approvals wait on people, and people are busy, away or asleep. Decide in advance what happens when nobody answers.
- A timeout per action class. A drafted customer reply can wait for an afternoon. A refund request might move to a second approver after a set period.
- A fallback that is safe. When an approval expires, the default is to do nothing and hand the case to a person, with the agent's draft attached. An expired approval never turns into an automatic yes.
- Escalation by rule. If the first approver is out, the request moves to a named second approver. A request that sits with someone on leave is a design fault.
Plan for the agent failing as well. If a tool call errors, or the model returns something the code cannot parse, the run should stop, log the failure and raise an alert to whoever owns the agent. A silent retry loop can repeat the same mistake many times before anyone notices.
Logging every run
Every run should leave a record that answers, months later, what the agent did and why. For each run, log the following.
- The input that started it: the email, the ticket, the form submission
- Each tool call, with its arguments and its result
- The model's output at each step, and the model and version used
- Any approval: the person who approved or rejected it, the time, and any edit they made
These logs are the first thing you will need when a customer disputes a refund, and the raw material for improving the agent. They also hold personal data, so decide where they are stored, who can read them and how long they are kept before the agent goes live. That decision is part of AI readiness and governance, together with the provider settings that keep your data out of model training.
Measuring the queue
Once the agent is live, the approval queue tells you how well it is working. Track a handful of numbers each week.
- Approval rate by action type. If nearly every proposed refund is approved unchanged, automatic handling for small refunds may be worth discussing. If many are rejected, the agent is misreading cases and needs work.
- Edits before approval. Frequent edits to the same field point at a specific weakness, such as amounts or tone.
- Time in the queue. Long waits mean the cards are in the wrong place, or going to the wrong people.
- Rejection reasons. Ask approvers to pick a reason when they reject. The reasons become test cases for the next version.
Change the approval rules only from this data, and one action class at a time. Moving an action from "always a person" to automatic is a decision for the business owner of the process, recorded in writing, with the logs that justify it.
This is how we build AI agents and assistants: bounded actions inside the tools your team already uses, a permission map that sets which actions wait for a person, approvals delivered where your team works, and a log of every tool call with the person who approved it.
