DEV Community

When the AI Gets It Wrong in Public: Incident Response for AI Products

Every organisation that runs AI in front of customers will eventually have the same morning. A screenshot is circulating. The system said something wrong, unfair, or simply strange, and someone outside the company noticed before anyone inside it did.

Support is fielding questions, a senior leader wants to know what happened, and the team that built the feature is trying to work out whether this is one bad answer or the visible tip of something larger.

Most companies have mature incident processes for outages. Very few have adapted them for AI. That gap matters, because AI incidents behave differently from traditional ones. The system is usually still up. Nothing has crashed. The logs look normal. The failure is in the quality of the output, and quality failures are harder to detect, harder to scope, and harder to explain than a server going down.

Here is how I think about building incident response for AI products, so that the bad morning is shorter, calmer, and leaves the product better than it was.

AI incidents do not look like outages

A traditional incident has a clear signal. Error rates spike, latency climbs, a health check fails, and an alert fires. The question is how fast you can restore service.

An AI incident rarely announces itself that way. The service is responding normally. Response times are fine. What has changed is that some fraction of answers are wrong, inappropriate, or harmful, and the system has no way of knowing that on its own. Often the first signal is a customer complaint, a social media post, or a frontline colleague who noticed a pattern.

That has three consequences. First, detection depends on watching quality, not just availability, which most monitoring was never designed to do. Second, the blast radius is hard to measure, because you need to know how many other users received similar answers, and that requires going back through outputs rather than counting errors. Third, the fix is rarely a restart. It may involve changing prompts, grounding data, guardrails, or the model itself, each of which needs testing before it goes live.

The first step is simply to name AI quality failures as incidents. If your incident policy only recognises downtime, a harmful answer that reaches thousands of users will be treated as a product bug and queued behind the roadmap. Define severity levels that include quality, safety, and fairness failures, with clear examples of each, so nobody has to argue at 7am about whether this counts.

Detect it before your customers do

The best incident is the one you catch internally. For AI, that means building quality signals that run continuously in production, not only at launch. Useful signals include:

  • sampled human review of live outputs
  • automated checks against known failure patterns
  • user feedback such as thumbs down or rephrased questions
  • escalation rates to human agents
  • sudden shifts in the distribution of answers, such as a category of response that used to be rare becoming common

None of these is perfect on its own. Together they give you a reasonable chance of noticing a problem while it is still small.

Each signal needs an owner and a threshold. A dashboard that nobody watches is not detection. Decide in advance which movements trigger a review and who gets paged, the same way you would for latency or error rates.

It also helps to make it easy for colleagues to report odd behaviour. Frontline teams see the product all day. A simple route for them to flag a suspicious answer, with the conversation attached, will surface issues faster than most automated monitoring.

Contain first, diagnose second

When an AI incident is confirmed, the instinct of most engineering teams is to find the root cause. That instinct is right eventually, but wrong as the first move. The first job is to stop further harm. That requires containment options that exist before the incident, not ones improvised during it. The most useful are:

  • a kill switch that disables the AI feature and falls back to a safe default
  • a way to restrict the feature to lower-risk use cases or user groups
  • the ability to roll back to the previous prompt, configuration, or model version quickly
  • targeted blocks for specific topics or request types while the team investigates

Each option should be tested regularly, and the decision rights should be clear. Someone on call needs the authority to switch a feature off without convening a meeting. The cost of a feature being unavailable for a few hours is almost always smaller than the cost of it continuing to produce harmful output while people debate.

The fallback matters as much as the switch. If turning off the AI leaves users with a dead end, people will hesitate to use it. If it routes them to a simpler flow, a search result, or a human, the decision becomes easy.

Scope the damage with evidence, not hope

Once the bleeding has stopped, the next question from leadership will be how big this is. Too many teams answer with a guess, usually an optimistic one, and then have to revise it publicly. Answering properly depends on logging decisions made long before the incident.

You need to be able to retrieve the inputs, outputs, model version, configuration, and grounding sources for any given interaction, within the limits of your privacy commitments. With that record, the team can search for similar cases, estimate how many users were affected, and identify whether the problem was confined to one segment, one language, one topic, or one time window. Without that record, the scope is unknowable, and the organisation is left choosing between overstating the problem and hoping it was small. Neither is a good position with customers, regulators, or the board.

A practical rule is that scoping should produce a number with a stated confidence and method. "We reviewed all 14,000 conversations in the affected window, found 212 with the faulty pattern, and confirmed 38 reached a user before containment" is a statement a leader can stand behind. "We think it was a handful" is not.

Communicate like you understand the system

AI incidents attract more attention than ordinary bugs, because people find machine errors unsettling in a way they do not find a slow web page unsettling. Communication therefore deserves real care.

Internally, give leadership and frontline teams a short, factual summary early, even before the full picture is clear: what happened, what has been done to contain it, what is still unknown, and when the next update will come. Update on that schedule whether or not there is news.

Externally, affected users deserve a clear account in plain language. Avoid language that blames the technology as if it were an independent actor. The organisation chose to deploy the system and is responsible for what it does. Say what went wrong, who was affected, what you have done, and what you are changing. Where individuals received harmful or incorrect information that could affect them, contact them directly and offer a route to a human who can help.

Frontline teams need their own briefing too. They are the ones customers will ask, and a short note on what to say, what not to speculate about, and where to escalate keeps the message consistent.

Prepare the templates and approval paths in advance. The middle of an incident is a poor time to discover that every external statement needs sign-off from four functions that have never discussed AI.

Run post-mortems that change the system

The post-mortem is where an incident either becomes a lasting improvement or a forgotten bad week. The standard principles still apply: blameless, focused on systems rather than individuals, and written down. AI adds some questions that traditional reviews tend to miss.

Why did our evaluation not catch this? Every AI incident is, in part, a gap in the test set. The most valuable output of the review is often a set of new evaluation cases built from the real failure, so the same problem cannot return unnoticed.

What changed? Many AI incidents follow a change nobody treated as a release: an upstream model update, a shift in source data, a new user group, a configuration tweak. Identifying the trigger shapes how future changes are tested.

Why did detection take as long as it did? If customers noticed first, the review should produce at least one new production signal.

Did containment work as designed? If the kill switch was slow, unclear, or politically difficult to use, fix that before the next incident.

Each review should end with a short list of owned actions with dates, and those actions should be tracked to completion. A post-mortem that produces insight but no change is a ritual, not a control.

Rehearse before you need it

Incident response is a skill, and skills decay without practice. The organisations that handle AI incidents well have usually rehearsed them. A simple tabletop exercise works: take a plausible scenario, such as the assistant giving confidently wrong guidance on a sensitive topic to a few hundred users over a weekend, and walk the relevant people through it.

Who notices? Who decides to switch the feature off? How do we find affected users? Who writes the customer message, and who approves it? Where are the logs we need, and can we actually query them?

These exercises reliably expose gaps that are cheap to fix in advance and expensive to discover live: missing logging, unclear authority, untested fallbacks, approval chains that take a day. An hour of rehearsal per quarter for each significant AI product is a small cost against the alternative.

The goal is not to prevent every AI incident. That is not realistic for systems that operate in an open and changing world. The goal is to make incidents smaller, shorter, and more instructive, so that every failure leaves the product measurably more reliable than before.

Organisations that build that muscle earn something valuable: the confidence to keep deploying AI where it matters, because they know they can handle it when it goes wrong.

I write a field-note series on shipping AI that actually works in production. The original of this piece, and the rest, live on my LinkedIn.

Originally published on LinkedIn.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.