What SLOs should I set for an AI agent?
Start with one SLO on the share of runs that behave as intended, judged by what the agent said or did, then add latency and cost per run. An SLO is a target for a service level indicator (SLI), in the Google SRE book’s terms. The usual SLIs it names, request latency and error rate, measured over a window, are the ones an agent can fail without moving.
A wrong answer returns a normal status in a normal time, so monitoring built on those signals reads healthy. The outcome SLI needs a definition of “as intended” for each kind of task, and a check on each run’s content that applies it.
Because agent output varies run to run, set the target as a rate over a rolling window rather than on any single run. Pick the number from what your users care about, not from what’s easy to measure or from current performance, and expect to approximate it.
Add tool-call error rate if your agent depends on tools you don’t own. It helps you locate a failure. It doesn’t tell you the agent behaved correctly.
published