🏠 All tools

← Working With AIEspaΓ±ol

When an AI Agent Gets It Wrong

Calm first steps for when an AI sent, deleted, bought, or posted the wrong thing β€” contain it, undo what you can, and close the gap.

An AI you trusted with a task did something you didn't intend β€” fired off the wrong email, deleted the wrong files, made a purchase, posted something, scrambled your data. It feels awful, and it can feel urgent in a way that makes you want to yank everything out at once. Slow down for ten seconds: this is more fixable than it feels, and doing the right things in the right order matters more than doing them fast.

First, breathe β€” and don't blame yourself. Delegating to a tool that sometimes errs isn't a failure of yours. But the cleanup is now yours to lead, and you can do it well.
The order that works: stop it β†’ see what it actually did β†’ undo what's reversible β†’ contain what isn't β†’ tell anyone affected β†’ then close the gap so it can't happen again.

Do these, in order

  1. Stop it. Pause or halt the agent so it can't keep going or repeat the action while you sort this out. If you're not sure how, revoke its access (cut the connection) β€” you can restore it later.
  2. Find out what it actually did. Before reacting, get the real scope: check its run log or history and the place it touched β€” sent mail, transactions, file history, the account, the post. What exactly happened, where, to whom, how much? Don't delete the logs β€” you need them.
  3. Undo what's reversible β€” quickly. Many actions can be pulled back if you're fast: recall or "undo send" an email, cancel an order, restore files from trash or version history, delete a wrong post, ask the bank to reverse a transfer. Do these while the window is still open.
  4. Contain what isn't. For what can't be undone, stop it spreading: revoke the keys or access the agent used, change any password it had, and switch off automations that depend on the bad result so the mistake doesn't cascade.
  5. Tell the people affected β€” honestly and early. If it emailed, charged, or posted to others, a quick, plain "that was an automated error, please disregard β€” here's the correct version" beats silence every time. Owning it fast shrinks the fallout.
  6. If money or personal data left, recover it. Money gone via a wrong payment or transfer? The step-by-step in If You've Been Scammed applies (bank/card fraud or dispute line, fast). Others' personal data exposed? Follow whatever duty you have to notify and limit it.
  7. Close the gap so it can't repeat. This is the real fix. Narrow what the agent can reach (Before You Give an AI the Keys), put an approval gate on the kind of action that went wrong (When You Let an AI Do It For You), or stop delegating that task. A mistake you don't gate will happen again.

The cleanup checklist

Tick as you go.

The close

AI agents fail differently from people β€” fast, at scale, and with total confidence β€” which is exactly why a calm order beats a panic. Stop it, look before you react, undo what you can, contain what you can't, and then turn the mistake into a gate so it can't recur. The goal was never to never delegate. It's to recover well when delegation goes wrong, and to come out of it with the same mistake made impossible next time.

Free and public domain (CC0) β€” copy it, translate it, share it. No accounts, no tracking; it runs entirely in your browser, and nothing you tick is saved or sent anywhere. Practical judgment, not technical, legal, or financial advice.

Last reviewed: June 2026. This is general information that can age β€” verify time-sensitive specifics (laws, numbers, programs, app menus) against current official sources.