All notes
3 min read

AgentOps at M4: A Frozen-Set Comparison, Not a Live Accuracy Claim

M0, M1, M3, and M4 are done on the frozen scenarios. M4's Top-1 of 100% is FakeLLM plus cassette replay, not a live-model overnight eval.

A standard first, then a comparison

In the earlier note I asked what makes a diagnosis good enough. A claim should trace back to evidence, and the report should stop when the evidence runs out, rather than treating a fluent explanation as a root cause. This note only records where AgentOps stands, and roughly how it is put together.

It is a read-only agent for a first-pass incident diagnosis. I want it to do the first pass an SRE might make after an alert: help a person decide what to check next, without changing the system. Diagnosis is not tied to one tool or one model. It goes through ports and adapters: ToolPort and LLMPort. Key conclusions must cite evidence keys from an Evidence Ledger. A scenario’s ground_truth is visible only to the scorer, not to the investigation. Six read-only tools are wired in: query_metrics, search_logs, get_service_status, get_recent_changes, get_dependency_health, and query_db_health. Their outputs are redacted and wrapped as untrusted data. By design the system cannot write, and it does not mitigate or repair.

M0, done earlier, is the FastAPI skeleton, the incident schema, unified errors, and CI. Persistence was left for later on purpose. The order is deliberate: M1 sets a baseline that does not use a model, M3 shows where a blind sweep falls short, and M4 lets the loop decide what to inspect next. Without that baseline, the later scores would have nothing to sit against.

On the frozen set, the question is who chooses the tools

The comparison uses one frozen set: 29 scenarios, plus 9 holdouts. The Top-1 and Top-3 figures below are what that set reports.

M1 is a frozen rule baseline on a YAML scenario simulator. The rules are deterministic, not a model. Top-1 is 0.65 and Top-3 is 0.80.

M3 sweeps the topology in code, then answers once. Top-1 is 0.85 and Top-3 is 0.95. The model field is fake-m3-v1. That is not a live-model score. A blind sweep fails where a case needs pagination, or where a herring has to be separated from the real fault.

M4 replaces that with a hand-written investigation loop: triage, hypothesise and investigate, a read-only verifier, then a structured report. An EvidenceLedger and a HypothesisBoard sit in the middle, and the loop may make at most eight tool calls. CI replays cassettes, and an SRE inspect CLI lets a person look through one investigation. Top-1 and Top-3 are both 1.00, under the fake-m4-investigator-v1 adapter plus cassette replay. The Top-1 gap versus M3 is +0.15, and only under those fake-adapter and cassette conditions.

What this experiment asks is who chooses the tools. A live model handling production incidents is a separate claim, and this run does not support it. I will not quote 100% as the agent’s public accuracy until live-provider evals (DeepSeek is the one I have in mind) replace these fake baselines.

The loop is evaluated first; persistence comes after

M2 is Postgres, plus async runs and SSE. It comes after the loop so the loop can be evaluated first, not because the whole product is ready to ship. M5 is nightly evaluation, observability, and eval gates in CI.

The public repository is on GitHub.