Reference · Operations
AI Agent Incident Response
Contain, preserve, scope, notify, fix — in that order, in the first hour.
01The first hour
Agent incidents look like ordinary application incidents until the question "what did it do?" arrives and no one can answer. The runbook that works borrows from security incident response and adds three agent-specific steps: preserve the run record before you redeploy, scope the action history, and check the inputs for injection.
02Contain
- Stop the agent (disable the schedule, revoke the credential, or disable the integration).
- Do not delete the agent or its logs. Revoke, do not erase.
- If the agent wrote to a downstream system, pause that system's downstream automation.
- Record the time and the action taken. Containment is evidence.
03Preserve
Export the run record before anything redeploys: the trigger, the agent version, the model version, the tool calls with arguments, the approvals, and the outputs. If the only copy is a console with a rolling window, export now. This is the difference between an incident you can investigate and one you can only describe.
04Scope
Three questions bound the blast radius:
- What did the agent touch in the window — records, files, messages, payments?
- Which of those actions had a human approver, and which did not?
- Which inputs arrived from outside the boundary in the same window?
The third question is how you find prompt injection: correlate the unexpected action with a document or message the agent read shortly before it.
05Notify
Decide who needs to know based on what left the boundary: the client whose data was involved, the carrier or auditor bound by contract, and counsel if privilege or regulatory notification is possible. The notification decision, and the reasoning, is part of the record.
06Fix and review
Fix the class of failure, not the instance: add the missing approval gate, narrow the scope, add the injection test to the suite, and update the change record. Then run the review with the five questions from the audit trail guide and record what the controls missed.
07How this maps to NIST
NIST SP 800-61 Rev. 3 (April 2025) organizes incident response around the CSF 2.0 functions: Govern, Identify, Protect, Detect, Respond, and Recover. The phases above sit inside Respond and Recover; the preparation sits in Govern, Identify, and Protect.1
| Phase above | NIST function |
|---|---|
| Prepare the runbook and the drill | Govern, Identify, Protect |
| Detect the anomaly and declare the incident | Detect |
| Contain, preserve, scope, notify | Respond |
| Fix, review, restore | Recover |
08The drill
Once a quarter, simulate: an agent posts an incorrect payment and sends an external email. Ask the team to contain, export, scope, and decide notification within an hour. The drill is cheap; the first real incident is not.
Next: the glossary — every term in this guide, defined once.
Free · the 24-point audit
Get the shadow AI audit
Twenty-four checks across visibility, identity, data, and governance — each with the evidence that answers it. The printable version of the method on this page.
We use the address to send the pack, then a person checks in once. No list, no sequence; no sales calls unless you ask. Privacy.