AI Agent Incident Postmortem Template: What to Record After a Failure
An AI agent incident postmortem should preserve user impact, the exact failed trajectory, active prompt and model versions, tool actions, retrieved context, evaluator evidence, the first causal step, mitigation, the tested fix, deployment identity, and the production verdict.
Ordinary service telemetry is necessary, but incomplete. CPU, latency, exceptions, and uptime can all look healthy while an agent routes to the wrong specialist, cites stale context, misuses a tool, or violates a policy. The postmortem needs behavioral evidence and version lineage alongside infrastructure state.
The short version
A useful AI agent postmortem does not end at root cause or service recovery. It preserves enough evidence to connect one failure to one change, one deployment, and an honest production result.
Why ordinary postmortems miss the agent failure
Traditional incident practice supplies the durable foundation: a blameless account of impact, timeline, trigger, root cause, recovery, lessons, and concrete actions with owners. Google SRE guidance also emphasizes specific data, source links, a single accountable postmortem owner, and action items with verifiable completion criteria.
Agent systems add a second evidence plane. The same visible answer can depend on the active system prompt, model and parameters, tool definitions, retrieved documents, conversation history, routing path, policy version, and external side effects. If those identities are missing, the postmortem may describe the symptom without preserving the system that produced it.
- Operational record
- Availability, latency, and exceptions
- Behavioral record
- User goal, policy, and observed outcome
- Why both matter
- A healthy service can still produce the wrong behavior
- Operational record
- Deployment and configuration events
- Behavioral record
- Prompt, model, tools, retrieval, routing, and state
- Why both matter
- The failed behavior must attach to the exact system that ran
- Operational record
- Logs and infrastructure traces
- Behavioral record
- Messages, decisions, handoffs, tool calls, and side effects
- Why both matter
- The final answer can hide the first causal divergence
- Operational record
- Alert and recovery timeline
- Behavioral record
- Evaluator version, human evidence, and disagreement
- Why both matter
- Detection can be wrong even when it fires correctly
- Operational record
- Service restoration
- Behavioral record
- Fix identity and fresh production result
- Why both matter
- Recovery does not prove the behavioral fix worked
Copy this AI agent incident postmortem template
Create one durable incident record and attach evidence rather than reconstructing it from memory. The postmortem owner should leave every unknown explicit. If a required measurement was not collected, write UNOBSERVED instead of presenting a zero or estimate as an observed measurement. If an impact estimate is operationally useful, label its method, range, and uncertainty separately.
- Section
- Identity and ownership
- What to record
- Incident ID, short behavior and impact title, status, incident owner, technical reviewer, severity rule
- Required evidence
- Durable record URL and one accountable owner
- Section
- Executive summary
- What to record
- What users experienced, affected workflow, mitigation, and what remains unverified
- Required evidence
- Three to five factual sentences
- Section
- User and business impact
- What to record
- Affected population, bad outcomes, impact window, counts or rates, privacy, safety, financial, and irreversible effects
- Required evidence
- Numerators, denominators, source links, missing measurements, and labeled estimates
- Section
- Expected and observed behavior
- What to record
- Expected outcome, observed outcome, violated policy or product contract
- Required evidence
- Representative trace and the owning rule
- Section
- Exact execution lineage
- What to record
- Trace and run IDs, agent path, prompt, model, tools, permissions, retrieval, history, deployment, and flags
- Required evidence
- Immutable IDs or hashes for the effective versions
- Section
- Timeline
- What to record
- Start, detection, decisions, containment, mitigation, candidate, deployment, and observation events
- Required evidence
- Timestamp, event, evidence, and decision owner for each row
- Section
- Detection
- What to record
- First signal, monitoring or eval gap, evaluator version, threshold, and error concerns
- Required evidence
- Judge, rule, deterministic check, or reviewed human label
- Section
- First causal step
- What to record
- First supported divergence, downstream symptoms, causal edge, failure category, fix type, owner, and confidence
- Required evidence
- Trace span plus counterevidence or an unresolved label
- Section
- Trigger and contributors
- What to record
- Triggering event, contributing conditions, conditions ruled out, and confounders
- Required evidence
- Change markers and evidence for exclusions
- Section
- Mitigation and recovery
- What to record
- Containment, user or data repair, rollback or disablement, remaining failure, and recovery evidence
- Required evidence
- What harm stopped and what behavior remained
- Section
- Corrective change
- What to record
- Change ID, owner, hypothesis, exact diff, supported fix type, approval, and rollback target
- Required evidence
- Reviewable change identity
- Section
- Validation and verdict
- What to record
- Frozen reproduction, matched baseline and candidate, regression controls, deployment marker, post-change evidence, and confounders
- Required evidence
- Verified, not fixed, confounded, or UNOBSERVED evidence state
- Section
- Follow-up and closure
- What to record
- What went well, poorly, and depended on luck; preventive, mitigative, detection, and learning actions
- Required evidence
- Owner, due date, and verifiable completion evidence for every action
Preserve one failed execution before changing the system
Name one representative failed execution and capture its version lineage before deploying a fix. If the incident affected several distinct paths, preserve one case per path instead of combining them into a fictional average trajectory. The evidence should make it possible to identify what the agent saw, decided, called, changed, and returned.
Agent traces can contain prompts, user data, retrieved documents, and tool inputs or outputs. OpenAI's Agents SDK documentation explicitly warns that generation and function spans may capture sensitive data. Follow the organization's privacy, access, and retention policy; preserve bounded references, hashes, or redacted evidence when full content is unnecessary.
Separate the trigger, first causal step, and downstream symptoms
A model update, prompt promotion, index refresh, traffic shift, tool outage, or permission change may trigger the incident window. The first causal step is the earliest supported point where behavior diverged. The user-visible symptom is what happened later. These can be three different facts.
Do not assign blame from timing or from the last agent that produced an answer. Preserve the causal edge connecting an earlier decision to the later effect. If the trace does not identify a unique owner or fix type, leave it unresolved and record the exact evidence needed next.
- Field
- Trigger
- Question
- What changed or activated the incident window?
- Example
- A retrieval index refresh changed eligible documents
- Field
- First causal step
- Question
- Where did behavior first diverge with supporting evidence?
- Example
- The router selected billing using stale state
- Field
- Downstream symptom
- Question
- What later behavior exposed the failure?
- Example
- The refund agent denied an eligible request
- Field
- Fix type
- Question
- Which owned surface does the evidence support changing?
- Example
- Routing configuration, not the final agent prompt
Treat judges as evidence, not ground truth
If an LLM judge or heuristic detected the incident, record its prompt or rule version, reference labels, threshold, and known error modes. Preserve the human or deterministic evidence used to confirm the failure. A detector can be useful without being authoritative about causality, severity, or the correct fix.
Do not rewrite the incident to match the judge. Record consequential disagreement and its likely false-positive or false-negative effect. If independent evidence cannot resolve it, mark detection or causality unresolved rather than averaging conflicting judgments into a reassuring score.
Keep mitigation, corrective change, deployment, and proof separate
Disabling a tool, routing traffic away, or rolling back a prompt can reduce harm without identifying the cause. A candidate can pass replay and regression tests without reaching production. A deployment marker proves what became active, not that the change improved the targeted behavior.
- Artifact
- Mitigation receipt
- Question answered
- What reduced or contained immediate harm?
- What it does not prove
- The root cause was correctly identified
- Artifact
- Corrective change
- Question answered
- What owned system component changed, and why?
- What it does not prove
- The candidate passed a meaningful test
- Artifact
- Validation receipt
- Question answered
- Did the candidate beat the baseline without material regression under declared conditions?
- What it does not prove
- The candidate deployed or improved production behavior
- Artifact
- Production verdict
- Question answered
- Did comparable fresh traffic support the targeted outcome?
- What it does not prove
- Every future environment or failure mode is solved
Make every follow-up action testable
A vague instruction to improve monitoring is not an action item. An alert when a required handoff receipt is missing for five minutes, with an integration test that exercises the timeout path, has an owner and a verifiable end state. Write actions so a reviewer can determine whether they were completed without trusting a status label.
Cover prevention, mitigation, detection, and learning in proportion to the incident. Name the owning system, exact deliverable, due date, completion evidence, and the person responsible for closing the item. A postmortem without subsequent action is only a record of what the team may repeat.
Close incident response and the fix claim separately
Close incident response when impact is contained, the durable record has one accountable owner, and follow-up work is tracked. Close the corrective-change claim only when its evidence state is explicit. If comparable post-deployment evidence has not been collected, the fix remains UNOBSERVED even when the postmortem itself is complete.
Converra uses the production verdicts verified, not fixed, and confounded for deployed changes. UNOBSERVED is the pre-verdict evidence state in this template, not a fourth Converra production verdict. It means the required production measurement does not yet exist.
Where Converra fits
Converra connects a targeted production failure to trace-backed diagnosis, a supported corrective candidate, paired simulation, regression checks, governed delivery, and a post-deployment verdict. That lineage can populate the behavioral portions of an incident record and keep a tested change attached to the production result.
The customer still owns incident severity, outcome definitions, privacy and retention policy, service recovery, deployment authority, code or data changes outside supported scope, and final accountability. A completed postmortem, green dashboard, merged pull request, or simulation pass does not by itself prove the behavioral fix worked in production.
Frequently asked questions
What counts as an AI agent incident?
An AI agent incident is a behavioral or system failure that crosses the team's declared impact threshold, such as user harm, an incorrect irreversible action, a material policy violation, sustained task failure, or loss of required control.
Who owns an AI agent incident postmortem?
One incident owner should coordinate the service, product, model, context, tool, data, and policy owners while remaining accountable for the record, evidence gaps, follow-up routing, and closure.
What evidence should I preserve after an AI agent incident?
Preserve user impact, trace and run IDs, the observed agent path, active prompt and model versions, tool and policy versions, retrieval references, deployment state, evaluator version, side-effect receipts, and the exact mitigation under the organization's privacy rules.
How should an AI agent postmortem handle judge error?
Record the judge or rule version, reference evidence, threshold, disagreement, and likely false-positive or false-negative effect, then keep detection or causality unresolved when independent evidence cannot settle the conflict.
When should I close an AI agent incident?
Close incident response when impact is contained and the durable record and follow-ups have owners, but do not call the fix verified until comparable post-deployment evidence supports the targeted outcome.
Related reading
Build an AI agent evaluation harness
Preserve the test and release identities behind a corrective change.
Build a regression suite from production traces
Turn the incident into a privacy-safe reproduction and protected controls.
Trace the first causal step
Separate failure origin, category, fix type, and causal ownership.
Stop reading dashboards. Ship the fix.
Converra diagnoses the failure, tests the fix in simulation, and verifies it worked on your real traffic. Connect your production data and see it on your own agent.