AI agents for operations teams: tickets, alerts and approvals

AI agents help operations teams most by adding context to alerts and triaging tickets. Fixes should run only as pre-approved runbook steps or after sign-off.

By CloudOEngine.ai Engineering · · 12 min read

An AI agent earns its place in an operations team by doing the reading that comes before every decision: pulling the metrics, logs and recent changes behind an alert, merging duplicate tickets, routing them and writing the first note. It can also prepare the fix. Whether that fix runs on its own should depend on what kind of change it is: read-only steps and pre-approved runbook steps can run and be logged, and everything else should wait for a named person to approve the exact action.

The work that eats an on-call shift

Google's SRE book is still the most useful public account of what operations work costs people. Google caps the time its SREs spend on purely operational work at 50%, and of the rest, no more than 25% can go to being on call. The on-call chapter says that dealing with the tasks involved in an incident takes 6 hours on average, so it treats 2 incidents per 12-hour shift as the ceiling. It also gives example targets for spotting overload: fewer than 5 tickets a day and fewer than 2 paging events per shift.

Few teams outside Google get close. A three-person infrastructure team at a mid-sized company often carries the pager, the ticket queue and the change calendar at once.

The same book defines toil as work that is manual, repetitive, automatable, tactical, without enduring value, and that grows linearly as the service grows. A lot of ops work fits that description. The classic answer to toil is a script, and for much of it a script is still the right answer. But scripts fail on the part of the work that needs reading. "Disk usage above 90% on db-07" is easy to script. "Invoices from yesterday are missing for two customers, there are three similar tickets, and one of them mentions the Nagpur warehouse" is not.

That gap, between work that repeats and work that is fully algorithmic, is where an agent belongs.

Pages, scripts and agents

The SRE book's monitoring chapter has a rule that I would pin above every operations agent project: "If a page merely merits a robotic response, it shouldn't be a page." It adds that pages with rote, algorithmic responses are a red flag, and that when you cannot fix the root cause, the alert response deserves to be fully automated.

So sort your work into three bins before you build anything. Work that is fully algorithmic goes to automation: a script or a workflow with no language model in it, because that is cheaper, faster and gives the same answer every time. Work that is novel and needs judgement stays with a person. The middle bin is what is left: work that repeats but arrives as free text, spans several systems, or needs someone to read a log and say what it means. That middle bin is the agent's job.

Anthropic's guide to building agents makes the same point from the other direction. It separates workflows, which it describes as "systems where LLMs and tools are orchestrated through predefined code paths", from agents, where the model directs its own process and tool use, and it recommends "finding the simplest solution possible, and only increasing complexity when needed".

My position: most operations "agents" should be workflows with one or two model steps in them (classify this ticket, summarise this log), and the open-ended loop where the model picks its own tools should be kept for investigation, where flexibility is the point. If you are unsure how the model actually calls a tool, our explainer on LLM tool calling covers the mechanics.

Job one: put context on the alert

The first job is the safest and, for most teams, the most valuable. When an alert fires, the agent gathers what the on-call engineer would gather anyway, and writes it down before anyone wakes up.

Here is an illustration (invented, not a customer). At 02:40 an alert fires for high query latency on the order database of a distribution company in Pune. Before the engineer has found their glasses, the agent has pulled the latency and disk graphs for the last six hours, found a configuration change merged at 01:55 that altered an index, found two tickets from customer support about slow order screens since 02:10, and attached the runbook for this alert. The note on the incident is five lines long and ends with "likely cause: index change at 01:55; rollback is change 4471". The engineer still decides, but starts from minute twenty instead of minute zero.

Every step in that scene is read-only. The agent queried metrics, read a change log and searched tickets. Nothing changed in production, so a wrong guess costs a few minutes of the engineer's attention, not an outage. That is why enrichment is the right first project: you learn how good the agent is at reading your systems before you let it touch them.

The hard part is not the model. It is access. To write that note, the agent needs read access to the monitoring system, the change log, the ticket system and perhaps the database itself, each with its own credentials and its own idea of who may see what. Wire it up one integration at a time and the agent ends up holding a pile of long-lived tokens that nobody reviews. CloudOEngine connects databases and files through 500+ connectors on one platform with one permission model, so the agent's read access is granted and reviewed in the same place as everyone else's.

Job two: work the ticket queue

Tickets are where the reading load is heaviest. A ticket arrives in someone's words, often in the wrong queue, often a duplicate of something already open. An agent can classify it, set a priority from the text and the affected service, link it to an open incident if one matches, route it to the owning team and draft a first reply that asks for the one missing detail (which order number, which branch, since when).

