AI Agent Incident Response Runbook: From Alert to Verified Fix

Published Sources reviewed October 14, 20269 min read

An AI agent incident is resolved when the targeted failure has stopped in production conversations, measured the same way it was detected, not when a prompt change merged. This runbook takes an incident from first alert to that verdict in nine steps, most inside one working day.

It covers behavioral incidents: the service is up, latency is normal, and the agent is doing the wrong thing. The companion incident postmortem template covers what to record afterward. It is part of the AI agent optimization hub.

The short version

Treat the fix as a hypothesis until live traffic confirms it. Freeze other changes, diagnose at the step, change one layer, test head-to-head, ship with a marker, and close the incident on a verdict rather than on a merge.

Why agent incidents need their own runbook

Service runbooks assume the symptom and the cause live in the same telemetry: an error rate spikes, a dependency is slow, a deploy is rolled back. An agent incident usually looks healthy on every dashboard. CPU, latency, and uptime are fine while the agent routes users to the wrong specialist, invents a refund policy, or stops calling a tool it called yesterday.

Two things differ in response. The evidence is in conversations, so the first job is reading the right ones at the right turn. And the fix is a behavior change, so the proof that it worked is a count of the failure after the fix, not a green deploy.

The nine steps

The table is the runbook. Each step has a timebox for a typical production agent and an exit criterion. Timeboxes assume the team has step-level diagnosis and a regression suite available; without them, steps 3 and 6 take days instead of hours.

Step
1. Triage the signal
Timebox
15 minutes
Exit criterion
Confirmed it is behavioral, not an outage; one sentence describing the wrong behavior
Step
2. Freeze other changes
Timebox
5 minutes
Exit criterion
No other prompt, configuration, or model edits until the verdict; the freeze is announced
Step
3. Diagnose at the step
Timebox
1 to 2 hours
Exit criterion
The failing turn, the failure mode, the root-cause layer, and a count with a denominator
Step
4. Contain
Timebox
30 minutes
Exit criterion
Blast radius reduced: revert a recent change, pin a model version, or narrow a tool
Step
5. Fix one layer
Timebox
1 hour
Exit criterion
A bounded change aimed at the diagnosed cause, described in one sentence
Step
6. Test head-to-head
Timebox
1 to 2 hours
Exit criterion
Positive lift over the current agent on shared personas; regression suite passes
Step
7. Ship with a marker
Timebox
30 minutes
Exit criterion
Approved, deployed, serving version and time recorded
Step
8. Verify on live traffic
Timebox
Hours to days
Exit criterion
Verdict: verified, improving, not fixed, confounded, or not enough evidence
Step
9. Close on the verdict
Timebox
30 minutes
Exit criterion
Scenario added to the regression suite; postmortem written; incident closed only on verified or improving

Step 1: triage the signal

Alerts for agent incidents arrive from three places: a user or customer report, your monitoring or observability tool, or a quality metric moving in a dashboard. Converra does not page you; use whatever already does. The first question is whether the agent is unresponsive or responding wrongly. If responses are failing or slow, follow the service runbook; the guide to what to do when an AI agent stops working separates the two.

Exit with one sentence that names the behavior, not the symptom: 'the agent quotes delivery dates without confirming the order number', not 'customers are complaining about deliveries'.

Step 2: freeze other changes

Announce a freeze on prompt, configuration, and model edits for the affected agent until the verdict is in. This is the step teams skip, and it is the one that makes the result readable. Converra marks a verdict confounded when the prompt was edited outside the fix during the measurement window; a freeze is how you avoid earning that outcome.

Step 3: diagnose at the step

Pull the conversations that show the behavior, plus a sample from before the incident started. For each, find the first turn where the agent diverged from what the user needed and classify the cause: prompt, configuration, context or retrieval, code or routing, or model fit. Count how many conversations in the window show the pattern and over what denominator; exclude conversations you could not diagnose rather than counting them as fine.

Check for a change marker near the onset. A new prompt version, a configuration edit, a model update from the provider, or a tool or API change in the same hour is the leading suspect. Converra's step-level diagnosis does the turn-level work and records failure types per conversation, which is also the baseline the verdict will use later.

Step 4: contain

Containment buys time without pretending to be the fix. If a recent change coincides with onset, revert it and re-measure; that is the fastest containment there is. If a model update is the suspect, pin the previous version where your provider allows it. If a tool is misbehaving, narrow or disable it with a graceful fallback. If none applies, route the affected intent to a human queue.

Record what containment changed. It is another change in the window, and the postmortem needs it.

Step 5: fix one layer

