AI Root Cause Analysis for Incidents: Cut MTTR by 80%

AI Root Cause Analysis for Incidents: How It Works

Written by: Nimesh Chakravarthi, Co-founder & CTO, Struct | Last updated: September 28, 2026

Key Takeaways

  • AI root cause analysis tools work best when they understand code intent from PRs and do more than correlate telemetry signals.
  • Effective AI RCA runs through four stages: ingestion of telemetry and code changes, service topology mapping, anomaly correlation, and ranked hypotheses with evidence and confidence scores.
  • Five common failure modes appear across teams: correlation mistaken for causation, stale service topology, alert storms, LLM hallucination without code intent, and false confidence that wastes engineer time.
  • PR-intent-anchored investigation (Struct) starts from the change itself, knows what the code was supposed to do, and outperforms observability-native AI and standalone agents.
  • Struct acts as an AI prod engineer that reads every PR, creates monitors, audits deploys, triages alerts, and delivers fixes with evidence in under 4 minutes on average.

Try Struct free →

How AI Root Cause Analysis For Incidents Works End To End

AI-powered root cause analysis runs through four stages: signal correlation across alerts, topology mapping across service and causal graphs, causal hypothesis generation, and ranked answer generation with validation evidence and confidence scores. Each stage produces a specific artifact an engineer can inspect.

Ingestion. The system pulls telemetry from your existing observability stack, such as Datadog, Sentry, Grafana, AWS CloudWatch, GCP Logs, and Azure Logs, plus code and deploy events from GitHub. At this stage, the data appears as a raw log line (ERROR: connection pool exhausted), a trace span (POST /api/checkout → 502), a deploy event (payment-service deployed), and a code diff (- pool_size: 20 / + pool_size: 5).

Service topology mapping. The system builds a live dependency graph of services, queues, databases, and infrastructure. This graph answers what calls what, what depends on what, and the blast radius of a failure at any node. Netflix’s experience building a real-time service map showed that no single source of dependency information tells the complete story, and incomplete or incorrect dependency data can lead to wrong conclusions during an incident. Accurate, dynamically maintained topology keeps the system from chasing noisy downstream services that emit more alerts than the true root cause.

Anomaly correlation. The system detects deviations from baseline behavior and links simultaneous events to recent code commits or deployments. It uses topology-based suppression, walking the dependency graph upward and marking alerts whose nodes trace to an already failing ancestor as suppressed. It also uses temporal proximity grouping and trace context correlation. Signal correlation compresses hundreds of simultaneous alerts into incident candidates using these three techniques.

Ranked hypotheses with confidence scores. The system produces a ranked list of likely root causes, each with a candidate root-cause entity, a fault type, an inferred propagation path, a natural-language justification, and a confidence score. Every claim links to its evidence, such as a log line, a trace span, or a diff, so an engineer can verify the conclusion before acting.

The three main approaches to AI RCA differ in where they investigate, what they know about intent, and what they can fix. The table below shows that only PR-intent-anchored investigation knows what the code was supposed to do, while the other two approaches describe what the telemetry shows.

Approach What It Investigates What It Knows About Intent Where It Runs
Observability-native AI (Datadog Bits AI, Sentry Seer) Telemetry inside its own platform after an alert fires What the telemetry shows; not what the code was supposed to do Inside the observability platform
Standalone AI RCA agents (Cleric, Resolve AI, Rootly) Production incidents investigated by querying connected observability, infrastructure, code, and incident tools, with results delivered in Slack What the telemetry shows; not what the code was supposed to do In Slack or a separate agent interface
PR-intent-anchored investigation (Struct) Telemetry plus the PR that changed the code What the change was supposed to do, read from the PR On top of existing observability, monitors live in your account

A Worked Incident: From Alert To Fix In Under 4 Minutes

This example shows an AI incident investigation from first alert to verified fix. The incident: a checkout service begins returning 502 errors, and the alert fires in Slack.

The correlated signals. The system pulls the full signal set, including traces and four other signal types. These five signals form the evidence base for the ranked hypotheses that follow:

