What Agent Ops Is (and Why It's Different)
The eight pillars of running agents in production, agent SLIs/SLOs, and a maturity ladder.
Agent ops means keeping AI agents running well after launch. Agents are unpredictable, they take real actions and they cost money, so you need to watch, test and control them. Pick a few numbers to track, like success rate, speed and cost per success.
- Agent ops
- Running and looking after AI agents in real use.
- SLI
- A number you measure, like success rate.
- SLO
- The target you want that number to reach.
Pick a few numbers to watch: success rate, speed and cost per success.
Getting an agent to work in a demo takes an afternoon. Keeping it working for thousands of real users is a different job. You have to get through model updates, strange inputs, hostile inputs, outages and growing bills. That discipline is agent operations. It is the set of practices that keep an agent safe, visible, affordable and improving once it is live. It sits next to classic DevOps and MLOps, but it is not the same as either. This path teaches it from start to finish.
Why agents need their own ops discipline
- They are not predictable. The same input can take a different path next time, so it passed once proves little. Quality is a spread of results, not a yes or no.
- They act. Agents call tools that send emails, change records and spend money. A bug is not just a wrong answer. It can be a wrong action.
- They run long and in many steps. Failures hide in the middle of a 40-step run, far from the symptom.
- They depend on things that move. Model providers update, retire and limit models, so your behavior can change without you touching a line of code.
- They can be attacked through language. Anyone who can put text in front of the agent, in an email, a web page or a support ticket, is a possible attacker.
- They cost money on every request. Cost grows with tokens and turns, so a bug in a loop is a billing bug.
The eight pillars
Think of agent ops as eight pillars. Each gets a lesson in this path. A launch review, in the last lesson, scores you on all of them.
- Observability: you can see exactly what the agent did and why, for any run.
- Evaluation: you can measure quality before and after every change.
- Guardrails and security: the agent cannot be talked into causing harm.
- Human oversight: the right actions get a person's approval, and leave a record.
- Cost and usage: you know and control what each run, user and customer costs.
- Reliability: failures reduce service gently instead of spreading.
- Change management: prompts, models and tools are released like code, with checks and a way back.
- Governance: ownership, policy, compliance and incident response are set up before you need them.
Say what success means with SLIs and SLOs
Site reliability engineering gives us the words. A service-level indicator (SLI) is something you measure. A service-level objective (SLO) is the target for it. Agents need quality and safety indicators, as well as the usual speed and error rate.
agent: support-triage
slis_and_slos:
task_success_rate: { target: ">= 88%", window: "7d", measured_by: "outcome eval + resolved-without-reopen" }
escalation_rate: { target: "8-15%", note: "too low = overconfident, too high = useless" }
p95_latency_seconds: { target: "<= 25" }
cost_per_successful_task: { target: "<= $0.12" }
tool_error_rate: { target: "<= 2%" }
guardrail_block_rate: { target: "tracked, alert on 3x change" }
harmful_action_incidents: { target: "0", severity: "page someone" }
user_satisfaction: { target: ">= 4.2/5", sample: "thumbs + periodic survey" }A maturity ladder
- Level 0, hope: the agent runs, the logs are print statements, and you hear about problems from users.
- Level 1, visible: traces, cost and error dashboards exist, and someone looks at them.
- Level 2, measured: a set of regression tests gates changes. Targets and alerts exist. Risky actions need approval.
- Level 3, governed: ownership, incident runbooks, audit logs, staged releases, off switches and regular red-teaming are routine.
Most teams reach Level 1 by accident and stay there. Moving to Level 2 is the step that gives the most. It is where you stop shipping on gut feeling. The rest of this path is the map.
- ✓Agents need their own ops because they are unpredictable, they act on the world, they depend on moving models and they can be attacked through text.
- ✓Eight pillars: observability, evaluation, guardrails, human oversight, cost, reliability, change management and governance.
- ✓Define agent SLIs and SLOs that include quality, safety and cost per successful task.
- ✓Aim to move from visible (Level 1) to measured (Level 2) as fast as you can.
Score an agent on the maturity ladder
- Choose an agent you run or plan to run. A personal automation counts.
- For each of the eight pillars, write one sentence on what exists today, and score it from 0 to 3.
- Find the lowest-scoring pillar that would hurt most if it failed tomorrow.
- Write three SLIs with number targets for that agent. Keep this sheet. You will use it again in the last lesson.
Q1Why is one passing test run not enough proof that an agent works?show answer
Agents are not predictable, and one pass may be luck. You need repeated tries across a typical set of cases to estimate a success rate and how much it varies.
Q2Why track cost per successful task and not cost per request?show answer
Failures still cost tokens. A cheaper model that fails more often can cost more for each success than a pricier, more dependable one.
Q3What makes Level 2 different from Level 1?show answer
Level 2 gates changes with a set of regression tests, sets targets and alerts, and needs approval for risky actions. It measures and controls, and does not only watch.