Skip to content

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

Datadog Engineering 15 min read Case study mediumAdept

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

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.

Related posts

  • Building Investigations: what it takes to build an AI SRE

    incident.io mediumAdept

    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.

  • How we build and evaluate our MCP server for SRE agents

    ClickHouse mediumAdept

    ClickHouse's open-source hdx-evals framework benchmarks MCP servers for SRE agents. It seeds deterministic synthetic telemetry (tens of millions of spans and logs with planted anomalies and distractors) into ClickHouse and runs sandboxed Claude Code agents against each MCP/model combination. Grading combines weighted regex checks with proximity-based negative checks for distractors (40%), a blinded LLM judge (60%), and a rate-based penalty for agent-caused tool errors. Five scenarios cover root cause, latency regression, Simpson's-paradox segmentation, noise reduction and no-incident health checks. Against a raw SQL ClickHouse MCP, the higher-level ClickStack MCP gave 18% more accurate outcomes, 26% fewer tool calls and 2.4x more consistent results.

  • The Most Common Questions About Agent Evals, Answered

    LangChain mediumAdept

    Agent evals score agent runs to handle nondeterminism, multiple valid answers and variable execution paths: start by reading traces, pick one behavior, build a 10-20 example dataset from real traces, run a baseline experiment, and fold new failures back in. Offline evals compare versions against datasets before shipping, while online evals score sampled production traces without reference outputs. Use code evaluators where possible, LLM judges with narrow binary questions calibrated against human review, and pairwise comparison for choosing variants. Container-based benchmarks like Terminal-Bench (run via the open-source Harbor harness) score the end state of an environment for long multi-step tasks, and online costs can be controlled through sampling, filters, code checks and cheaper judge models.

  • 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 human insight is a strategic advantage for building better agents

    LangChain easyNovice

    Human review of agent traces supplies the domain judgment that automated evals lack, and it works best when reviewers see the full multi-turn conversation rather than an isolated step. Reviewer scores and written reasoning, captured in annotation queues, can be reused to align LLM judges by comparing their scores against human labels, to fix online evaluators that keep missing the same failure, and to seed golden datasets for offline regression testing. LangSmith now supports whole threads as annotation-queue items, shown as a readable trajectory, and Fetch Rewards uses this to check tool grounding, product images and offer availability before tuning its automated judges.

The quest for software engineering knowledge.

Look:
Layout: