DEV Community

Rausal Bahtiar Fadhli
Rausal Bahtiar Fadhli

Posted on Originally published at rausalbahtiar.dev

Error Budgets for Agent Fleets: Setting SLOs Before Scaling

An error budget is the remaining failure allowance before a reliability target is breached. For an agent fleet the budget derives from the SLO: a 99.5 percent success target over 30 days leaves 0.5 percent of total executions as the failure room. Every retry, timeout, and wrong result consumes part of that room. When the budget is exhausted the team stops shipping features and starts fixing reliability.

Setting SLOs per layer

A fleet SLO is not one number. Each layer carries a different target. The orchestration layer handles scheduling, queues, and model invocation; its target is high because one failure stalls many tasks. The execution layer handles inference, retrieval, and tools; its target can be looser because failures are retryable. The result layer handles output quality, validation, and human review; it must be measured separately because failures there do not always surface as status errors.

| Result | 99.0 percent | validation, human review |

Dividing the error budget

Budget must be allocated per component so one failure class cannot consume everything. A common split: 50 percent to execution, 30 percent to orchestration, 20 percent to results. This prevents a single slow model provider from draining the whole budget and halting all work. When a component exceeds its allocation the system triggers automatic limits: reduce concurrency, lower priority, or stop expansion.

Automatic scaling gate

The error budget is most useful as a switch. Before adding concurrency or deploying a new feature the system checks remaining budget. Below 30 percent remaining, scaling is blocked. Below 10 percent, non-critical work is deferred. This turns scaling decisions from intuition into an auditable rule. The gate reads metrics periodically, not only at deploy time, so reliability holds across the operating window.

Failures that do not surface

Status errors capture mechanical failures: timeout, 500, dropped connection. Silent failures are more dangerous: an agent completes a task with a wrong result, or a retriever returns an irrelevant document with a success status. The error budget must cover both classes. Measure them with output validation and human review sampling. Without that, the budget reads green while result quality declines.

Runbook when the budget is exhausted

When remaining budget falls below the threshold, actions run in order: stop expansion, freeze new features, raise review sampling, then diagnose the component with the highest failure consumption. The runbook runs automatically rather than waiting for a report. Diagnosis output is recorded as a post-mortem and feeds the fix. Once the cause is resolved and the budget refills, scaling reopens gradually.

Data Foundation and Journals

  • DOI: 10.48550/arxiv.2402.02716 (Understanding the planning of LLM agents: A survey)
  • DOI: 10.48550/arxiv.2606.29654 (Budgeted Act-or-Defer Multi-Agent LLM Deliberation with Local Reliability)
  • DOI: 10.48550/arxiv.2504.08784 (SLOs-Serve: Optimized Serving of Multi-SLO LLMs)

Frequently Asked Questions

What is the difference between an error budget and an SLO? An SLO is the reliability target. The error budget is the remaining failure allowance before that target is breached.

When should the scaling gate activate? Before adding concurrency or deploying a new feature, especially when remaining budget is below 30 percent.

Do all failures appear in status errors? No. Silent failures such as wrong output require validation and human review sampling.

Top comments (0)