The ranked hypotheses. The system produces three candidates with confidence scores:

  1. Connection pool saturation in payment-service, fault type: configuration change; propagation path: pool → payment latency → checkout timeouts.
  2. Upstream pricing service latency, ruled out because pricing service latency was normal at alert onset.
  3. Network packet loss, likely a consequence of client retries, not a cause.

The evidence trail. Every claim is cited. The pool saturation hypothesis links to the metric showing 100% utilization, the log line showing pool exhaustion, and the diff showing the pool size reduction in PR #391. The system shows the full investigation path: alert → trace → metric → deploy → diff.

The fix. The system opens a fix PR restoring the connection pool size and adding a connection pool utilization alert. The fix is verified against live telemetry on a roughly one-minute loop until the metrics confirm recovery.

Arcana reduced investigation time from 30 minutes to 2 minutes and reclaimed roughly 14 hours a week (≈56 hours/month) of triage time after adopting Struct. Struct’s p50 time-to-root-cause is under 4 minutes.

See the full incident investigation path for yourself →

Five Failure Modes That Break AI Root Cause Analysis

Five failure modes show up repeatedly across tools, architectures, and teams, and they explain most disappointing AI RCA results.

1. Correlation mistaken for causation. Correlation-based RCA identifies signals that moved together during an incident, but in distributed systems those signals are often downstream effects rather than causes, so fixing the symptom leaves the root cause in place. The RCAEval benchmark (N=735 fault-injection scenarios, ACM 2025) found that probabilistic and correlation-based RCA approaches reach 17–42% Top-1 accuracy, while causal approaches reach 89%, a 47–72 percentage point gap.

2. Stale service topology. Microservices and container environments change dynamically. An out-of-date service dependency graph causes the system to misinterpret how services communicate, and inaccurate topology pushes the model toward noisy downstream services that handle more traffic and emit more alerts.

3. Alert storms that poison the model. Enterprise network operations centers can receive thousands of alerts daily, and duplicate alerts inflate noise that mislead RCA systems. A single database exhausting connections can trigger latency alerts on Service A, memory alerts on Host B, and error rate alerts on Service C, which without cross-service correlation surface as three separate incidents for three separate teams.

4. LLM hallucination when code intent is unknown. A 2025 ICCS study found zero-shot LLMs misdiagnosing frequently; in one case, GPT-4o diagnosing an InfiniBand error on Azure VMs recommended a tool unavailable inside containers on those VMs. Without knowing what the code was supposed to do, the model anchors on familiar-looking symptoms and reaches for the failure it has seen most often.

5. The cost of false confidence. A 2025 Cloud-OpsBench evaluation documents cases where an agent reaches the correct root cause through an entirely erroneous logical path, for example, flagging a database only because it appeared often alongside generic error keywords in training data. An on-call engineer who receives three wrong suspects before the correct one spends time reproducing and dismissing each one, and that delay shows up directly as customer impact.

Cut false investigations from your on-call load →

How Long AI Root Cause Analysis Takes In Practice

Those failure modes matter because of how much time they cost. Handling a single SRE on-call incident, including root cause analysis, remediation, postmortem writing, and bug fixing, takes around six hours on average, according to Google’s SRE Book chapter on being on-call. Research popularized in The Visible Ops Handbook found that roughly 80% of MTTR is spent just identifying which change or component caused the outage in the first place.

The DORA 2025 report shows that only 21.3% of teams recover from failed deployments in under 1 hour, while 28% take between 1 day and 1 week. Elite teams recover in under an hour, while low performers take between 1 week and 1 month.

Struct’s p50 time-to-root-cause is under 4 minutes. As the Arcana case study showed earlier, investigation time dropped from 30 minutes to 2 minutes. Orb reclaimed 160+ engineering hours per month. A Series D healthtech root-caused 119 investigations in 3 weeks, deduped about half its alerts automatically, got 30+ engineer hours back, and surfaced 4 issues nobody was tracking.

Choosing Between Observability AI, RCA Agents, And PR-Intent-Anchored Investigation

The three approaches to AI RCA differ in where they investigate, what they know about intent, and how they fit into your workflow.

