esc
  • WorkflowsPages
  • Case studiesPages
  • Machine Learning FoundationsLearn
  • AI EngineeringLearn
  • AI Guardrails & Red TeamingLearn
  • UI/UXLearn
  • Design SystemsLearn
  • Production System DesignLearn
  • AI papersPages
  • Interview KitPages
  • Book a callContact
  • Download ResumeContact
Let’s talk

I’ll build the agent for it.

Why Confirm Irreversible Actions?

Why an AI agent should stop for a person before a step it cannot undo, how to sort which steps need a yes, and how to avoid approval fatigue, for your AI interview.

In short

Some agent actions can't be taken back, such as sending an email, paying money or deleting records. So a person checks those few exact steps before the tool runs, and steps that are easy to undo run on their own.

10 min readBeginnerCommon · estimateFacts checked 26 November 2026

Say it out loud

Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.

Some agent actions can't be undone: money sent, an email delivered, a record deleted. A mistake there costs far more than a wrong draft. So I sort actions by how easy they are to reverse. Easy ones run on their own and get logged. Hard ones stop, and a person checks the exact amount and account before saying yes. I keep that list short, because too many prompts teach people to click yes without reading.

What is an irreversible action, in plain words?

An irreversible action is one you can't cleanly take back. Sending an email, paying money or deleting records are examples. Once they happen, the harm is out in the world, and the fix is an apology, a call to the bank or a restore from backup.

A hospital pharmacist checks a high-strength drug twice before it leaves the shelf. A plain bandage gets no second check. An AI agent needs the same sorting: drafting a reply is like the bandage, and paying a supplier is like the strong drug.

Key words

Irreversible action
A step you can't cleanly undo, such as money sent or mail delivered.
Confirmation step
A stop in the flow that waits for a person's yes before the tool runs.
Approval fatigue
People click yes so often they stop reading, and the check stops working.
Excessive agency
OWASP's name for an AI app given more power than its job needs.

Which actions should need a yes?

Sort every action by how hard it is to reverse. Don't ask for a yes on everything. OWASP's answer to excessive agency is a policy with levels: some actions pass on their own, and the hard ones go to a person.

  • “A graduated enforcement policy (audit, warn, block, escalate) permits low-consequence or easily reversible actions to auto-approve, while high-consequence or irreversible ones route to human review.”

    OWASP, LLM03:2026

  • “But humans should retain control over how their goals are pursued, particularly before high-stakes decisions are made.”

    Anthropic

  • Easy to undo

    Let it run, and log it

    A draft email, a read of an invoice, or a store credit. A mistake is usually a quick fix.

  • Hard to undo

    Stop and ask a person

    Money out, mail sent to a customer, or records deleted. The fix is slow, and it may never fully come back.

Take a supplier-payments agent at a mid-size logistics firm. It handles about 1,200 invoices a week, and most are routine. One payment of $48,000, sent to a bank account that was changed last week, is a different kind of step. If it's wrong, the money is hard to get back. That one should wait for a person. A draft reply to that same supplier should not.

How does a confirmation step actually work?

  1. 1

    The model proposes a step

    It asks for an action, such as paying an invoice. It can't run the tool itself.

  2. 2

    Code sorts it

    A rule in code marks the step easy or hard to undo. The model does not get a say.

  3. 3

    A person checks the real details

    The box shows the amount and account that code will actually use.

  4. 4

    Only a yes runs it

    A no, or no reply in time, sends nothing. Each decision goes into a log.

Hard steps wait for a yes

The agent

proposes a step, like a payout

Code sorts it

Easy to undo

a draft, a read, store credit

Can't undo

money out, mail sent, data gone

Runs at once

logged for the record

Person checks it

sees the real amount and account

Action runs

only after a yes

Nothing is sent

a no, or no reply in time

  1. 1The step goes to the easy side, such as a draft or a read.
  2. 2The step goes to the hard side, such as money out or mail sent.
  3. 3Easy steps run at once and are logged.
  4. 4Hard steps wait while a person checks the real details.
  5. 5The logged easy step runs.
  6. 6A person's yes runs the hard step.
  7. 7A no, or silence, stops it. Nothing is sent.
The model only proposes. Code sorts each step, and the hard ones wait for a person. A yes runs the step; a no or silence stops it, and the log keeps both.

The details matter. OWASP warns that attackers can hide text so the screen shows one action while the code runs another: "Invisible-character smuggling can make the displayed action differ from the executed one." So the check should show the values the code will run.

