Check out our latest blog: "AI SRE Agents: How Agentic AI Investigates Incidents"

Learn More
logo
left-arrowBlog

AI SRE Agents: How Agentic AI Investigates Incidents

AI SRE Agents: How Agentic AI Investigates Incidents
Shrinithi Vijayaraghavan
Shrinithi Vijayaraghavan

Product Marketer

November 27, 2026

Watch a well-run incident channel for ten minutes and you'll notice that nobody does everything.

One engineer stares at latency graphs. Another is deep in the logs. Someone checks what shipped in the last hour. An incident commander keeps the threads together and decides what happens next. Good incident response has always been a team sport, with clear roles and clean hand-offs.

AI SRE agents are starting to work the same way. Instead of one giant model trying to do it all, the better designs split an investigation across specialist agents, give each one a narrow job and only the data it needs, and leave the final call to a person.

An AI SRE agent is an AI system that investigates production incidents on its own. It starts from a symptom like an alert, decides what to check, queries your telemetry, reads the results and keeps going until it can explain the root cause. In a multi-agent setup, several of these agents each own one part of that work.

If you're new to the idea, start with our explainer on what an AI SRE is. This post goes one level deeper. We'll cover:

  • What makes an AI SRE agent agentic
  • Why one agent isn't enough, and how multi-agent AI SRE splits the work
  • How the KubeSense AgentSRE suite (RCA-Agent, AnomalyAgent, AlertAgent and LogAgent) hands an incident from one agent to the next
  • How MCP lets agents pull only the data an incident needs
  • Why "autonomous" should describe the investigation, not the fix

What is agentic AI SRE?

Agentic AI SRE means using AI agents that decide their own next step during an investigation, instead of following a fixed script.

The difference is easiest to see side by side. A runbook automation says: when alert X fires, run queries A, B and C, then post the results. It does the same thing every time, whether or not A, B and C are relevant today.

An agent works in a loop:

  1. Plan. Given what it knows so far, what's the most useful thing to check next?
  2. Act. Run that check, usually a query against logs, traces, metrics or Kubernetes state.
  3. Observe. Read the result. Did it support the current theory, kill it, or open a new one?
  4. Repeat until it can explain the symptom, or until it can say honestly that it can't.

That loop is what makes agentic AI for SRE useful during incidents. Incidents are, almost by definition, the situations nobody scripted. A fixed playbook breaks the moment the failure is new. An agent can follow the evidence wherever it goes.

The loop is also why design matters so much. Every turn of it costs time, model tokens and some of the agent's limited attention. How you split the work and how you feed the agent data decide whether that loop converges on a root cause or wanders.

Why one AI SRE agent isn't enough

The obvious first design is a single agent with access to everything. Give it every tool, every data source and every runbook, and let it figure things out. It works in demos. In production, it runs into four problems.

1. Context is finite. A model can only hold so much in its working memory (its context window) at once. Your cluster produces terabytes of telemetry a day. An agent that tries to keep alert history, log samples, trace trees, runbooks and its own reasoning in one window starts to lose the thread. Important details get pushed out by noisy ones.

2. Different jobs run on different clocks. Spotting anomalies and sorting alerts has to happen all the time, across everything. Root cause analysis happens on demand, deeply, for one incident. Asking one agent to be both an always-on watcher and a deep investigator means it's either too shallow or too expensive.

3. Specialists do better work. Finding a new error pattern across millions of log lines is a different skill from comparing p99 latency before and after a deploy. An agent built and prompted for one kind of data, with tools shaped for that data, makes fewer mistakes than a generalist switching between all of them.

4. Narrow jobs are easier to check. When each agent owns one step, you can see which step went wrong. When one agent does everything, a bad conclusion is much harder to trace back to its cause.

So multi-agent AI SRE splits the work the way a good incident team does. Some agents watch. Some sort. One investigates, calling on specialists when it needs them.

To be fair, splitting has a cost too. Every hand-off between agents is a place where information can get lost. That's why the hand-off has to carry evidence (the query, the result, the time window), not just a conclusion like "logs look bad". If the next agent, or the human at the end, can't see why, the split hasn't helped.

Meet the AgentSRE suite: four agents, four jobs