Observability-native AI, such as Datadog Bits AI and Sentry Seer, investigates inside its own telemetry after an alert fires. Datadog’s Bits Investigation, generally available since December 2025, operates in a continuous loop of observation, reasoning, and action, forming hypotheses and querying telemetry to validate or invalidate them. Seer is an in-product debugger. Struct is a cross-stack on-call investigator. These tools excel at describing what is happening inside their platform, but they remain limited to their own telemetry and do not know what the code was supposed to do.

Standalone AI RCA agents, such as Cleric, Resolve AI, and Rootly, investigate in Slack or a separate agent interface. Resolve AI’s AI Production Engineer deploys multiple specialized agents coordinated by a planner that analyze logs and metrics, test hypotheses in parallel, and either auto-fix issues or recommend fixes for engineer approval. Rootly’s AI SRE runs investigations, surfaces similar past incidents, and drafts remediation steps and PRs. These agents depend on data from your existing observability stack and can be powerful, yet they start from the alert rather than from the change.

PR-intent-anchored investigation, Struct’s approach, starts from the change itself. Struct connects to Datadog, Sentry, GitHub, and cloud logging tools such as AWS CloudWatch, GCP Logs, and Azure Logs/Traces for investigation. It reads every PR to create the monitors that change needs, baselines them after deploy, audits each deploy for regressions, and triages every alert, both its own and your existing ones, to dismiss, retune, or escalate. When something is real, it root-causes the issue and opens the fix. Arcana reduced median investigation time from 30 minutes to 2 minutes and senior engineer hours on investigation from about 60 to about 4 per month after replacing Seer with Struct.

The decision framework is straightforward. If your telemetry already lives in one platform and you want native investigation, observability-native AI fits best. If your main constraint is coordination and post-incident learning, incident-management AI fits best. If incidents usually trace back to code changes and you need to know what the change was supposed to do, PR-intent-anchored investigation is the only approach that starts from intent.

How To Evaluate An AI RCA Tool Before Trusting It

Evaluating an AI root cause analysis tool means testing whether it produces accurate, verifiable findings from your actual telemetry and whether engineers can trace each conclusion back to evidence. Four tests matter most.

Shadow mode. Run the tool silently next to your real alert channel for two to four weeks, comparing the tool’s top-ranked hypothesis against the confirmed root cause from human investigation and logging accuracy per incident. Struct runs in shadow mode with no cutover risk.

Replay past incidents. Take five to ten closed incidents with known root causes and run them through the tool in a proof-of-concept environment. incident.io’s testing guidance recommends targeting AI RCA tools with over 80% precision even at lower recall, because false positives destroy trust during high-stress outages.

Measure whether the cited root cause matches the postmortem. Top-k accuracy, the share of cases where the true cause appears among the top-ranked predictions, is the metric that best fits this workflow. A practical test for any automated root cause analysis claim is to ask the vendor to show an incident where the tool eliminated a plausible cause, rather than one where it ranked the right cause first, because ranking correctly is easy on incidents chosen for a demo while eliminating wrong answers is what holds up in production.

Check whether the tool distinguishes symptom from cause. A failed service affects all its parent services, so identifying the culprit without traversing the dependency graph is guesswork. Ask the vendor whether their system infers propagation direction for each incident, because anomalies propagate both upward and downward through call graphs and correlation-based traversal cannot reliably determine which direction.

What Changes When Coding Agents Multiply PR Volume

Coding agents and software factories now push far more change into production than any team can instrument by hand. Shipping velocity outruns any team’s ability to write monitors manually. New monitors never get written, which creates blind spots, while old monitors rot into irrelevance or become so flappy that teams ignore them.

Struct acts as the maintenance layer for the software factory. Coverage fills in as you ship, deploys are audited automatically, and a teammate that knows production can babysit a rollout or answer “what changed?” on demand. That same layer keeps the alert channel usable, because it dedupes and scores every alert before it reaches Slack, with no per-PR configuration required. Monitor consolidation is aggressive, at 12 PRs to 1 monitor, and the underlying checks are free on your Datadog bill.

