Stopping and undoing: when an agent gets it wrong

Every agent you run will get something wrong. The companies that come through it well decided what to do beforehand.

A stop that works

Each agent needs one written step that halts it. A good one passes four tests:

  • It works without the vendor's support line.
  • It works without the person who set the agent up.
  • At least two people know it.
  • Someone has tried it.

Decide in advance who may use it. The right answer is anyone who sees harm, with no blame for a false alarm. An hour of a stopped agent costs less than an hour of a wrong one.

Know what "stopped" means

Stopping an agent is rarely one thing. Ask:

  • Are there actions already queued that will still run?
  • Is there a schedule that will start it again tonight?
  • Does anything else depend on it and fail without it?

Find out on a quiet day.

What can be undone

Sort every action your agents take into three kinds:

  • Undoable. A changed field in a system that keeps history.
  • Undoable with work. A wrong refund. A wrong order. You can put it right, and it will cost time and an apology.
  • Not undoable. Money that has left. Data that is deleted. A message a customer has read.

The third kind is why checkpoints exist. You cannot plan to reverse it, so you plan to catch it first.

The first hour

  1. Stop the agent.
  2. Keep the records. Export them before anything rotates or is cleaned up.
  3. Find the reach. What has it touched since it last behaved as expected?
  4. Tell the owner, and anyone affected.
  5. Put the data right.
  6. Leave it stopped until you know the cause.

Afterward

Write one page: what happened, how far it went, what stopped it, what changes. Then change something real: a limit, a checkpoint, a permission. A page that changes nothing is a diary.

Practice once

Take your most important agent and thirty minutes. Say: it has been sending wrong information to customers since nine this morning. Who notices? Who stops it, and how? How do you find which customers? You will learn more in that half hour than from any policy.

Next: Questions to ask an agent vendor

Start with the review.