KubeSense AgentSRE is built as a suite of SRE AI agents rather than one assistant. Four of them do most of the incident work:

AgentWhen it runsIts jobWhat it hands on
AnomalyAgentAll the timeLearns normal behavior from APM metrics and logs, and flags drift, especially around deploymentsAn early signal that something is off, often before a threshold alert fires
AlertAgentWhenever alerts fireEnriches raw alerts with context, ranks them using historical alert patterns, and looks across many alerts for shared causes and trendsA short, prioritized list of what matters, instead of a pile of separate pages
LogAgentAll the time, and on demandAnalyzes logs at scale, picks out the fields that matter, spots changes in log patterns and ties logs to traces, metrics and eventsLog evidence: which pattern is new, when it started, which attributes it shares
RCA-AgentPer incidentRuns the investigation: forms competing hypotheses, tests each against logs, traces, metrics and events, and concludes with a root cause and a confidence scoreA root cause with the evidence behind it, what it ruled out, and resolution steps

Around them sit smaller "micro" agents for jobs like infrastructure monitoring, alert fatigue analysis and capacity planning.

Notice the shape. AnomalyAgent, AlertAgent and LogAgent are the watchers and sorters. They run continuously and keep the noise down. RCA-Agent is the investigator. It only spins up when there's something worth explaining, and it goes deep.

All of them work from the same place: the telemetry KubeSense captures with one eBPF sensor per node plus OpenTelemetry, stored inside your own environment. That matters more than it sounds. The agents aren't each pulling their own partial copy of your data through different vendors' APIs. They're looking at one consistent, full-fidelity record.

How AI SRE agents investigate an incident, step by step

Here's how the hand-offs play out on a made-up but typical incident. Unlike most incident stories, this one starts before any alert fires.

Diagram: AnomalyAgent and AlertAgent hand the incident to RCA-Agent, LogAgent supplies log evidence, and the on-call engineer approves, adjusts or rejects the fix

AgentSRE hand-offs · 4 agents, 1 human decision

The watchers catch and sort the problem, RCA-Agent works it with LogAgent's help, and every arrow carries evidence until a person makes the call.

The setup: an e-commerce team runs an order-consumer service that reads orders from a Kafka topic called order-events. At 2:05 p.m. they roll out a config change to the consumer.

1. AnomalyAgent notices first. Within minutes, processing time per message on order-consumer starts drifting above its learned baseline. No threshold is crossed yet, so nothing pages. But the drift began right after a deployment, so AnomalyAgent flags it as a deployment anomaly. It's an early warning, not a page.

2. AlertAgent turns three pages into one. By 2:25 p.m. the drift is visible everywhere: consumer lag on order-events, p99 latency on order-api, and errors on notifications-svc. That's three alerts, three services and potentially three owners. AlertAgent enriches them with context and ranks them against past alert patterns. Because they started together and sit on one dependency chain, the on-call engineer sees one high-priority problem with order processing, not three unrelated fires.

3. RCA-Agent opens the investigation. The engineer clicks Investigate on the consumer-lag alert rule and chooses to cover every firing series. Before it touches any telemetry, RCA-Agent reads the team's Context.md (which might note that order consumers autoscale on lag, and that a nightly reindex causes harmless lag spikes) plus any linked runbooks. Then it lays out competing hypotheses: a broker problem, a traffic surge, or slower consumers.

4. Each hypothesis gets a narrow check. Broker health metrics look normal, so that one is rejected. The producer message rate is flat, so there's no surge. Per-message processing time from the consumer's traces has jumped since 2:05 p.m. That one is verified, and worth narrowing down.

5. LogAgent brings the log evidence. The question is now "what changed inside the consumer?", and finding what's new in the logs is LogAgent's specialty. It surfaces a log pattern that didn't exist before 2:05 p.m.: a retry message on inventory lookups. The matching lines share one field. They all call the inventory API instead of the in-cluster cache. The traces agree: every message now waits on a network call, sometimes with retries.

