Your Agent Is 95% Accurate. That Tells Me Almost Nothing About Reliability.
Offline eval accuracy tells you whether an agent can pass a benchmark. Production reliability needs risk-specific SLIs and SLOs, error budgets, burn-rate monitoring, and policies that automatically narrow autonomy when reliability degrades.
On this page
At 9:03 AM, the release dashboard says the new support agent is 95% accurate.
That sounds good enough to ship.
By lunch, it has handled 20,000 production actions.
Most are boring. It answered policy questions, looked up orders, summarized cases, and routed tickets correctly.
A few were wrong.
One gave a harmlessly incomplete answer.
One escalated a case that did not need a human.
One took twelve seconds instead of three.
And one tried to issue a refund to the wrong payment object before a downstream control rejected it.
The release is still 95% accurate.
The production system is not 95% reliable in any useful sense of the word.
That is the gap I care about once an AI agent can do more than generate text.
Offline accuracy answers whether the agent can solve a test case. Reliability answers whether I should keep letting it operate under real workload, real latency, real costs, real dependencies, and real side effects.
For that, I want the same kind of operating contract we use for other production systems: service-level indicators, service-level objectives, error budgets, burn rates, and explicit policies for what happens when the system starts spending reliability faster than we intended.
But there is one important adjustment for agents.
A normal error budget can tolerate some ordinary unreliability.
It must not become permission to average away catastrophic or irreversible failures.
A single accuracy number collapses failures that are not equivalent
Suppose an eval suite contains 1,000 cases and the agent passes 950.
The headline is:
95% pass rateNow split the fifty failures:
28 slightly incomplete answers12 unnecessary human escalations6 malformed tool arguments caught before execution3 slow but eventually correct workflows1 unauthorized destructive action blocked at the executorThe average treats all fifty as the same unit.
Production does not.
A slightly incomplete FAQ answer, a five-second latency regression, a duplicate refund, and a privilege escalation are different failure classes with different consequences and different acceptable rates.
This is why I do not want one global number called agent_reliability.
I want a small reliability vector:
correctnesssafetyavailabilitylatencyrecoverycosthuman interventionSome dimensions can reasonably have an error budget.
Some should be hard release or runtime gates.
That distinction is the architecture.
Start with the user-visible event, not the model call
An SLI is useful only if the event being measured corresponds to something the user or business actually cares about.
For an agent, the wrong denominator can make a bad system look healthy.
Imagine one customer request triggers:
3 model calls4 retrievals2 tool reads1 writeIf nine of those ten internal operations succeed but the final write is wrong, I do not want a dashboard saying:
90% successful operationsThe user experienced one failed task.
So I first define the qualifying production event.
For example:
type TaskClass = | "answer_policy_question" | "classify_ticket" | "prepare_refund" | "execute_refund";type TaskOutcome = { taskId: string; taskClass: TaskClass; riskTier: 0 | 1 | 2 | 3; success: boolean; correct: boolean; policyCompliant: boolean; humanEscalated: boolean; recovered: boolean; latencyMs: number; costUsd: number;};The model call is an implementation detail.
The task outcome is the reliability event.
That also means task classes should not be mixed carelessly. A read-only policy answer and a money-moving action should not share one denominator just because the same agent handled both.
Pick SLIs that correspond to real failure modes
I would start with a small set instead of instrumenting everything that can be counted.
| Dimension | Example production measure | Question it answers |
|---|---|---|
| Task correctness | Correct qualifying tasks / qualifying tasks | Did the agent achieve the intended outcome? |
| Policy compliance | Policy-compliant actions / executed actions | Did it stay inside the allowed behavior envelope? |
| Availability | Tasks completed with an acceptable outcome / eligible tasks | Could the user get the service? |
| Recovery | Recoverable failures successfully recovered / recoverable failures | Did retries, failover, or reconciliation actually restore the task? |
| Human escalation | Escalated tasks / qualifying tasks, segmented by risk | Is automation covering the cases we expected? |
| Latency | p95/p99 end-to-end task completion time | How bad are the slow tails users feel? |
| Cost efficiency | Cost per successful task | Are successful outcomes becoming operationally expensive? |
Not every row needs to become a classic error-budget SLO.
Latency may use a threshold SLI such as:
percentage of eligible tasks completed under 4 secondsCost may be better treated as a separate operating objective or budget than merged into a reliability percentage.
The important thing is to preserve the dimensions instead of hiding them inside one weighted score.
Ten cheap answers should not compensate for one unsafe write.
Risk tiers should change the reliability contract
I do not want the same target for every action class.
A useful starting model is:
| Risk tier | Example | Default automation posture |
|---|---|---|
| Tier 0 | Search, summarize, read-only lookup | Broad automation, ordinary SLO policy |
| Tier 1 | Reversible internal update | Automation with validation and rollback |
| Tier 2 | External or financially meaningful side effect | Stronger evidence, idempotency, tighter SLOs, possible approval |
| Tier 3 | Irreversible, security-sensitive, destructive, safety-critical | Explicit authorization/review policy; some failures are never-events |
The exact tiers are product policy.
The useful property is that reliability targets become conditional on consequence.
For a low-risk answer, a 99.0% correctness objective may be appropriate.
For a refund execution path, the acceptable duplicate-action rate may be effectively zero even if the surrounding task-completion objective is lower.
For a destructive infrastructure action, the right policy may be:
human approval requiredrather than:
we have 0.2% error budget leftAn error budget is a tool for balancing ordinary reliability and change velocity.
It is not a moral license to spend one customer account, one credential leak, or one production database deletion because the monthly average still looks green.
The control loop I want
Once the task and risk boundaries are explicit, the operating loop becomes straightforward:
production events ↓SLIs ↓risk-specific SLOs ↓error budgets ↓burn rate ↓operational policy
The last arrow is the one teams often skip.
They collect metrics.
They build a dashboard.
They send an alert.
Then the agent keeps the exact same permissions and rollout percentage while somebody opens Slack to discuss the alert.
I want the reliability signal connected to an operating policy.
The error-budget math is intentionally boring
For a ratio SLO, the basic math is:
allowed error rate = 1 - SLO targetand:
error budget events = eligible events × allowed error rateSuppose an action class has:
20,000 qualifying actions / month99.5% correctness SLOThe allowed ordinary error rate is:
1 - 0.995 = 0.005 = 0.5%The monthly error budget is therefore:
20,000 × 0.005 = 100 ordinary failed actionsThat does not mean:
We are allowed to harm 100 customers.
It means the SLO policy has defined one measurable class of ordinary failure for which the service can tolerate up to 100 failed qualifying events before that objective is missed.
A wrong-recipient payment, privilege escalation, sensitive-data disclosure, or destructive unauthorized action should usually be modeled separately as a critical invariant or never-event.
That is how I keep SRE math from becoming an excuse for unacceptable agent behavior.
Burn rate tells me when the monthly number is lying
A monthly budget can look healthy while the system is failing right now.
If the 99.5% SLO allows a 0.5% error rate, and the last production window is failing at 2.0%, then:
burn rate = observed error rate / allowed error rateburn rate = 2.0% / 0.5% = 4×A burn rate of 1 means the service is consuming the budget at exactly the sustainable rate for that SLO window.
A sustained burn rate above 1 means that, if the behavior continues, the service will run out of budget and miss the objective.
This is much more actionable than:
We still have 81% of the monthly budget left.because a newly introduced regression can destroy that remaining budget quickly.
Google Cloud's SLO guidance makes the same distinction between fast-burn and slow-burn conditions: short windows are useful for sudden severe regressions, while longer windows detect a smaller but sustained overspend.
I would use the same shape for an agent.
Not because an agent is a web server.
Because rate of reliability loss is the question in both systems.
The policy should control autonomy, not just paging
Here is an illustrative operating policy for a Tier 2 agent capability.
These thresholds are examples, not universal recommendations:
| Condition | Example response |
|---|---|
| Budget healthy, burn near sustainable | Continue approved rollout |
| Budget consumption accelerating | Freeze rollout expansion and investigate |
| Sustained SLO miss risk | Narrow eligible task classes; increase human review |
| Fast burn | Disable risky write tools, degrade to read-only, or route to human |
| Critical never-event | Stop the affected capability immediately; incident + investigation |
The interesting idea is not whether the first threshold is 1.5× or 2×.
That depends on your product, traffic volume, objective window, and consequence model.
The important idea is that the response is predetermined.
reliability state→ autonomy stateI do not want the runtime asking an LLM whether a 6× burn rate "seems concerning."
That policy belongs in code.
Keep normal SLO policy and never-event policy separate
I would represent them separately in configuration too.
type RatioSlo = { id: string; taskClass: string; target: number; windowDays: number;};type CriticalInvariant = { id: string; taskClass: string; violation: string; response: | "stop_capability" | "require_human" | "disable_tool";};const refundReliability: RatioSlo = { id: "refund-task-correctness", taskClass: "execute_refund", target: 0.995, windowDays: 30,};const wrongRecipient: CriticalInvariant = { id: "refund-wrong-recipient", taskClass: "execute_refund", violation: "refund recipient differs from authorized payment object", response: "stop_capability",};The first says:
Track ordinary task correctness over a window.The second says:
One occurrence changes the operating state immediately.Those concepts should not be averaged together.
Compute burn rate outside the model
The math and policy are deterministic enough that I do not want an LLM involved.
type SloWindow = { target: number; eligible: number; failed: number;};type ReliabilityState = | "healthy" | "insufficient_data" | "freeze_rollout" | "restrict_autonomy";function burnRate(window: SloWindow): number | null { if (!Number.isFinite(window.target) || window.target <= 0 || window.target > 1 || !Number.isSafeInteger(window.eligible) || !Number.isSafeInteger(window.failed) || window.eligible < 0 || window.failed < 0 || window.failed > window.eligible) { throw new RangeError("Invalid SLO window"); } if (window.eligible === 0) return null; // Unknown, not healthy. const allowedErrorRate = 1 - window.target; const observedErrorRate = window.failed / window.eligible; return allowedErrorRate === 0 ? (observedErrorRate === 0 ? 0 : Number.POSITIVE_INFINITY) : observedErrorRate / allowedErrorRate;}function policyForBurn(rate: number | null): ReliabilityState { // Illustrative local policy, not a universal SRE threshold. if (rate === null) return "insufficient_data"; if (Number.isNaN(rate) || rate < 0) { throw new RangeError("Invalid burn rate"); } if (rate >= 4) return "restrict_autonomy"; if (rate >= 1) return "freeze_rollout"; return "healthy";}And the same idea in Python:
from dataclasses import dataclassfrom typing import LiteralReliabilityState = Literal[ "healthy", "insufficient_data", "freeze_rollout", "restrict_autonomy",]@dataclass(frozen=True)class SloWindow: target: float eligible: int failed: intdef burn_rate(window: SloWindow) -> float | None: from math import isfinite if (not isfinite(window.target) or not 0 < window.target <= 1 or type(window.eligible) is not int or window.eligible < 0 or type(window.failed) is not int or not 0 <= window.failed <= window.eligible): raise ValueError("Invalid SLO window") if window.eligible == 0: return None # No observations is not evidence of health. allowed_error_rate = 1.0 - window.target observed_error_rate = window.failed / window.eligible if allowed_error_rate == 0: return 0.0 if observed_error_rate == 0 else float("inf") return observed_error_rate / allowed_error_ratedef policy_for_burn(rate: float | None) -> ReliabilityState: from math import isnan # Illustrative local policy, not a universal SRE threshold. if rate is None: return "insufficient_data" if isnan(rate) or rate < 0: raise ValueError("Invalid burn rate") if rate >= 4: return "restrict_autonomy" if rate >= 1: return "freeze_rollout" return "healthy"An empty observation window is insufficient data, not a healthy burn rate. A release gate should separately check minimum sample volume and telemetry coverage before calling the service healthy. The examples also reject impossible counts and invalid SLO targets.
The policy layer can then map restrict_autonomy to actual controls:
disable issue_refundkeep get_refund_policyrequire human approval for account changesreduce rollout percentageroute high-risk tasks to known-safe versionThis is much stronger than an alert nobody sees for twelve minutes.
The runtime needs to know which version spent the budget
A useful error budget should help me decide whether to keep shipping.
That means every event needs enough release context to attribute the regression.
I want dimensions such as:
agent versionmodel routeprompt / policy versiontool schema versionretrieval index versiontenant / workload segmenttask classrisk tierrelease cohortSuppose global correctness falls from 99.7% to 99.2%.
That sounds like one incident.
Segment it and you may discover:
read-only tasks 99.8%refund preparation 99.6%refund execution 96.1%old release 99.7%new canary 93.4%Now the operating decision is obvious.
Stop expanding the canary.
Do not retrain the whole agent because a blended global average moved by half a point.
Offline evals and production SLOs solve different problems
I still want offline evals.
They are one of the best places to catch regressions before users see them.
But an offline eval answers a different question:
Can this candidate satisfy this curated test distribution?A production SLO asks:
Is the live service satisfying its operating contractunder the workload and dependencies it is actually seeing?The distributions differ.
Production introduces:
new user phrasingunexpected tool combinationsprovider incidentsqueue delaysstale datapartial outageslong sessionsconcurrencyreal permissionsreal moneyreal side effectsThat is why I do not replace evals with SLOs, and I do not replace SLOs with evals.
I want a release loop:
offline eval gate ↓shadow / canary ↓production SLIs ↓SLO + error-budget policy ↓production failures become new eval casesThe test suite protects the next release.
The SLO protects the current one.
Reliability should be segmented by risk, not just customer traffic
Traditional services often segment SLOs by endpoint, geography, or customer tier.
Agents need another dimension: decision risk.
Imagine these two workflows share the same model and runtime:
summarize this ticketissue this refundIf the summarizer becomes slightly worse, I may tolerate a period of degraded quality while rolling back.
If the refund agent starts selecting the wrong recipient, I want a hard stop.
So I want dashboards that can say:
Tier 0 task correctness: 99.1%Tier 1 task correctness: 99.7%Tier 2 task correctness: 99.95%Tier 3 autonomous execution: disabled by policyThe exact objectives belong to the business.
The architecture should make those choices expressible.
Human escalation is not automatically a failure
This metric deserves special treatment.
If a high-risk agent correctly recognizes insufficient evidence and routes the case to a human, that may be a successful task outcome.
If a low-risk agent escalates 70% of routine work, the system may be safe but economically useless.
So I would not define:
human involved = failureInstead, track coverage and correctness together:
automation coveragecorrect automated outcome ratefalse escalation ratemissed escalation ratehuman override rateThis connects directly to abstention and evidence sufficiency.
The reliability target is not "the agent always acts."
It is "the system chooses the right control state and reaches an acceptable outcome."
Sometimes that outcome is escalation.
Recovery deserves its own SLI
A service can fail internally and still satisfy the user if recovery works.
That matters a lot for agents because they sit on unreliable dependencies: model APIs, search, databases, queues, SaaS tools, and external services.
Suppose 2% of primary model calls fail during an incident.
If provider failover recovers every eligible task safely, the user-visible reliability may stay high.
But I still want to know that recovery is carrying the system.
Track:
primary dependency failure raterecovery attempted raterecovery success raterecovery latencyrecovery costunsafe recovery rateThis complements provider failover and graceful degradation.
A fallback that saves the task is part of reliability.
A fallback that silently changes behavior is another failure mode.
Cost belongs next to reliability, not hidden in finance
An agent can become "more reliable" by brute force:
call a larger modelretry more timesretrieve more documentsrun three judgesask two subagentsIf successful tasks now cost six times more, that is not necessarily a production win.
I like cost per successful task because it keeps the numerator tied to an actual useful outcome.
$0.08 / successful policy lookup$0.61 / successful refund investigation$4.20 / successful long-running research taskDo not blend cost into the correctness SLO.
Put it beside it.
Then a release decision can say:
correctness improved 0.4 percentage pointsp95 latency regressed 18%cost per success increased 73%That is a real engineering tradeoff.
"The eval score went up" is not.
Test the operating policy, not just the agent
Once error budgets control autonomy, the policy itself becomes production logic.
I would failure-inject it.
| Injected condition | Expected system behavior |
|---|---|
| Correctness stays above SLO | Continue normal rollout |
| Slow sustained budget burn | Freeze expansion and create investigation signal |
| Fast burn in Tier 2 actions | Narrow autonomy or require approval |
| Never-event occurs | Stop affected capability regardless of remaining budget |
| Primary model degrades but fallback preserves SLO | Continue in declared failover mode and record recovery |
| Fallback preserves answers but doubles unsafe-path rate | Block fallback for that risk tier |
| Cost per successful task spikes | Trigger cost policy without pretending correctness failed |
| Human escalation rises sharply | Check coverage/abstention policy rather than counting every escalation as an error |
| No eligible events | Do not manufacture a misleading burn rate |
The key test is:
Did the system change operating statewhen the reliability contract said it should?If the dashboard turns red and the agent keeps full write access, the policy has not been implemented.
It has been visualized.
Put release policy in writing before the incident
The worst time to decide what a 5× burn rate means is while the incident is happening.
I want a short policy that product, engineering, security, and operations can all read.
For example:
Refund-agent policyNormal:- Tier 0/1 read and reversible workflows enabled- Tier 2 refund execution enabled for approved segmentsReliability degradation:- freeze rollout expansion- stop enabling new tenants- compare failure rate by release + model routeFast burn on refund correctness:- Tier 2 writes require human approval- read-only diagnosis remains availableCritical invariant violation:- disable refund execution- preserve traces and evidence- open incident- require explicit re-enable after root-cause reviewThat policy does more for production safety than another prompt sentence saying:
Be careful with refunds.The dashboard I would actually use
I would put these next to each other:
eligible taskssuccessful taskscorrect task ratepolicy-compliant action ratenever-event counterror budget remainingshort-window burn ratelong-window burn rateautomation coveragehuman escalation raterecovery success ratep95 / p99 task latencycost per successful taskcurrent autonomy modecurrent release / model / policy versionThe last line matters.
If the dashboard says:
current autonomy mode: READ_ONLYI know the reliability system can change production behavior.
If it only says:
SLO breachedI know I still need a person to translate monitoring into control.
What I would not do
I would not copy Google's or another company's SLO percentages into an agent because they sound mature.
I would not call every metric an SLO.
I would not hide safety, latency, cost, and correctness inside one weighted score.
I would not let a global average hide a failing high-risk segment.
I would not put catastrophic failures inside the same ordinary error budget as incomplete answers.
I would not let an LLM decide whether the current burn rate warrants disabling a tool.
And I would not define a reliability objective that has no consequence when it is missed.
An SLO without an operating policy is mostly a dashboard target.
The production rule I would keep
An eval score tells me whether an agent can pass the cases I knew enough to write down.
That is necessary.
It is not the production contract.
For a real agent, I want to know:
Which task class is this?What is the consequence if it is wrong?Which user-visible outcome are we measuring?What objective are we promising for that outcome?How much ordinary unreliability can we tolerate?How fast are we spending that allowance?Which failures are never allowed into the budget?What happens to autonomy when reliability degrades?That leads to a control system:
measure the outcomesegment by riskset the objectivecompute the budgetwatch the burnchange the operating modestop immediately on critical invariantsfeed production failures back into evalsThis is the difference between saying an agent is "95% accurate" and being able to explain why it is still allowed to touch production.
Offline evals answer: can this agent work?
SLOs and error-budget policy answer: should we keep letting it act?
And there is one uncomfortable dependency underneath all of this: the eval set and outcome labels you are using today will not stay representative forever.
The next reliability problem is making sure the tests themselves do not quietly go stale while production moves on.
References
KEEP READING
Related engineering notes
A Failover Route Is Not a Recovery Path: Proving Independence in AI Infrastructure
Two LLM providers can share the same failure domain. Build an evidence-backed recovery graph that checks cloud, networking, identity, control-plane and capacity dependencies before admitting fallback routes, then test correlated outages without weakening safety.
Read articleAn Eval Platform Sunset Can Erase Your Release Evidence: Build an Evidence-Escrow Migration Gate
When a hosted LLM evaluation platform retires, switching runners is not enough. Preserve the historical evidence, reconstruct grader semantics, validate scoring parity, and enforce a fail-closed release gate that survives the service shutdown.
Read articleWhen the Package Runs Before Your App: Quarantining AI Framework Releases
The 2026 agent-framework PyPI compromise exposed a blind spot in AI build pipelines: Python startup hooks execute before application imports. Design an artifact-quarantine gate, inspect wheels without installing them, separate credentials, and recover from suspected exposure.
Read article