Eduard Tamsa

Eduard Tamsa

Software thinkerer

All articles

How AI Can Help During Incidents

An incident is a bad time to ask an AI system to be the senior engineer.

The environment is uncertain, the available information is incomplete, and the cost of a confident mistake can be high. That does not make AI useless during incidents. It means the tool needs the right role.

AI is most helpful as an assistant that reduces the cost of gathering, organizing, and comparing information while accountable humans make the operational decisions.

It can shorten the path to understanding. It should not silently take control of production.

Start With Information Collection

Incident responders spend a large amount of time collecting context.

What changed recently? Which alerts fired first? Which services depend on the failing component? Did the error begin in every region? Is the current symptom similar to an earlier incident? Which dashboard and runbook apply?

AI can help assemble this information from trusted sources. It can summarize recent deployments, group related alerts, build an initial timeline, and find relevant sections in runbooks or previous postmortems.

This is valuable because it reduces searching and context switching. The responder receives a starting point instead of opening ten systems manually.

The output must keep its sources visible. A summary without links, timestamps, or identifiers is difficult to verify and easy to overtrust.

During an incident, every important claim should be traceable to evidence.

Summarize Without Hiding Uncertainty

AI is good at producing clean explanations from messy input. That is both the benefit and the danger.

Logs are incomplete. Metrics can lag. Alerts can be symptoms rather than causes. Two events that happen close together may be unrelated.

A useful incident assistant should distinguish facts from hypotheses.

“Error rate increased three minutes after deployment X” is an observation. “Deployment X caused the incident” is a conclusion that needs more evidence.

The system should show what it knows, what it inferred, and what information is missing. It should preserve contradictory signals instead of smoothing them into one confident story.

Good incident communication is not the most polished explanation. It is the most accurate explanation available at that moment.

Use AI to Compare, Not Decide

Comparison is a strong use case.

AI can compare the current configuration with the last known good version, identify unusual log patterns, summarize differences between healthy and unhealthy regions, or check whether the symptoms match previous incidents.

These tasks are time-consuming for people and often involve large amounts of text or structured data.

The result should support a decision, not become the decision automatically.

For example, an AI assistant may identify that all failing instances use a new image and suggest rollback as a likely mitigation. The incident commander should still evaluate data compatibility, recent migrations, customer impact, and whether the old version can run safely.

Pattern matching is useful. Operational authority remains a separate concern.

Keep Production Actions Behind Approval

The more capable the assistant becomes, the more important permission design becomes.

An incident tool may need read access to logs, metrics, deployments, configuration, and topology. That does not mean it needs permission to restart services, change firewall rules, delete resources, or rotate credentials.

Separate diagnostic access from action access.

The assistant can prepare a command, a rollback plan, or a change proposal. A human reviews the target, impact, prerequisites, and recovery path before execution. High-risk actions should continue through controlled systems with audit logs and existing approvals.

This checkpoint is not unnecessary friction. Incidents create pressure, and pressure makes a plausible recommendation feel more certain than it is.

The goal is fast, informed action, not uncontrolled action.

Protect Sensitive Data

Incident evidence can contain credentials, customer information, internal addresses, tokens, and other sensitive data.

Sending every log line to an AI service without understanding retention, access, and data boundaries creates a second incident waiting to happen.

Teams should define which sources the assistant may access, how data is filtered, where processing occurs, and what is recorded. Secrets should be redacted before model input. Customer data should follow the same handling rules it has everywhere else.

The incident does not suspend the security model.

If the tool cannot operate within the required data boundary, use it on sanitized summaries or do not use it for that source.

Improve Communication

One of the safest and most useful roles for AI is drafting communication from verified facts.

It can turn a technical timeline into an internal status update, keep a running summary for responders joining late, or prepare a customer-facing draft for review.

This reduces the load on the incident commander, who should not need to rewrite the same context for several audiences.

The draft still requires human approval. External updates carry commitments and can create confusion if the wording overstates certainty.

Provide the assistant with verified facts, the current impact, actions in progress, and the next update time. Then review the message for accuracy before sending it.

AI can reduce writing effort. Accountability for the message remains human.

Capture the Timeline While It Happens

Postmortems are difficult when the incident record is reconstructed from memory.

An assistant can maintain a timeline from chat messages, alerts, deployments, and approved actions. It can record when hypotheses were created, when they were rejected, and which evidence changed the response.

This produces better material for learning later.

The timeline should not become an invisible surveillance system. Teams need clear rules about which channels are included, who can access the record, and how long it is retained.

Used responsibly, the tool reduces administrative work and helps the postmortem focus on system lessons instead of arguing about timestamps.

Learn From Every Wrong Suggestion

If the AI produces an incorrect diagnosis, do not only dismiss it.

Ask why the suggestion looked plausible. Was an important metric missing? Did the runbook contain outdated information? Did the tool have access to one region but not another? Did a previous postmortem describe a similar symptom without enough context?

The failure can reveal weaknesses in both the assistant and the operational data.

Improve the sources, add constraints, update the runbook, or create a test scenario. Do not rely on prompt changes alone when the real problem is missing evidence or excessive permission.

Final Thought

AI can help incident responders search faster, compare more information, maintain timelines, and communicate with less effort.

Those are meaningful improvements when minutes matter.

Keep the evidence visible. Separate facts from hypotheses. Protect sensitive data. Require human review for production actions and external communication. Treat every recommendation as decision support, not authority.

During an incident, the best AI assistant is not the one that sounds most certain. It is the one that helps the team understand the system faster without hiding uncertainty or weakening control.