AI Reliability Engineering Explained
May 13, 2026
Your chatbot is returning outputs, your API latency looks normal, your pager hasn’t gone off all week, and your users are quietly receiving garbage. No errors. No crash. The system is running perfectly — and it’s completely broken.
This is the defining challenge of AI Reliability Engineering (AIRE): the failure modes that matter in AI systems rarely announce themselves. A traditional SRE watches green dashboards while a model silently degrades, a prompt drifts, or a RAG pipeline poisons itself with its own bad outputs. The pager stays silent, but user trust erodes by the hour.
AIRE is emerging as a distinct discipline because the assumptions that underpin classical Site Reliability Engineering don’t hold for probabilistic systems. When your system’s correctness is a probability distribution rather than a deterministic yes/no, you need new practices, new metrics, and a fundamentally different incident response playbook.
Let’s dig into what AIRE actually is, what makes it different, and how to start building it into your team today.
TL;DR: If your AI system is up but producing garbage, traditional SRE has no tools to save you — AIRE is not optional, it’s the only way to know the difference between quiet and broken.
The Failure Modes Traditional SRE Doesn’t Cover
Classical SRE is built on a beautiful, elegant premise: the system either works or it doesn’t. A server returns 200 or 503. A database query finishes or times out. A disk is full or it isn’t. These are binary states with clear signals.
AI systems operate in a maddening middle ground where the system is technically “up” but behaviorally broken. Here are the failure modes that classic monitoring will miss entirely.
Silent Model Degradation
A model deployed six months ago was producing excellent results. Today it’s producing mediocre ones. No one redeployed anything. The data just shifted under its feet.
This is the AI equivalent of a bridge that’s still standing but no longer connects to anything useful. Your latency SLO is green. Your error rate SLO is green. Your users are silently getting worse recommendations, less accurate classifications, or dumber responses.
We’ve seen this happen with alarming frequency after model updates on the provider side. You pin a specific model version, and six weeks later the provider’s underlying base model gets updated — same API endpoint, same version string, completely different behavior. A RAG pipeline that was returning perfectly cited answers starts hallucinating sources. A classification system that was accurate drops overnight. The API returned 200 every time.
Prompt Drift
Write a prompt. Test it. Ship it. Three months later, the same prompt with the same model produces different results.
Prompt drift happens for several reasons. Model providers update their base models behind the same version label. System prompts in the context window get squeezed by longer conversation histories. The distribution of real user inputs shifts away from the examples you tested against. And sometimes the model itself changes in response to safety fine-tuning or alignment updates on the provider’s end.
We ran an experiment last year: a carefully crafted few-shot prompt that achieved 94% accuracy in January scored 71% in April against the same evaluation suite — same model identifier, same API, same parameters. The prompt hadn’t changed. The model, silently, had.
Context Poisoning in RAG
Retrieval-Augmented Generation pipelines have a particularly insidious failure mode: they can actively degrade their own retrieval quality over time.
Here’s the pattern. Your RAG system retrieves documents, generates an answer, and that answer gets stored somewhere — a vector database update, a cache, a conversation history. If the generated answer contains a hallucination, and that hallucination gets re-ingested as source material for future queries, you’ve created a feedback loop of garbage. The system starts citing its own hallucinations as evidence for new hallucinations.
This is not hypothetical. Teams running production RAG systems have observed retrieval quality dropping 15-30% over weeks of normal operation because the vector store accumulated synthetic content that contaminated the embedding space. The system was operating normally — retrieving, generating, storing — and getting worse with every cycle.
Hallucination Cascades in Agent Chains
When you connect multiple LLM calls into a pipeline — a research agent that delegates to a summarization agent that delegates to a formatting agent — each step carries hallucination risk, and those risks compound non-linearly.
A single agent with 95% accuracy might be acceptable. Chain three and your compound accuracy drops to 85.7%. Chain five and you’re at 77.4%. And that’s assuming errors don’t compound synergistically — a hallucination in step one can steer the entire chain into a reality where all subsequent outputs are built on fiction.
We’ve observed agent chains where the third or fourth agent produced outputs that were internally consistent, well-formatted, and completely fabricated — because it faithfully processed fabricated inputs from an earlier step. A traditional SRE looking at execution traces would see each step completing successfully. The chain was working perfectly. The output was worthless.
Emergent Failures at Scale
Some failures only manifest at production traffic volumes. A model that benchmarks beautifully on 500 test examples may develop bizarre failure modes processing 100,000 real requests. Long-tail inputs that never appeared in your evaluation set trigger improbable responses. Adversarial inputs — not from attackers, just from the chaotic distribution of real human behavior — produce outputs your testing never anticipated.
We’ve seen sentiment analysis pipelines that handled reviews in 40 languages flawlessly but consistently misclassified reviews containing emoji-heavy text. Not because emoji were hard to parse, but because the training data had almost no emoji examples — and at scale, a 0.1% edge case becomes thousands of failures.
Reimagining SLOs for AI Systems
Here’s a truth that makes traditional SREs uncomfortable: 99.9% uptime does not mean your AI system is reliable. You can have perfect availability and be delivering a terrible experience to every single user.
AI systems need a different kind of Service Level Objective. Let us propose three categories that matter.
Output Quality SLOs
Instead of measuring whether the system responded, measure whether the response was good. This is harder, but it’s the only metric that actually captures what users care about.
| Traditional SLO | AIRE Equivalent |
|---|---|
| 99.9% uptime | 95% of outputs pass automated quality checks |
| p99 latency < 500ms | p99 latency < 500ms (still counts) |
| Error rate < 0.1% | Hallucination rate < 2% |
| Request success rate | Semantic similarity to expected outputs > 0.85 |
These quality SLOs require evaluation infrastructure — offline evaluation pipelines, online monitoring with LLM-as-judge systems, embedding-based similarity checks, and structured output validation. You can’t measure output quality from infrastructure metrics alone.
Drift Detection SLOs
This is the SLO for noticing that something has changed. It’s a meta-SLO: how quickly would you detect a 10% degradation in output quality?
Typical targets we recommend:
- Prompt drift detected within: 24 hours of deployment (faster for customer-facing chatbots)
- Model behavior shift detected within: 1 hour (requires continuous evaluation against a fixed benchmark)
- Retrieval quality degradation detected within: 4 hours (requires periodic re-evaluation against a golden Q&A dataset)
Safety and Constraint Compliance SLOs
For generative systems, the most critical SLO is often adherence to behavioral constraints. The system should decline to answer out-of-scope queries. It should not generate harmful content. It should follow formatting instructions.
We recommend treating constraint violations as a separate SLO category with a target of zero — but with the understanding that “zero” means “zero detected within our measurement capability,” and measurement capability needs its own SLO.
Error Budgets for AI Quality
Classical SRE has a beautiful mechanism: the error budget. If your SLO is 99.9% uptime, you have 0.1% of total time that can be consumed by incidents without violating your commitment. This gives teams permission to deploy, to experiment, to move fast — as long as they stay within budget.
AIRE needs an analogous concept, but it can’t be time-based because uptime isn’t the right axis. Instead, think in terms of a quality error budget.
If your SLO says no more than 5% of outputs should be flagged as low quality, and you have 100,000 requests per month, your monthly quality error budget is 5,000 low-quality outputs. This budget gets consumed by known degradations, experiments with new prompts, model updates, and edge cases.
When the budget is depleted, you stop making changes. You hold the line until you understand what’s consuming quality, just as classical SRE freezes deployments when error budgets are exhausted.
This raises a question that teams wrestle with constantly: if 5% of outputs are unacceptable, is that an incident?
Our answer: it depends on whether it’s an acute spike or a chronic level. If quality drops from 97% to 88% in an hour, that is absolutely an incident — something changed. If quality has been hovering at 93% for weeks, that’s a chronic issue that needs a project, not a war room. Define both thresholds explicitly. A quality incident trigger might look like:
- Immediate page: quality drops by more than 5 percentage points in any 30-minute window
- Daily alert: quality is below threshold for 2+ consecutive hours
- Weekly review: average quality trending down over 7 days
The AI Reliability Stack
Building AIRE practices requires a stack of capabilities that sit on top of (or alongside) your existing observability infrastructure.
Quality Monitoring
You cannot manage what you do not measure, and for AI systems, measurement is the hard part. A quality monitoring layer needs:
- Automated evaluation pipelines that score outputs against ground truth or reference examples
- LLM-as-judge systems that assess outputs on dimensions like helpfulness, harmlessness, and accuracy
- Embedding-based drift detection that tracks whether output distributions are shifting
- Structured output validation that ensures the JSON, markdown, or other formatted output matches your schema
The key insight: monitoring must run both offline (batched evaluation on sampled logs, usually with a more powerful model as judge) and online (real-time lightweight checks on every request).
Automated Alerting on Degradation
Threshold-based alerting works for latency and error rates, but AI quality degradation is more subtle. We recommend a layered approach:
- Absolute threshold alerts: quality score drops below X%
- Relative change alerts: quality score drops by Y% compared to the trailing 7-day window
- Statistical process control: quality score exceeds Z standard deviations from the rolling mean
- Semantic shift alerts: embedding cluster centroids shift by more than a threshold distance
Layer 2 catches the most real-world degradation events. Layer 3 catches gradual drift that layer 2 might normalize. Layer 4 catches the “users are asking different things” failure mode.
Automated Rollback
When quality degradation is detected, the fastest mitigation is often to revert to a known-good state. The AIRE stack needs the ability to:
- Roll back model versions: switch from the current model to the previous pinned version
- Roll back prompts: revert to a previous prompt template with known performance characteristics
- Roll back RAG configurations: restore a previous chunking strategy or retrieval parameter set
- Fail over to a simpler system: route traffic to a rule-based or deterministic fallback when the AI system is producing unacceptable outputs
This last option is underappreciated. If your LLM-based classifier is drifting, can you fail over to a keyword-based classifier that handles 70% of traffic with 99% accuracy while you investigate? Having a “degraded mode” is a sign of mature AIRE practice.
Human-in-the-Loop Escalation
Not every degradation can be handled automatically. The AIRE stack needs clear escalation paths for ambiguous cases:
- Quality scores in a gray zone (e.g., 70-85% confidence) should be sampled for human review
- Edge case outputs that don’t match any known pattern should be flagged for manual inspection
- User-reported issues should automatically trigger an evaluation run on the offending input to classify the failure mode
The goal is not to eliminate human judgment but to use it surgically — routing the hardest cases to people while automation handles the clear passes and clear failures.
Incident Response for AI Failures
When you page someone for an AI quality incident, the response looks different than a traditional outage.
What’s Different
| Traditional Incident | AI Quality Incident |
|---|---|
| ”The server is down" | "The outputs look wrong but we’re not sure how” |
| Root cause is often findable | Root cause might be probabilistic or emergent |
| Fix is typically a code change or config rollback | Fix might be a new prompt, a different model, or understanding a distribution shift |
| Verification is clear (is the server up?) | Verification requires running an evaluation suite |
| Post-mortem has clear timeline | Post-mortem might have a gradual degradation that’s hard to pinpoint |
The AI Incident Playbook
When you suspect an AI quality issue, the response should include steps that traditional incident response doesn’t cover:
- Freeze the pipeline: stop any automated retraining, prompt updates, or model deployments. You need to isolate the variable.
- Run a baseline evaluation: take the last known-good snapshot of your evaluation suite and run it against the current system. Compare scores to establish the magnitude of degradation.
- Check the provider: was the model updated on the provider’s side? Check release notes, API changelogs, and any model version hashes you can verify.
- Audit your data path: for RAG systems, check whether the retrieval corpus has changed. For agent chains, trace the execution path to find where errors first appear.
- Roll back and verify: revert to the last known-good configuration. Run the evaluation suite again. Confirm the fix before re-enabling.
- Sample and classify: before closing the incident, sample the degraded outputs and classify the failure modes. Was it hallucination, formatting issues, refusal problems, or something else? This data is invaluable for prevention.
The Relationship Between AIRE and SRE
Should AIRE be a separate team or part of your existing SRE practice? The answer, as with most organizational questions, is “it depends.”
What to integrate into existing SRE:
- Incident response protocols (paging, escalation, communication)
- Runbooks and documentation practices
- Deployment and rollback automation
- Capacity planning and cost monitoring
- Dashboards and alerting infrastructure
What to build separately:
- Quality evaluation pipelines and scoring
- Prompt and model version management
- RAG pipeline observability
- Hallucionation detection tooling
- Evaluation dataset curation and management
The rule of thumb: integrate the infrastructure, specialize the AI-specific tooling. Your existing PagerDuty rotation and Slack channels should handle AI incidents. Your existing deployment pipelines should handle model rollouts. But the models and prompts themselves need specialized management that doesn’t fit neatly into traditional config management.
Many teams start by embedding an AIRE practitioner within the SRE team for 6-12 months, then spinning out a dedicated AIRE function as the system’s criticality grows. This avoids the “throw it over the wall” problem where SRE doesn’t understand AI systems and AI engineers don’t understand reliability practices.
How to Start: The Crawl-Walk-Run Progression
Building AIRE practices doesn’t require a massive upfront investment. Here is how teams of any size can start.
Crawl (First 30 Days)
- Instrument your LLM calls: log every input, output, latency, token count, and model version. This alone will be transformative — most teams discover they can’t diagnose any issue because they have no logs.
- Implement structured output parsing: validate that every model response matches your expected schema. Reject and retry on format failures.
- Create one quality benchmark: identify the 50-100 most critical inputs your system handles. Run them through every model version and log the results.
- Set one quality SLO: pick the most important dimension — factual accuracy for a research tool, format compliance for a code generator, tone adherence for a writing assistant. Measure it. Track it. Publish it to the team.
Walk (30-90 Days)
- Build an automated evaluation pipeline: run your benchmark suite on every model deployment and prompt change. Block deployments that degrade quality beyond your error budget.
- Implement drift detection: set up embedding-based monitoring that alerts when output distributions shift significantly.
- Create quality dashboards: separate from your infrastructure dashboards. Show quality trends, drift metrics, and error budget consumption.
- Write AI incident runbooks: define what constitutes a quality incident, who gets paged, and what the response steps are. Practice it.
- Add human review sampling: route 1-5% of low-confidence outputs to a human review queue. Use the data to improve your evaluation pipeline.
Run (90+ Days)
- Implement automated rollback: wire your quality monitoring to your deployment pipeline so that quality degradation triggers an automatic rollback to the last known-good configuration.
- Build drift-resistant pipelines: add automated tests that detect prompt drift, RAG contamination, and model behavior shifts before they reach production.
- Establish a quality review cadence: weekly review of quality trends, error budget consumption, and evaluation dataset coverage.
- Cross-train your team: every SRE should spend a sprint on AI reliability. Every AI engineer should participate in on-call rotation.
- Define your organizational model: decide whether AIRE lives within SRE, the ML team, or as its own function. Document the interface.
Practical Takeaways
AI Reliability Engineering is not a replacement for classical SRE. It is an extension that addresses failure modes that traditional reliability practices cannot see. The pager does not measure output quality. Uptime does not measure user satisfaction. A system that is up and serving garbage is not reliable — it is a liability.
If you take nothing else from this article, start here: log your LLM inputs and outputs, create one quality benchmark, and set one quality SLO. The rest of AIRE builds naturally from this foundation. You will discover failure modes you did not know existed, and you will build the systems to detect and respond to them before your users do.
The pager may stay silent. But you will know the difference between quiet and broken.