None of that touches production, but the queue is a system too. The failure I would worry about most is the silent one: an agent that closes or merges a ticket wrongly. A bad routing decision gets noticed when the receiving team bounces it. A ticket wrongly merged into an unrelated incident just disappears, and the customer finds out first. So let the agent merge and route freely, but make closing a ticket either a written rule ("auto-close password reset tickets after the user confirms") or a human decision, and pull a sample of everything the agent closed or merged each week.

When a routing decision is wrong, you need to see why. In CloudOEngine's AI runtime every agent step and tool call is traced and can be inspected afterwards, so a bad routing can be traced back to the input that caused it. Our piece on agent observability covers what a useful trace contains.

Job three: prepare the fix, and decide who runs it

Operations teams already have a vocabulary for this question, and it predates language models by decades. ITIL change management sorts changes into types. ServiceNow's documentation gives the usual definitions: a standard change is "a pre-authorized change that is low risk, relatively common" and follows a streamlined process without group, peer or CAB approval; a normal change is anything that is not standard or emergency and needs assessment and approval before it is implemented; an emergency change must be implemented as soon as possible, for example to resolve a major incident, and goes straight to CAB sign-off.

That maps neatly onto agent actions. Here is how I would sort them:

Action class Examples Change type Who runs it What gets recorded
Read-only Query metrics, read logs, search tickets Not a change Agent, immediately Tool call and result
Queue housekeeping Add a note, set priority, link duplicates Not a production change Agent, immediately Ticket history and trace
Pre-approved runbook step Restart a stateless worker, rotate logs, clear a cache Standard Agent, within the runbook's limits Step, arguments, outcome
Anything else that changes a system Resize a volume, fail over a database, edit a firewall rule Normal Agent proposes, a named person approves Proposal, approver, time, outcome
Fix during a major incident Roll back a release Emergency Incident lead decides All of the above plus the incident link

Two details make the standard-change row safe. First, the runbook carries limits as well as steps: "restart the worker at most once per hour per host, and never more than two hosts at a time." An agent that restarts the same worker eight times in an hour is hiding a real fault, so the ninth attempt should become a page. Second, the list of standard changes is owned by people and changes slowly. The agent does not get to add to it.

OWASP's entry on excessive agency names three root causes for agents doing damage: excessive functionality, excessive permissions and excessive autonomy. Its mitigations line up with the table. Limit the tools an agent can call to the minimum necessary, limit what those tools may do in other systems, and use human-in-the-loop control so a person approves high-impact actions before they are taken. In practice that means the agent's credentials should match the table above, not the admin account the first prototype used.

Alert or ticketGather contextTriage ticketPropose actionmonitoring, inboxlogs, recent changesdedupe, route, noterunbook step + argsApproval ruleRead-onlyStandard changeNormal changeruns now, loggedpre-approved, within limitswaits for a named personEvery step, tool call and approval is written to one trace
The agent does the reading and proposes the action. The change type, decided by people in advance, sets whether it runs, runs within limits, or waits for approval.

Approvals fail the same way pages do

An approval request is a page with a button on it, and it decays the same way.

The SRE book says paging alerts should be actionable, that low-priority alerts bothering the on-call engineer every hour or more often disrupt productivity, and that thresholds should be tuned to approach a 1:1 ratio of alerts to real incidents. Apply the same discipline to approvals. If an approver gets a request every twenty minutes, they will stop reading them by the second day, and the control becomes a ritual. If, say, 95 out of 100 requests of one kind are approved without edits, that kind of request is a candidate for the standard-change list, with limits. If approvers often edit the arguments, the agent is proposing the wrong thing and needs fixing before anyone automates further.

A request worth reading shows:

  • the exact action and its arguments, for example "extend volume vol-0a3 from 500 GB to 750 GB"
  • the evidence the agent used, with links to the graphs and log lines
  • what will change and how to roll it back
  • who or what triggered it, and when the request expires

The approval should bind to those exact arguments. If the agent wants 1 TB instead of 750 GB after the approval, that is a new request. A request nobody answers should expire and leave the system as it was, and the person who would have been paged should be told. Our article on human-in-the-loop AI goes deeper on expiry and escalation.

Where the approval happens matters more than it sounds. An approver at a family function on a Sunday will not open a VPN and log in to a console to approve a volume resize. CloudOEngine's Autopilot runs triggered agents under approval rules, and the person can approve the action in the app or through an approve link sent by email before it runs.