Make the smallest change that removes the diagnosed behavior in the diagnosed layer. A prompt-layer cause gets an instruction change; a configuration cause gets a threshold or tool-setting change; a code or routing cause gets a described change with evidence for the engineer who owns that code. Do not rewrite the prompt during an incident. Converra generates bounded prompt and configuration fixes from the diagnosis and provides a PR-ready description for code causes; it does not merge code on its own.

Step 6: test head-to-head

Run the current agent and the candidate on the same simulated conversations, including scenarios built from the incident conversations, and score both with the same rules. The candidate advances only if it beats the current agent on the conversations both ran and the regression suite passes. Converra runs this as paired simulation on shared personas with a regression gate; see simulation testing for agents.

This stage is what separates a runbook from a hotfix. It takes an hour or two, and it is the hour that keeps the fix from becoming the next incident.

Step 7: ship with a marker

Deployment is review-first in Converra: the winning change ships as a GitHub pull request or as a direct update that a person applies, and automatic deployment is optional, off until enabled, and only behind a passing regression suite. During an incident, a named person approves. Record the serving version and the time; that marker divides before from after in the next step. Keep the previous version deployable.

Step 8: verify on live traffic

Count the targeted failure in new production conversations with the same detector used in step 3. Converra's rules for a fix it shipped, as of October 2026: monitoring until at least 5 diagnosed conversations after the change; verified with at least 15 conversations after the change and zero recurrences of a failure that occurred before; improving when recurrences fell but did not reach zero; not fixed when the failure recurred at least as often; regressed when the overall failure rate rose; confounded when the prompt was edited outside the fix. Model version changes and traffic-mix shifts are not detected automatically, so check them by hand.

Low-traffic agents wait longer. Do not lower the bar to close the incident faster; a not-enough-evidence state that is honest beats a verified label that is not. The guide to verifying a fix after deployment covers the full design.

Step 9: close on the verdict

Close the incident only on verified or improving. Not fixed sends you back to step 3 with the recurrences as new evidence. Confounded means waiting for a clean window or re-shipping the change alone. Regressed means revert and reopen.

Before closing, add the incident scenario to the regression suite so it never leaves, and write the postmortem using the incident postmortem template: impact, the failed trajectory, the active prompt and model versions, containment, the tested fix, the deployment marker, and the verdict.

Worked example

The numbers are illustrative, not customer data. At 09:20 a support lead reports that the agent is confirming refunds for orders it cannot find. Triage confirms the service is healthy. A freeze is announced at 09:30. Step-level diagnosis of the morning's 180 conversations finds the pattern at turn three or four in 14 of them (7.8%), classified as a prompt-layer cause; a prompt edit shipped the previous evening at 18:05 is the suspect. Containment reverts that edit at 10:15.

A bounded fix requires a found order before any refund commitment. In paired simulation it removes the behavior on the incident scenarios and matches the baseline elsewhere; the regression suite passes. A named approver ships it at 13:40 and the serving version is logged. By the next morning the detector finds the pattern in 1 of 210 conversations after the marker; under the rules above that reads as improving, so the incident stays open at reduced severity until the count reaches zero over at least 15 conversations or the single recurrence is diagnosed as a different cause.

The one published Converra example is the Salespeak case study, where unsupported pricing, VAT, and infrastructure claims did not recur on live traffic after a deployed fix. Limits: one customer, one agent, and percentages rather than counts.

Frequently asked questions

What counts as an AI agent incident?

An AI agent incident is a sustained wrong behavior in production, such as wrong routing, unsupported claims, or a tool the agent stopped using, that affects users while the service itself is healthy. Outages and latency are service incidents and follow the service runbook.

How fast can an agent incident be resolved?

With step-level diagnosis and a regression suite available, diagnosis, a bounded fix, head-to-head testing, and shipping fit inside one working day. Verification on live traffic takes hours to days depending on traffic, and the incident should stay open until the verdict is in.

Should I roll back the prompt first?

If a recent prompt or configuration change coincides with the onset, reverting it is the fastest containment and often the diagnosis. Record the revert as a change in the window, then follow the runbook to a proper fix and a verdict.

When is an agent incident closed?

When the targeted failure has stopped in production conversations measured with the same detector that found it: verified or improving under your rules, with the scenario added to the regression suite and a postmortem written. A merged fix is not closure.

Does Converra alert me to agent incidents?

No. Converra does not page you; alerts come from your monitoring, your users, or your dashboards. Converra runs the diagnosis, the tested fix, the governed deployment, and the production verdict once an incident is in hand.

Oren Cohen, founder of Converra

Written by

Founder of Converra. Previously founded Buildup (acquired by Stanley Black & Decker) and, as VP Product Growth at Totango, owned AI end-to-end from design through production.

Close incidents on a verdict, not a merge

Converra diagnoses the failing turn, tests a bounded fix against your current agent, ships what you approve, and reports whether the failure stopped on live traffic: verified, not fixed, or confounded.