6. RCA-Agent concludes. The root cause: the config change switched the consumer's inventory lookup from the local cache to the inventory API, adding a slow network call to every message. Consumers fell behind, lag grew, and the slowdown rippled out to order-api and notifications. The conclusion comes with a confidence score, the hypotheses it ruled out, the exact queries behind each verdict, and a resolution doc: revert the config, confirm the lag drains, and add an alert on per-message processing time.

7. A person makes the call. The on-call engineer checks the evidence in a couple of minutes. Reverting is the obvious fix. But the engineer knows something the agents can't: the cache change was meant to fix stale stock counts before tonight's flash sale. So they revert now to clear the backlog, and loop in the inventory team to fix the cache properly before the sale starts.

No telemetry anywhere mentions that sale. That's the whole argument for keeping a human on the final step, and we'll come back to it below.

One more thing to notice: at no point did any agent "read all the logs". Each step asked a small, specific question. That's not an accident. It's how the agents get their data.

How MCP lets AI SRE agents pull only what an incident needs

Here's a tension worth naming. We keep saying AgentSRE works on 100% of your telemetry, not a sample. We also just said an agent's context window is small. Both are true, and the bridge between them is how the agent asks for data.

The idea is simple: store everything, retrieve narrowly. KubeSense keeps the full record. The agent never reads all of it. It runs small, specific queries and only the answers come back into its context.

What MCP is, in one paragraph

The Model Context Protocol (MCP) is an open standard for connecting AI models to tools and data. A system publishes a set of tools, each with a name and clear parameters. An agent calls a tool, gets a result back, and decides what to do next. Think of it as a well-labeled set of drawers instead of one giant pile.

What a narrow pull looks like

The KubeSense MCP server exposes telemetry as tools grouped by intent: discovery, search, analysis and SQL. The design pushes agents toward narrow questions:

  • Discover before you query. get-fields returns the fields that actually exist for logs, traces or events in a given time window. The docs tell agents to call it before writing any filter, so they don't guess at field names.
  • Every query has a window and a filter. Search tools take a time range, a SQL-style WHERE clause, optional clusters and a page size. Analysis tools return aggregates, like a p99 grouped by endpoint, instead of raw rows.
  • Cheap checks before expensive ones. validate-sql and validate-spl check a query without scanning any data. An SPL run without a time window is refused, because it would scan your full retention.

So instead of "show me the logs", an agent asks something like this:

{
  "tool": "analyze-traces",
  "from_time": "2026-11-18T14:05:00Z",
  "to_time": "2026-11-18T14:45:00Z",
  "query_type": "range",
  "where": "service = 'order-consumer'",
  "value_operation": "p99",
  "fields": [{ "field": "duration" }],
  "group_by_fields": [{ "field": "endpoint" }]
}

One service, one 40-minute window, one number per endpoint. A few hundred bytes come back instead of millions of spans. That's what keeps a multi-step investigation sharp after its tenth or twentieth query.

Guardrails built into the pipe

Narrow retrieval is also a safety feature:

  • Permissions follow the key. Each request is scoped to the permissions of the API key that made it. Ask for data the key can't see and the tool returns a permission error.
  • Read-only by default. All tools are read-only except create-alert, create-dashboard and update-dashboard. Those aren't marked read-only, so MCP clients that gate write tools ask you to approve each call.
  • Hard limits on raw SQL. SQL execution is read-only and capped at 1,000 rows by default. The SQL tools are switched off entirely for keys restricted to specific namespaces or workloads, because they can't enforce those finer rules.
  • Every call is on the record. In an investigation, each step lists its tool calls with the exact input and output, so you can rerun any query yourself.
MCP works in both directions

The KubeSense MCP server lets outside assistants like Claude or ChatGPT query your telemetry in plain language. AgentSRE also connects out to other MCP servers: the GitHub and Atlassian MCP servers, plus your own custom ones, so it can read code context, runbooks, tickets and internal tools during an investigation. A provider's stored credential is only ever sent to that provider's own host.

Autonomous SRE agents: where autonomy should stop

Search for AI agents for SRE and you'll see "autonomous" everywhere. Autonomous DevOps agents. Self-healing infrastructure. Agents that resolve incidents while you sleep.

It's worth slowing down on that word, because it hides two very different things:

  • Autonomous investigation: the agent decides what to check and works the problem to a conclusion without you steering each query.
  • Autonomous action: the agent changes production (rolls back, restarts, scales, edits config) without asking.