Measuring whether it helps

Pick the measures and record two weeks of baseline before the agent goes live, or you will argue from anecdotes.

For alert enrichment, the useful number is the time from alert to a first note that names a likely cause, and how often the on-call engineer agreed with it. For the ticket queue, sample tickets every week and count how many the agent routed correctly the first time, and how many of the tickets it merged or closed were reopened. For proposed actions, track the approval rate, the edit rate and the rejection rate per action type; a high edit rate is the clearest sign the agent is not ready for more autonomy.

Then watch the numbers the SRE book cares about, because they are the reason you started: pages per shift, tickets per day per person, and how much of the team's week is still toil. If the agent writes beautiful notes and the pager goes off just as often, you have improved the experience of being woken up, which is worth something, but you have not removed any work. Some of those alerts should have been fixed at the root or fully automated.

What I would build first

For a small infrastructure or IT operations team starting from nothing, I would go in this order:

  1. List your top ten alerts and top ten ticket types by volume over the last quarter, and sort each into the three bins: script it, agent, or human.
  2. Build alert enrichment for the agent bin first, read-only, with the note posted to the incident or ticket.
  3. Add ticket classification and routing, with closing limited to written rules and a weekly sample of closures and merges.
  4. Write down your standard changes with explicit limits, and give the agent credentials for only those.
  5. Turn on proposed actions for normal changes with approvals that expire, and review approval and edit rates every month.

How CloudOEngine helps

CloudOEngine is one platform and one console for connecting data from databases, files and camera streams, running pipelines, and an AI runtime with an LLM gateway, agents that call real tools, and retrieval over your own documents. It all sits under one permission model and one audit trail, so the access an operations agent has is set and reviewed in the same place as the rest of the team's.

Agents run real tools, for example filing a ticket, and every step and tool call is traced and inspectable. When a ticket is routed to the wrong team or a note names the wrong cause, you can open the trace and see which input led there.

Autopilot runs triggered agents with approval rules. An alert or event can start an agent that gathers context and prepares an action, and a person approves that action in the app or through an emailed approve link before it runs. That is the pattern this article recommends for normal changes.

Governance is included rather than sold separately: tenant isolation, role-based access, audit logs and per-tenant encrypted secrets, which covers the credentials an agent uses to reach your systems. There are 500+ maintained connectors, our AI reads your real data schemas to propose KPIs such as tickets per day or time to first note, and a 99.9% uptime SLA option is available, for example on the managed platform. CloudOEngine is built in Bengaluru, India.

Book a demo or see the AI runtime.

Frequently asked questions

What can an AI agent do for an IT operations team?

The safest and most useful jobs are reading jobs: pulling the metrics, logs, recent changes and related tickets behind an alert, merging duplicate tickets, routing them and drafting the first note. An agent can also prepare a fix, but whether that fix runs on its own should depend on the type of change.

Should an AI agent be allowed to restart services or change infrastructure on its own?

Only for steps your team has already pre-approved as standard changes, such as restarting a stateless worker, and only within written limits like once per hour per host. Anything outside that list should be proposed by the agent and approved by a named person before it runs.

How is an AI agent different from a runbook script?

A script handles work that is fully algorithmic, and it is cheaper and more predictable for that. An agent is useful where the work repeats but still needs reading, such as a ticket written in plain language that refers to three systems. If a task can be scripted, script it.

What should an approval request from an agent contain?

The exact action and its arguments, the evidence the agent used, what will change, how to roll it back and when the request expires. The approval should cover only those arguments, so the agent has to ask again if anything changes.

How many approval requests are too many?

There is no fixed number, but treat approvals like pages. Google's SRE book gives fewer than 2 paging events per 12-hour shift as an example target; if approvers get several requests an hour, or approve almost all of them unchanged, move the routine ones into pre-approved runbooks.

How do you measure whether an operations agent is helping?

Track the time from alert to a useful first note, the share of tickets routed correctly first time in a weekly sample, the reopen rate of tickets the agent merged or closed, and how often approvers reject or edit its proposals. Measure the baseline before you switch it on.

Sources

  1. Google SRE book: Being On-Call
  2. Google SRE book: Eliminating Toil
  3. Google SRE book: Monitoring Distributed Systems
  4. ServiceNow documentation: Change types
  5. LLM06:2025 Excessive Agency (OWASP GenAI Security Project)
  6. Building effective agents (Anthropic)

#ai agents #it operations #incident management #agent approvals #on-call