Here is a small gate in plain Python: a check in code that each step must pass before it runs. The model proposes four steps, and the code decides which ones wait. The amounts and the account names are made-up numbers.

Python
# A supplier-payments agent's gate. The model proposes; this code decides.
UNDOABLE = {"draft_email", "store_credit", "read_invoice"}
CHANGED_RECENTLY = {"acct-7720"}  # bank details changed in the last 30 days

def route(step):
    if step["action"] in UNDOABLE:
        return "RUN: easy to undo"
    if step["account"] in CHANGED_RECENTLY or step["amount"] > 5000:
        return "ASK A PERSON: money to a risky payee"
    return "ASK A PERSON: cannot be undone"

steps = [
    {"action": "draft_email", "account": None, "amount": 0},
    {"action": "pay_supplier", "account": "acct-1184", "amount": 1200},
    {"action": "pay_supplier", "account": "acct-7720", "amount": 980},
    {"action": "pay_supplier", "account": "acct-1184", "amount": 48000},
]
for step in steps:
    print(step["action"], step["amount"], "->", route(step))

Output

draft_email 0 -> RUN: easy to undo
pay_supplier 1200 -> ASK A PERSON: cannot be undone
pay_supplier 980 -> ASK A PERSON: money to a risky payee
pay_supplier 48000 -> ASK A PERSON: money to a risky payee

OWASP puts the rule in one line: authorise in code, "rather than relying on an LLM to decide if an action is allowed or not." The gate sits next to the tool, so a fooled model can ask but can't decide.

What goes wrong with too many yes buttons?

One real risk is approval fatigue. OWASP's words: "approval fatigue degrades reviewer judgment at volume." A check that fires for every small step protects nothing, and the one that matters gets the same quick click.

  • “When using MCP tools, always enable tool approvals so end users can review and confirm every operation, including reads and writes.”

    OpenAI

OpenAI's safety guide starts strict. It says to keep approvals on for MCP tools, reads and writes alike. In our view, that suits a new system nobody has tested yet. Once the logs show which steps are safe, the reads can move to the easy list.

Tip

Asked how to stop approval fatigue? Keep the hard list short, show the real details, and review the approvals every month. If people approve nearly everything, the rule is too wide.

How would you add a yes to a refund agent?

A returns bot for an online shop can issue refunds. A refund as store credit is easy to undo, so it runs on its own. A $300 refund back to the customer's card leaves the company, so it waits for a support lead. A customer message that tries to talk the bot into a second refund should not get past that gate.

  • Without a yes

    Refund goes out twice

    The bot is tricked into a second refund, and nothing in code stops the card payment.

  • With a yes

    Second refund waits

    Card refunds need a support lead. Store credit runs on its own, and the log shows both requests.

What does the interviewer want to hear?

A strong answer covers

  • A plain definition: a step you can't cleanly undo, such as money out or mail sent.
  • Sort actions by how easy they are to undo, and gate only the hard ones.
  • The check shows the real amount and account that code will use.
  • Silence or a no stops the action, and a log records the decision.
  • Too many prompts cause approval fatigue, so keep the list short and review it.

Common traps

  • Trap"Confirm every action, so it is safe."

    BetterApproval fatigue makes that check useless. Gate the few steps that can't be undone.

  • Trap"The model asks the human, then runs the tool."

    BetterThe model only proposes. Code runs the step, and only after a yes.

  • Trap"The box shows what the model says it will do."

    BetterShow the values code will really use, since the model's summary can differ.

Can you spot the step that needs a yes?

Spot the hard step

Which step from a supplier-payments agent should wait for a person?

Quick check

An agent can read email, write drafts and send payments. Which change stops it sending money by mistake?

Can you answer these from memory?

Flash cards · tap a card to flip it

1 / 6

What will they ask next?

  1. Q172When and how do you add a human in the loop?12 min
  2. Q179Excessive agency and least privilege?11 min
  3. Q186What is tool-result poisoning?13 min
  4. Q200Build a ticket-triage agent that escalates to humans.13 min
  5. Q201What is prompt injection?12 min
  6. Q244How do you measure guardrail false positives and negatives?12 min

Learn it in depth

Last updated on 26 November 2026

Building an agent that can send money, mail or change records?

I design and build AI agents with these checks in place: sorted actions, a real check before the hard ones, and logs that explain each decision. Book a short call and tell me what yours needs to do.