Failure Handling & Graceful Degradation
You'll be able to:
You can design an AI failure surface that keeps the user productive — falling back to a non-AI path, offering repair actions, or handing off — without pretending the model succeeded.
An AI writing assistant loses its model provider for forty minutes. The interface shows a spinner, then a generic error, then nothing. Users cannot access the document they were editing, because the editor and the assistant were built as one surface. The outage lasted forty minutes; the support consequences lasted a week. The model failing was inevitable. The product becoming unusable was a design choice made implicitly.
Design the failure states as first-class
Four states need explicit specification, and only the first is usually designed.
Success. Handled.
Uncertain. The model produced output it should not present as confident. The interface needs a way to say so and offer a path — alternatives, a request for clarification, or a suggestion to verify.
Wrong but confident. Undetectable at the moment of generation, so the design response is downstream: make errors easy to notice, cheap to correct, and hard to propagate silently into the user's work.
Unavailable. Timeout, outage, rate limit, refusal. Needs a fallback that keeps the user productive.
Never pretend the model succeeded
The most damaging pattern is degrading silently — returning a low-quality result with the same presentation as a good one, or falling back to a weaker path without saying so. It preserves the appearance of function and destroys the user's ability to calibrate, and when they discover it, they lose confidence in every output including the correct ones.
Say what happened, plainly. "The assistant is unavailable — your document is saved and editing works normally" is a better experience than a spinner, and far better than a plausible but degraded result presented as normal.
Fallbacks that keep people working
Non-AI path. The manual route the feature accelerates should remain reachable. This requires the AI layer to be genuinely separable, which is an architectural decision made early — and the outage above is what happens when it is not.
Cached or partial results. Previous output remains visible rather than disappearing.
Deferred completion. Accept the request, complete it when possible, notify. Suitable for anything not needed immediately.
Human handoff. For high-stakes flows, a route to a person carrying context forward.
The design goal is that an AI failure degrades the experience rather than ending it. If the model going down takes the product with it, the coupling is the defect, not the outage.
Failure modes
Silent degradation — weaker output presented identically to normal output. Signal: users discovering quality varies and losing trust in everything.
Total coupling — AI failure blocks unrelated functionality. Signal: an outage whose blast radius far exceeds the feature.
Dead-end error — an error message with no next action. Signal: support contacts asking simply what to do now.
Infinite retry — automatic retries with no ceiling and no escape. Signal: users watching a spinner with no cancel.
Explaining this to stakeholders
On honesty during failure: telling someone the assistant is down and their work is safe costs us nothing. Showing a spinner that never resolves costs us the support ticket and some of their confidence.
On separability: the model will be unavailable sometimes — every provider has outages. What we control is whether that stops one feature or the whole product, and that is decided by how we build it, not by the provider.
On silent fallbacks: quietly giving someone a worse answer is the most expensive shortcut available. When they find out, they stop trusting the good answers too.
Check Yourself
Module Mission
20–30 minDraft error copy for three AI failures: over-quota, low-confidence answer, and hallucinated content the user is about to send. Each must give the user a next step, not just an apology.
Loading your work…
Curated Materials
55minThe deep work happens here — the lesson is your briefing.
Live on aiqbench
This lesson's subject on the rest of the site, today.