AgentSRE is autonomous in the first sense. An Investigation runs end to end on its own, from alert to root cause. It is deliberately not autonomous in the second sense. We think that's the right default for most teams, and here's why.

Three reasons to keep a human on the action

Incidents are where the agent knows least. Agents are strongest on patterns they've seen. A real incident is, by definition, something that broke in a way your system wasn't built to handle. That's exactly when you want a human checking the reasoning before anything changes.

The right fix often depends on things that aren't in telemetry. Is there a launch in an hour? Is a big customer on a call with support right now? Is there a change freeze? A rollback that's technically correct can still be the wrong business call. Your telemetry can't see your calendar.

Actions compound. A wrong query wastes a few seconds. A wrong action can widen the blast radius: a restart loop, a scale-up that starves a neighbor, a rollback that undoes someone else's fix. Investigation mistakes are cheap to undo. Production changes often aren't.

Autonomy as a dial, not a switch

It helps to think in levels:

LevelWhat the agent does on its ownWhere AgentSRE sits
1. AnswerAnswers questions you ask, one at a timeConversations and page chat
2. InvestigatePlans and runs a full investigation, then recommends a fixInvestigations, with a written resolution
3. Act with approvalProposes a specific change and waits for a person to approve itDashboard and log pipeline edits, behind an approval card
4. Act unattendedChanges production with no one approvingNot by default

Most of the time savings live at level 2. Finding the cause is the slow part of an incident. Once the evidence is laid out, deciding on the fix usually takes a minute. Human-in-the-loop doesn't put the slow part back; it keeps the risky part with a person.

How that shows up in AgentSRE
  • Approval before any change. When AgentSRE wants to change something, an approval card appears with Approve and Reject. Nothing happens until you click Approve.
  • It acts as you. The agent has your permissions, no more. If you can't edit a dashboard, it isn't even given the edit tool.
  • It stays in its lane. Page chat only changes what belongs to the page you're on and never deletes a dashboard, panel or pipeline. Telling it the request is urgent, or that you're an admin, gets the same answer.
  • Team knowledge guides, evidence decides. Your team's Context.md overrides the agent's generic assumptions, but never the evidence it gathers during the run. Every save is versioned, and each investigation records which version it read.
  • Spend has a ceiling. Token limits cap how much each user and the whole organization can spend on AgentSRE each month.

Some teams will eventually let agents handle narrow, well-understood, reversible fixes on their own. That's reasonable, as long as trust is earned one workflow at a time, with the evidence trail to back it up.

Want to see the agents hand off a real incident? Book a KubeSense demo and we'll run AgentSRE on an alert from your own environment, with every query and hand-off visible.

FAQ

What is an AI SRE agent?

An AI SRE agent is an AI system that investigates production incidents on its own. It starts from a symptom such as an alert, decides what to check, queries logs, traces, metrics and infrastructure state, and keeps going until it can explain the root cause. A person then reviews the findings and decides on the fix.

What is agentic AI SRE?

Agentic AI SRE is the use of AI agents that plan their own next step during an investigation, instead of running a fixed script. The agent works in a loop: plan a check, run it, read the result, and decide what to look at next.

What is a multi-agent AI SRE?

A multi-agent AI SRE splits incident work across specialist agents. In KubeSense AgentSRE, AnomalyAgent watches for unusual behavior, AlertAgent enriches and prioritizes alerts, LogAgent analyzes log patterns, and RCA-Agent runs the root cause investigation. Each agent gets a narrow job and only the data it needs.

Are autonomous SRE AI agents safe to use in production?

Autonomous investigation is low risk, because it only reads data. Autonomous action is where the risk sits. Look for agents that are read-only by default, ask for approval before any change, act with your own permissions, and log every query they run.

How do AI agents for SRE get access to telemetry?

Increasingly through MCP, the Model Context Protocol. The observability platform exposes tools such as log search, trace analysis and PromQL queries, and the agent calls them with a specific time window and filter. KubeSense also runs an MCP server, so assistants like Claude or ChatGPT can query KubeSense telemetry directly.


Tags

Incident Response
AI SRE Agent