Your AI Agent Broke Something: The First 60 Minutes

A minute-by-minute playbook for the hour after an AI agent does something it shouldn't: stop it, keep the evidence, measure the damage, decide.

By Khaled Jabr · 7 min read · November 23, 2026

اقرأ هذا المقال بالعربية

The worst time to decide who can switch off an AI agent is while it is still running. Yet that is when most teams discover they never decided. This playbook is the hour after an agent sends the wrong emails, edits the wrong records, or issues refunds it should not have. Print it before you need it.

One idea runs through every step: stop first, understand second. A paused agent costs you some delay. A running agent with a bug keeps adding damage every minute you spend debating.

Why agents fail differently

A chatbot that gives a wrong answer produces a wrong sentence. An agent that goes wrong produces wrong actions: messages sent, rows changed, money moved. OWASP's 2025 list of risks for LLM applications calls this "Excessive Agency" (LLM06) and names three root causes: too much functionality, too many permissions, and too much autonomy. Keep those three in mind. Every step below shrinks one of them.

Minutes 0–5: Stop it

  • Pause the agent at the platform level: disable the workflow, turn off the trigger, or stop the scheduled run.
  • If you can't find a pause button within two minutes, cut its access instead: revoke the API key or token the agent uses for the system it is damaging.
  • Do not edit the prompt to "fix" it live. A prompt change is a code change made under pressure, and it destroys your picture of what the agent was told.
  • Say it out loud in the team channel: "Agent X is paused. Nobody restarts it until we decide together."

If this step took longer than five minutes, you have found your first finding: the agent had no named owner and no tested stop switch.

Minutes 5–15: Keep the evidence

  • Export the agent's run logs and tool-call history before anything rotates or expires.
  • Save the exact prompt, model, tool list and permissions that were live at the time. Screenshots are fine.
  • Note the first and last time you can see a bad action. That window defines everything that follows.

OWASP lists "log and monitor" among the controls that limit damage. If your agent writes no logs, you will spend this hour guessing. Add logging to your restart conditions.

Minutes 15–30: Measure the blast radius

Answer four questions, in writing:

  1. What did it touch? Systems, records, messages, payments.
  2. Who is affected? Internal only, or customers and partners?
  3. Can it be reversed? Emails can't be unsent; database rows often can be restored.
  4. Is it still spreading? Queued jobs, scheduled sends, or downstream systems that copied its output.

Stop downstream copies now. A bad record that has already synced to your CRM and your billing tool is three problems, not one.

Minutes 30–45: Decide who needs to know

  • The agent's owner and their manager, always.
  • Security and legal when customer data, money or contracts are involved.
  • Affected customers when the damage reached them. Write a short, plain message: what happened, what you have done, what they should do.
  • Check whether a law or contract obliges you to report within a deadline. Ask legal; do not guess.

Minutes 45–60: Write it down and set restart conditions

Fill in a one-page incident card (below). Then agree what must be true before the agent runs again. Typical restart conditions:

  • The root cause is understood, not just the symptom.
  • Its permissions are cut to the minimum it needs for the task.
  • High-impact actions now wait for a human to approve them (an OWASP-recommended control).
  • A rate limit caps how much it can do in a time window, so the next mistake stays small.
  • The owner has tested the stop switch and confirmed it works.

The incident card (copy this)

Field Answer
Agent name and owner
Time paused / who paused it
First and last bad action seen
Systems and people affected
Reversible? What was restored
Who was told, and when
Root cause (one sentence)
Restart conditions and who approves

What to do this week, before anything breaks

Pick your three most active agents. For each, write down the owner's name and the exact way to stop it, then test the stop. Lumis's free AI Agent Register template gives you one line per agent for exactly this.

The US standards body NIST revised its incident response guidance in April 2025 (SP 800-61 Rev. 3), and its message fits agents well: incident response is not a separate emergency plan but part of everyday risk management. The minute marks in this playbook are Lumis's suggested structure, not a NIST requirement; adjust them to your team. What matters is that the decisions are made before the incident, not during it.

General information, not legal advice.

Sources: NIST SP 800-61 Rev. 3 (April 2025) · OWASP LLM06:2025 Excessive Agency

Related articles