Frequently Asked Questions

What Minimum Team Or System Maturity Is Required For AI Root Cause Analysis?

The golden user already runs Datadog or Sentry with Slack alerts. Struct works from the data you have. It flags observability gaps at the PR and creates the monitors a change needs, which fills coverage in as you ship, but it cannot deduce system state from code alone. If your logging and telemetry are limited, Struct can still detect and investigate log- and infrastructure-based incidents, but code-level root cause identification depends on having APM instrumentation. Without RUM, postmortems describe backend behavior but cannot quantify how many users experienced the incident.

How Does AI Root Cause Analysis Interact With Existing Monitoring And Incident Tools?

Struct sits on top of existing observability, such as Datadog, Grafana, Sentry, AWS CloudWatch, Azure Monitor, and GCP, as the engineer who uses those tools. It does not replace them. Monitors it creates live in the customer’s own observability account. It triages every alert, both its own and your existing ones, to dismiss, retune, or escalate. If you manage monitors in Terraform, the net-new monitors Struct creates will not drift anything you manage. Anything Terraform-managed is tagged and filterable, so Struct works around it.

What Is The Typical Time And Effort To Roll Out AI Root Cause Analysis?

Setup takes about 10 minutes. You authenticate GitHub, Slack, and your observability provider, such as Datadog or Sentry, and turn on the monitors and triage you want. No per-PR configuration is required. You can start in shadow mode with no cutover risk. Autonomy is earned per capability: read-only investigation, then monitor creation and tuning, then auto-fix PRs when confidence is high. You set the sensitivity and which actions need approval.

How Does AI Root Cause Analysis Handle Data Privacy, Access Control, And Compliance?

Struct is SOC 2 Type II and HIPAA compliant. Data is logically isolated, encrypted, and never used for training by Struct or its data providers. A data-flow diagram is available on request. Sidecar and on-prem deployment are available on Enterprise. Details live at trust.struct.ai. If your policy requires zero data egress on a lower tier, Struct is not the right fit today.

How Do You Involve Junior Engineers Safely In On-Call Workflows With AI Root Cause Analysis?

Struct triages every alert first. If a junior engineer does not need to know about it, they do not see it, and what lands comes with impact, root cause, and the fix. They come into a PR waiting, not a backlog, because confident fixes are already opened and the rest arrive with a cited investigation and next step. A teammate in Slack that knows production lets them ask what changed, pull more logs, test a hypothesis, or have it watch a deploy. That first pass looks like a senior engineer’s review on demand and makes it safe to put new hires on call.

The Only Question That Matters: Is Prod Working As Intended?

AI root cause analysis for incidents only works when the system knows intent. Generic AI investigators, including vanilla Claude and ChatGPT, can group logs and correlate spikes, yet they do not know what the code was supposed to do.

Struct acts as the AI prod engineer. It reads every PR to create the monitors that change needs, baselines them after deploy, audits each deploy for regressions, triages every alert to dismiss, retune, or escalate, and when something is real, root-causes it and opens the fix with humans optional. It sits on top of Datadog, Grafana, Sentry, AWS CloudWatch, Azure Monitor, and GCP rather than replacing them, and the monitors it creates live in your own observability account. Setup takes about 10 minutes against your existing stack, and you can start in shadow mode with no cutover risk.

Every claim about how Struct investigates shows its evidence. Each claim is cited to a log line, trace span, or diff, carries a confidence score, and shows the full investigation path. Struct’s p50 time-to-root-cause is under 4 minutes. Struct customers working at large scale with many services report an 80% reduction in triage time. Orb reclaimed 160+ engineering hours per month. Arcana eliminated roughly 14 hours a week of Sentry triage and cut investigation time from 30 minutes to 2 minutes after adopting Struct. A Series D healthtech root-caused 119 investigations in 3 weeks, deduped about half its alerts automatically, got 30+ engineer hours back, and surfaced 4 issues nobody was tracking.

Your customers should not be your monitoring system. Run Struct in shadow mode next to your alert channel for 2 weeks, free. See your channel in shadow mode →

Read Next