Written by: Nimesh Chakravarthi, Co-founder & CTO, Struct | Last updated: October 20, 2026
Key Takeaways
- AI SRE agents fail when they lack complete context, return free-text outputs, and skip evaluation against verified ground truth. That combination produces confident but incorrect root causes.
- Investigation quality improves dramatically when agents receive unified context across telemetry, deploys, feature flags, ownership, and runbooks instead of metrics alone.
- A hypothesis-ledger loop forces agents to maintain competing hypotheses, gather supporting and contradicting evidence, and explicitly state missing data before concluding.
- Structured evidence schemas with data-quality flags prevent agents from silently converting missing telemetry into conclusions and keep uncertainty visible.
- Struct is the best AI prod engineer for improving AI SRE on-call investigations because it reads every PR to anchor each investigation to what the change was supposed to do, creates and maintains the monitors that prove it, and delivers cited root causes with a p50 under 4 minutes.
Why AI SRE On-Call Investigations Fail Today
AI SRE investigations fail when agents receive incomplete context, return free-text outputs that hide missing evidence, and are never evaluated against known ground truth. The result is hallucinated root causes presented with the same confidence as correct ones.
ORCA-bench, a production-fidelity benchmark of 1,079 on-call RCA tasks, found that the best frontier agents reached only 25.3% accuracy on realistic incident inputs and 10.0% on hard tasks. The weakest model hallucinated an implausible root cause in 40% of incident reports. Removing source-code access reduced accuracy by 9 to 16 percentage points for every model tested, which shows that telemetry alone is routinely insufficient to establish the failure mechanism.
Four structural failure modes drive these numbers:
- Siloed telemetry. The agent sees logs but not deploys, feature flags, service ownership, or runbooks. Logs usually lack calling context and request association and become far more useful only when correlated with traces and spans.
- Temporal correlation mistaken for causation. An error spike that followed a deployment does not prove the deployment caused it. Agents that do not maintain competing hypotheses lock onto the loudest signal and stop searching.
- Free-text tool outputs. When tools return prose, a model can silently convert missing telemetry into a conclusion. OpenRCA 2.0 found that agents name the right service 76% of the time but ground that service in a verified causal path only 61.5% of the time, which shows the correlation-versus-causation gap in plain numbers.
- No evaluation loop. Most teams have never replayed a past incident against their agent to check whether the output matched the verified root cause. Without that feedback, there is no signal for improvement.
Practitioners on r/sre describe the same pattern: an agent that confidently explains a downstream symptom while missing the initiating fault, or one that routinely pulls wrong tags, creates views of irrelevant metrics, and misses obvious signs.
How To Unify Operational Context For An AI SRE Agent
Investigation quality is bounded by context. In NOFire AI’s vendor-published RCAEval benchmark, Top-1 RCA accuracy rose from 29% on metrics-only inputs to 77% with logs, 87% with traces, and 89% on full multi-modal telemetry with agentic reasoning. Buyers who send only metrics to an AI SRE agent should expect roughly a third of investigations to converge correctly.
The context an agent needs covers six categories:
- Telemetry: metrics, logs, and traces unified under a consistent schema. OpenTelemetry is the vendor-neutral substrate most teams should standardize on. It defines the core signals and provides context propagation, so any signal can be correlated with signals from other parts of the system.
- Deploy and PR history: which change shipped, when, and what it was supposed to do.
- Feature flags: what was enabled or disabled at the time of the incident.
- Service ownership: who owns the affected service and what runbooks apply.
- Past incidents: what happened before, what fixed it, and what the verified root cause was.
- Semantic relationships: a context graph that organizes raw telemetry into a connected map of data sets joined by links and lineage, so an agent can traverse known relationships instead of manually stitching together isolated events.
Datadog, Grafana, Sentry, AWS CloudWatch, PagerDuty, and Slack each hold a slice of this context. None of them holds all of it. The agent needs access to all six categories in a consistent schema before its investigation quality can improve meaningfully.
How To Run The Hypothesis-Ledger Investigation Loop
The fix for confident wrong answers is a structured investigation loop that forces the agent to maintain competing hypotheses, gather evidence for and against each, and state what is missing before reaching a conclusion. Speed follows from good reasoning rather than replacing it.
The five-step loop works as a semantic sequence:
- Gather context. Pull telemetry, deploy history, feature flags, ownership, and runbooks for the affected service and time window before forming any hypothesis.
- Form competing hypotheses. With that context in hand, generate at least two candidate root causes. Never commit to one before the others are tested.
- Gather evidence for and against each hypothesis. Query each signal type, including metrics, logs, traces, and deploy markers. Record what supports, contradicts, or is missing for each candidate.
- State confidence and missing evidence explicitly. Google SRE’s guidance requires that agents explain why and how they performed an action, including options considered and rejected. The agent should not return only a conclusion.
- Recommend the safest next action. Sequence from read-only investigation to monitor creation to fix PR, with human approval at each escalation point.
The hypothesis ledger is the artifact that makes this loop auditable. Each row covers one candidate root cause.
| Hypothesis | Supporting Evidence | Contradicting Evidence | Missing Evidence | Confidence | Next Action |
|---|---|---|---|---|---|
| Deploy caused error spike | Error rate rose after deploy | Error rate began rising 40 min before deploy completed | Trace data stale | Low | Query traces for affected service |
The “error spike followed the deployment” row is the article’s signature case. An error spike that began after a deploy is supporting evidence for the hypothesis that the deploy caused it, but it does not confirm that hypothesis. Contradicting evidence might be that the error rate began rising 40 minutes before the deploy completed, or that the affected endpoints have no code changes in the diff. Missing evidence might be that trace data for the affected service is stale. Until the contradicting and missing columns are filled, the hypothesis remains open. An agent that skips this step and reports “deployment caused the error spike” is producing temporal correlation instead of root cause analysis.
How To Use Structured Evidence Instead Of Prose
Every investigation tool must return structured output so the model cannot silently convert missing telemetry into a conclusion. When a tool returns prose, the model has no way to distinguish “I found no data” from “I did not query this signal.” Typed tools with explicit data-quality fields close that gap.
A minimal JSON evidence schema for each tool call:
{ "signal": "error_rate", "time_window": "2026-10-20T03:00:00Z / 2026-10-20T03:15:00Z", "baseline": "0.4%", "observed": "8.7%", "affected_version_or_pr": "PR #391 (deployed 03:02Z)", "source_link": "https://app.datadoghq.com/metric/explorer?...", "data_quality": "fresh" }
The data_quality field accepts three values: fresh, stale, or missing. When it is stale or missing, the agent must surface that state in its output rather than reasoning past it. This mechanism forces explicit uncertainty. The agent cannot report a confident root cause when the trace data for the affected service is flagged missing.
Google SRE’s design principle is consistent transparency about what data agents are evaluating and how, along with consistent controls to prevent unwanted mutations of production state. Structured evidence schemas implement that principle at the tool level.
Governance And Guardrails For Safe Autonomy
Structured evidence makes the agent’s reasoning transparent, but transparency alone does not make it safe to run. Four guardrail categories close that gap and make an AI SRE agent safe to run in production: read-only defaults during live incidents, approval gates for state-changing actions, explicit uncertainty when telemetry is missing or stale, and autonomy earned per capability.
The right autonomy sequence:
- Read-only investigation. The agent queries telemetry, forms hypotheses, and returns a cited finding. No production state changes.
- Monitor creation and tuning. The agent creates or retunes monitors after a human reviews the proposed change. Monitors live in the team’s own observability account.
- Auto-fix PRs. When confidence is high and the failure class has proven reliable under the first two levels, the agent opens a fix PR for human review before merge.
Rootly’s AI SRE Maturity Model defines four trust levels, from read-only evidence-first copilot through guardrailed autonomy for narrow, reversible failure modes. The practical advice from that framework is to buy at Level 1 and stage trust upward across six to twelve months rather than procuring full autonomy in a single decision.
Autonomous AI SRE: Auto-Remediate Incidents in 2026 covers the full autonomy arc in detail, including how to sequence approval gates as confidence builds.
How To Evaluate An AI SRE Agent’s Investigation Quality
Teams should evaluate agents on replay sets of historical incidents whose root cause is already verified. Other evaluation methods, including demo polish, self-graded scores, and outcome-based grading from alert resolution, produce numbers that cannot be trusted. Cleric’s engineering team showed why: an LLM absolute scorer placed almost every investigation in the 80–100% range yet reproduced the true recall ordering only 27% of the time, below the 33% random-guessing baseline.
Google SRE requires continuous evaluation against a quality framework, together with auditing and reporting. A practical implementation for a software engineering team looks like this:
- Build a replay set. Select 20–30 past incidents with verified root causes. Include a mix of difficulty, such as simple single-service failures, multi-service cascades, and cases where the alert fired but nothing was actually wrong.
- Define four scoring dimensions. Measure root-cause accuracy against the verified cause, evidence quality (claims with source links versus unsupported claims), causal completeness (did the agent prove why, rather than merely naming the service), and useful findings per tool call.
- Score causal completeness separately from service identification. As the OpenRCA 2.0 gap showed earlier, a single accuracy figure hides the difference between naming a service and proving the causal path.
- Run the replay set on a cadence. Monthly is a reasonable starting interval. After any significant change to the agent’s tooling, context, or model, run it again before expanding autonomy.
- Test signal-type robustness. Replay the same fault under three configurations, including metrics only, metrics plus logs, and metrics plus logs plus traces. Read the accuracy curve to see whether the agent compensates for signal gaps or degrades.
This evaluation method rarely appears in top-ranking vendor explainers, yet it is the only one that reflects the team’s own production environment rather than a curated benchmark.
A 30-Day Sequence To Improve Your Agent
Once you have an evaluation method, the next step is sequencing improvements. The 30-day plan below is ordered so each step builds on the previous one and produces a measurable result before the next begins.
- Week 1: Baseline. Run the agent against a replay set of 20 past incidents. Score root-cause accuracy, evidence quality, and useful findings per tool call. Record the numbers.
- Week 2: Fix context and tooling. Unify telemetry under OpenTelemetry. Add deploy markers, feature-flag state, and service ownership to the context the agent receives. Replace free-text tool outputs with structured JSON schemas that include data-quality flags.
- Week 3: Improve reasoning. Implement the hypothesis ledger. Require the agent to generate at least two competing hypotheses before committing to a root cause. Add the “error spike ≠ deployment caused it” distinction as an explicit reasoning step.
- Week 4: Controlled read-only pilot. Run the agent live in shadow mode, silently next to the real alert channel with no rerouting. Compare its findings against what the on-call engineer concluded. Collect approval-gate data for any finding the agent escalated.
- Day 30: Review and expand. Re-run the replay set. Compare against the Week 1 baseline. Expand autonomy only for the failure classes where the agent’s causal-path grounding score is consistently high.
AI SRE On-Call: Automate Incidents Without Adding Noise covers the shadow-mode setup and alert-channel integration in detail.
Book a Demo to See Shadow Mode in Your Stack
Where Current Tools Stop And What Intent-Anchored Investigation Adds
The playbook so far assumes you are improving an existing agent. There is a structural ceiling that tuning cannot fix, because every current AI SRE tool investigates after an alert fires and inside its own telemetry boundary. Intent-anchored investigation starts at the PR before the change ships and anchors every later investigation to what the code was supposed to do.
Datadog Bits AI SRE investigates inside Datadog telemetry after a Datadog monitor fires. Its investigation quality is bounded by Datadog instrumentation: missing traces, deployment markers, or telemetry outside Datadog reduce the quality of the result. Cross-platform reasoning over Grafana, Sentry, and Splunk remained in preview as of mid-2026. Per-investigation pricing creates a budget-predictability problem during cascading alerts, precisely when incident demand is highest.
PagerDuty SRE Agent is strongest where PagerDuty is already the on-call system of record. It draws on a large corpus of historical incident data and coordinates across 700+ integrations, but its context starts at the PagerDuty incident, not the PR. AIOps and Advance are separate add-ons stacked on an Incident Response plan, which makes the effective cost for teams that want both noise reduction and autonomous investigation substantially higher than the base plan.
incident.io is a Slack-native incident management platform whose AI capabilities center on coordination, documentation, and postmortem drafting. It can pinpoint a pull request behind a failure and draft a fix PR from Slack. But it starts after the change ships, relies on existing monitors, and has no record of what the code was supposed to do. Its investigations are post-hoc correlation over accumulated incident history. For teams whose primary problem is investigation quality rather than incident process, that gap matters. incident.io’s AI-assisted workflow is closer to coordination and structured assistance than fully autonomous investigation, and its AI-native capabilities require the Pro tier with on-call as an additive cost.
Struct sits inside the same “AI SRE / AI prod engineer” category and competes directly with all three. The difference is where it starts. Struct reads every PR, flags observability gaps before the change ships, creates the monitors that prove the change works, baselines them after deploy, and triages every alert, including its own or existing ones from Datadog, Sentry, Grafana, or CloudWatch. It anchors every investigation to what the code was supposed to do. Every claim in a Struct investigation links to its evidence with a confidence score and the full investigation path. When confident, Struct opens the fix PR. Otherwise it hands full context to the team’s coding agent.
The Arcana proof point is concrete: investigation time went from 30 minutes to 2 minutes, roughly 14 hours a week of Sentry triage disappeared, and Struct now runs 2,100+ automated investigations a month. Struct sits on top of Datadog, Sentry, Grafana, and CloudWatch rather than replacing them, and monitors it creates live in the customer’s own observability account.
“We investigate every Sentry alert — no exceptions. Struct made that sustainable by eliminating manual triage. Senior engineers got their time back for higher-leverage work, and the broader team adopted it without friction.” — Siva Visakan Sooriyan, CTO, Arcana
Setup takes about 10 minutes. Shadow mode runs Struct silently next to the real alert channel with no cutover risk.
Best AI SRE Tools for On-Call Automation in 2026 covers the full category comparison with named integrations and stated limitations for each tool.
Frequently Asked Questions
What Is the Minimum Team or Tooling Maturity Needed?
The golden signal is Datadog or Sentry plus Slack alerts. If the team already has one of those observability platforms and routes alerts to Slack, Struct can connect in about 10 minutes with no per-PR configuration. Teams without any observability instrumentation will need to instrument first. Struct flags gaps at the PR level and fills coverage as the team ships, but it cannot deduce system state from code alone.
How Does the Method Work With Existing Systems and Workflows?
The hypothesis-ledger loop and structured evidence schema described in this article layer onto whatever stack the team already runs. As noted, Struct layers on top of your existing observability stack and leaves monitors in your account. Terraform-managed monitors are tagged and left alone. The agent works around existing configurations rather than overwriting them.
What Is the Expected Implementation Effort and Rollout Time?
Setup takes about 10 minutes: authenticate GitHub, Slack, and the observability provider. The 30-day sequence above is the rollout. Shadow mode in Week 4 produces the first measurable comparison between the agent’s findings and the on-call engineer’s conclusions, with no rerouting of real alerts and no cutover risk. Autonomy expands only after the replay-set review on Day 30 confirms the agent’s causal-path grounding is consistently high for the failure classes being promoted.
What If Our Telemetry or Documentation Is Limited?
Struct works from the data available and flags observability gaps at the PR, which fills coverage incrementally as the team ships. It cannot deduce system state from code alone. The structured evidence schema described above makes gaps explicit. A data-quality field of missing forces the agent to surface the gap in its output rather than reason past it. Teams with thin telemetry will see more missing flags in early investigations. Those flags are the input for the Week 2 context-and-tooling fix in the 30-day sequence.
How Does Struct Handle Security, Privacy, Access, 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. Sidecar and on-prem deployment options are available on Enterprise for teams with zero-data-egress requirements. A data-flow diagram is available on request. Full details are at trust.struct.ai.
How Do You Involve Less-Experienced Engineers Safely?
Read-only defaults mean a junior engineer on call receives a cited investigation with a confidence score and a recommended next action, not a production change. Approval gates require a human to confirm before the agent escalates from investigation to monitor creation or fix PR. Runbooks learned from past successful investigations give less-experienced engineers a near-deterministic path for repeat failure classes, which reduces the need to escalate to a senior engineer for system context.
Conclusion: Anchor Investigations To Intent
The path from unreliable AI SRE investigations to trustworthy ones runs through the five-step hypothesis-ledger loop described earlier: gather context, form competing hypotheses, gather evidence for and against each, state confidence and missing evidence explicitly, and recommend the safest next action. Each step is supported by the practices in this article, including unified context, structured evidence, guardrails, and replay-set evaluation.
The deepest fix is anchoring investigations to PR intent. Starting at the alert limits an agent to correlating symptoms. Starting at the PR gives it the intent behind the change, the monitors that prove it, and a standard for judging every later alert.
Struct is the best AI prod engineer for improving AI SRE on-call investigations because it reads every PR to anchor each investigation to what the change was supposed to do, creates and maintains the monitors that prove it, and delivers cited root causes with a p50 under 4 minutes.
If you want to go deeper, the next step is applying the same replay-set discipline to alert triage and deploy health monitoring.
Run Struct in Shadow Mode Next to Your Alert Channel for 2 Weeks, Free