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

Benjamin Barton7 Apr 2026

Problem

Datadog's Bits Investigation is an autonomous agent that investigates production incidents across metrics, logs, traces and other telemetry. A feature that improved one kind of investigation silently degraded others. Nothing crashed, so the shifts went unseen. Testing tools one by one missed failures that come from chaining tool outputs. Rerunning live investigations did not scale: environments changed and telemetry expired.

Example from the article: a feature added the service name from the monitor under investigation to the agent's initial context. It worked on a few internal cases but pulled in many irrelevant signals, and quality dropped in unrelated scenarios until misses showed up internally.

Solution in brief

Build a replayable offline evaluation set. Each label pairs a ground-truth root cause with a snapshot of the signals the agent could see at the time, including unrelated noise. Labels come from user feedback, are drafted and checked by the agent, and go to humans only when confidence is low. A platform runs the agent on segments of the set and tracks scores per scenario and version.

Questions this case answers
  • How to detect regressions in a multi-step agent that reasons over time-limited external data, when unit tests of single tools and live reruns both fail
  • How to grow a ground-truth label set for an agent faster than humans can review it without losing label quality
  • How to catch regressions in an autonomous agent when a feature that helps one scenario quietly hurts others?
  • How to evaluate an agent offline when the production telemetry it reasons over expires?

Tools and methods

  • Evaluation label (ground truth + world snapshot) — a reproducible scenario that survives telemetry expiry
  • Agentic label validation with confidence scores — the agent drafts root-cause chains, humans review low-confidence ones
  • Noisy snapshot expansion — adds related but uninvolved components
  • Segmented eval runs, pass@k and score history — per-domain runs, weekly full runs, regression tracking
Continue reading — it's free

Google or a one-time email code. No password.