Operational Metrics and SLOs for Agents
In this article
- Compute task success over runs with a stated denominator, and keep cancelled runs out of it as their own rate.
- Read p50 against p95 and say which one a latency target should watch.
- Find the cost tail that a mean cost per run hides, and how much of the spend it takes.
- Set an SLO and one condition that pulls a person in, and spot the headline number that misleads.
- Terms defined here: SLI, SLA, runaway agent.
Overview
Your support assistant had a quiet week. 96 runs in 100 had every tool call come back ok, a typical run took 9 seconds, and the average run cost 4 cents. Each of those numbers is true, and the week still failed almost one customer in five. Which number should you have watched?
Brightline, the home-internet provider whose assistant looks up orders and issues refunds of at most $50, wants one honest picture of its week. You will count success per run against what the customer came for, read latency at the tail instead of the middle, and find the few runs that eat the cost budget. Then you will set a target, and a line that gets a person to look once it is crossed.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Count runs, not calls
- The week in numbers
- Latency lives in the tail
- Cost lives in the tail too
- An SLO and a line for people
- The SLI table
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions