Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

incident.io 14 min read Case study mediumAdept

Building Investigations: what it takes to build an AI SRE

Building a reliable AI SRE took incident.io two years, far longer than the first promising prototype suggested, and the hard work sat in four areas around the model. Accuracy is measured by backtesting against past incidents frozen in time, where the main difficulty is keeping future information (fix PRs, post-mortems, root-cause messages) from leaking into the inputs. The harness fans out across data sources and uses an adversarial agent to challenge each hypothesis; its findings data model went through five versions, from free-form essays to evidence-backed, discountable records written in waves. Heads-up messages must pass layered mechanical checks, 'vibe' checks and tone tuning, and are LLM-graded for novelty and accuracy. Telemetry queries are summarized and graphed for the agent, and a nightly 'Explore' process re-validates stored memories so they stay correct as the organization changes.

Related posts

  • How we built a real-world evaluation platform for autonomous SRE agents at scale

    Datadog Engineering mediumAdept

    Datadog built a replayable offline evaluation platform for Bits Investigation, its autonomous SRE agent, after discovering that feature changes improving one investigation type silently regressed others. Each evaluation label pairs a ground-truth root cause with a world snapshot of the telemetry queries available at incident time. Labels are generated from customer feedback, and Bits itself drafts the root cause analyses for human review, which raised label creation rate by an order of magnitude and cut validation time per label by over 95%. Deliberately noisy snapshots that include unrelated but nearby components lowered pass rates by about 11% but made results predictive of production, and segmenting labels by technology, problem type and difficulty lets the team catch cross-area regressions.

  • Your AI SRE needs better observability, not bigger models.

    ClickHouse mediumAdept

    AI SRE copilots fail at root cause analysis mainly because of their data, not their models: legacy inverted-index observability stacks keep only 7-14 days of logs, drop high-cardinality fields like request and user IDs, answer queries slowly, and often charge per query. ClickHouse's own tests found an agent issues 6-27 queries per investigation and that even GPT-5 could not reliably find root causes without better context. The proposed fix is a columnar OLAP substrate with months of full-fidelity telemetry, sparse primary indexes, fast vectorized queries and standard SQL that LLMs already know. The reference architecture adds OpenTelemetry ingestion, logs, metrics and traces in MergeTree tables, and context tables for deployments and feature flags, with humans approving every action instead of auto-remediation.

  • Why we built our own AI tooling suite

    incident.io easyNovice

    incident.io built Workbench, an internal AI tooling suite, instead of buying an off-the-shelf eval and observability product such as Galileo or Braintrust, to support development of its incident-investigating AI agent. Workbench includes a thread explorer that shows LLM-based classification and scorecards next to user feedback, a trace view of the prompt tree with per-call latency, errors and re-run support, and a prompt leaderboard for re-running a request repeatedly or across models to gauge failure rates. The payoffs were faster iteration on shared build and deploy tooling, colocated product and AI metadata for cost and quality dashboards, and sensitive customer data staying inside existing security and permission models. The recommendation is that building your own tooling can clarify requirements for teams with a complex existing product, even though the result is highly company-specific.

  • Streamlining Security Investigations with Agents

    Slack Engineering mediumAdept

    Slack's Security Engineering team replaced a single-prompt prototype for triaging security alerts with a multi-agent system that chains narrowly scoped model invocations, each constrained by a JSON-schema structured output. A Director agent questions four domain experts (Access, Cloud, Code, Threat), and a Critic scores their findings against a rubric and builds a timeline from the most credible ones. The investigation moves through discovery, trace and conclude phases. A "knowledge pyramid" assigns low-, medium- and high-cost models to experts, critic and director respectively to manage token spend. A hub, worker and dashboard architecture supports real-time observation and integration with existing detection tools, and an example shows the Critic catching a credential exposure the expert had missed.

  • IBM and UC Berkeley Diagnose Why Enterprise Agents Fail Using IT-Bench and MAST

    Hugging Face mediumAdept

    Applying the MAST failure taxonomy to 310 annotated ITBench SRE agent traces shows that frontier models fail in isolated ways (Gemini-3-Flash averages 2.6 failure modes per failed trace). Open models fail through cascading errors (Kimi-K2 4.7, GPT-OSS-120B 5.3), where an early reasoning-action mismatch poisons context and leads to derailment. Incorrect verification is the strongest predictor of failure overall: agents declare success without checking ground truth. Kimi-K2 struggles mainly with termination, and GPT-OSS-120B loses conversation history in 24% of traces. The recommended fixes are architectural rather than prompt tweaks: external tool-based verification gates, termination and loop control via state machines outside the model, explicit clarify-or-read-only branches, and aggressive context hygiene.

The quest for software engineering knowledge.

Look:
Layout: