What to measure before trusting an agent on an incident queue
- Published
- Data
- evaluation set of 102 closed incidents, 5 arms, wave 2 + 3.8 Flash round
- Figures
- 10
- Provenance
- numbers.jsonreport.mdMANIFEST.md
On this page (15)
- The claim
- The operational questions
- How we measured it
- Questions 1 and 2: usable, and wrong
- Question 3: can the agent's own confidence be the gate?
- What it costs to run: turns, not tokens, not price
- How long the engineer waits
- Decisions
- What this means for support KPIs
- Verification gates and methodology checks
- Hypotheses falsified by the benchmark
- Pressure tests
- What this does not show
- Reproduce
- References
The claim
I lead Applied AI and Support at Yugabyte. Both halves of that title answer to one outcome: how well and how soon we help a customer who needs us. So when we put an AI agent in front of our support engineers, I did not ask which model scores highest. I asked three questions. Can an engineer act on what the agent says? How often will it cost them time? Can we tell which answers are wrong before anyone acts?
On our evaluation set of 102 closed incidents, the agent gave a usable root cause 90% of the time. It was outright wrong 10% of the time. Its own confidence label told us nothing about which answers were which. Those three results decided our operating model. The agent drafts. The engineer decides. Nothing is gated on what the model says about itself.
This report also establishes our sample-size governance rule. On an initial 25-incident pilot, one model's confidence appeared calibrated. Expanding the standing benchmark to 102 incidents falsified that early signal before any trust gate was enabled in production. Operational AI governance requires sizing evaluation sets to catch small-sample noise before automating decisions.
The operational questions
When a customer's cluster misbehaves, an engineer opens a diagnostic bundle under time pressure. A bundle holds logs, metrics and cluster state, often several gigabytes. Our agent, Hagen, reads the bundle through a set of tools. It writes a root-cause assessment before the engineer starts (Chen et al., 2024).
For the person accountable for the queue, four things about that assessment matter.
- Is it usable? An exact root cause, or a partial one that points the right way, cuts time to resolution. We count both as usable and report exact match beside it.
- Is it wrong? A confidently wrong cause sends the engineer down the wrong path and raises time to resolution. The wrong answers carry the cost. A partial answer does not.
- Can we tell which is which before the engineer acts? If the agent's "grounded" label predicted correctness, we could gate on it. A trust gate depends on that question.
- What does each run cost, in money and in minutes? The budget and the queue depend on it. Price per token turned out to predict neither.
The rest of this report measures those four questions and records what we decided on each.
How we measured it
Cases. The evaluation set is 102 closed support incidents. Each has a root cause confirmed independently, through customer-escalation records or session validation. None comes from the pipeline's own output. This is a test harness and not live traffic. All bundle evaluations run in our isolated cloud boundary under Zero Data Retention (no training) and two-layer egress redaction (detailed in follow-on report 10).
Every change to the stack runs against the same 102 cases and is scored the same way. That covers a model swap, a new tool and a prompt change. Quality is measured before it reaches an engineer, and a regression shows up as a number instead of a complaint.
The benchmark started as a 25-case pilot. We expanded it to 102 cases after measuring ten-point run-to-run variance on 25 cases. That expansion falsified an early calibration hypothesis from the pilot cohort. Ten of the 102 incidents are healthy negative controls scored on abstention, and 92 are root-cause incidents scored under the standard rule. In 5 of those 92, additional customer log uploads arrived in the source ticket store before we pinned immutable benchmark snapshots. Every rate below is on the remaining 87 standard root-cause incidents unless stated.
Agent. One production support-RCA agent, built on pydantic-ai and MCP tools. It has one system prompt and one tool set, with provider-default settings for every model. Nothing was tuned per arm, so the model is the only variable.
Arms. Five: Gemini 3.6 Flash, 3.7 Flash, 3.8 Flash, Gemini 3.1 Pro and Claude Opus 4.6. The Claude arm is the mechanism control for the cost finding, because it batches parallel tool calls (Kim et al., 2024).
Scoring. A blinded panel of two judge models scores every answer against the human root cause. Each judge makes three passes and labels each answer MATCH, PARTIAL or MISS. Usable means MATCH or PARTIAL. Wrong means MISS.
Pre-registration. The decision rule and analysis plan were committed to git before the runs were scored. Exact match is the pre-registered primary endpoint (tied 12 to 8, p=0.38). Usable root-cause rate is the operational co-endpoint (14 to 4, mid-p 0.019) that guided deployment, and we report both everywhere.
Telemetry. Every model call and tool call is traced. Turns, tool calls, tokens and wall clock come from those traces, one completed run per incident. Figures are medians unless stated.
Questions 1 and 2: usable, and wrong
| arm | usable | exact | wrong | said "grounded" |
|---|---|---|---|---|
| Gemini 3.6 Flash | 77% | 39% | 23% | 75% |
| Gemini 3.7 Flash | 78% | 38% | 22% | 60% |
| Gemini 3.8 Flash | 90% | 53% | 10% | 57% |
These are three releases of the same model line on the same incidents. 3.6 and 3.7 ran in August and 3.8 in September. On 25 identical incidents we measured the backend moving under one model in that window. Read the gap as release plus window.
3.6 and 3.7 tied. 3.8 is more usable and less often wrong. It labels itself "grounded" less often while being right more often. On the pre-registered primary endpoint of exact match, 3.8 Flash and Claude Opus 4.6 tied, 12 to 8 (p=0.38). On the operational co-endpoint of usable root causes, 3.8 Flash won 14 incidents to 4 (McNemar mid-p 0.019; Fagerland et al., 2013). All four paired usable comparisons survive Holm correction.
For operations, one in ten assessments still sends the engineer the wrong way. That number sets the supervision model, more than the 90% does. The agent drafts and the engineer decides.


Question 3: can the agent's own confidence be the gate?
No. Our expanded benchmark ruled it out.
On the initial 25-case pilot in August, Gemini 3.6 Flash scored AUROC 0.62 and MCC +0.36, the highest of eight models tested. On the expanded 102-case benchmark, those figures moved to AUROC 0.473 and MCC -0.075. The 102-case gate showed that the 25-case signal was small-sample variance, confirming why we keep a human-in-the-loop review policy.
Confidently wrong answers rose from 16% to 20% overall. On the identical 25 incidents they rose from 16% to 24%. So part of the change came from the backend moving under the model, and part from harder cases.
Across all four Wave 2 arms, I built a graded proxy from the models' own grounding and confidence labels. It predicted whether the answer was usable at AUROC 0.460 (cluster permutation p=0.315). The binary "grounded" flag alone, against exact match, scored AUROC 0.518 (p=0.661, bootstrap CI 0.447 to 0.580). A coin flip scores 0.50. Self-reported confidence carries no usable signal (Xiong et al., 2024).
Over-claiming also differs by vendor. These figures use the 92-case Wave 2 standard set, so each moves by a point against the table above. 3.7 Flash said "grounded" on 59% of incidents and was exactly right on 37%. 3.6 Flash: 76% and 38%. The Claude arm under-claimed: 43% and 48%. These "grounded" rates are post-gate labels after a link check in the agent code (detailed in follow-on report 03). That 43% measures the model and the rule together. One trust threshold across models is invalid, because the sign flips between vendors.
This consequence shapes our operation more than any other result here. We had stopped gating production on the agent's self-report before this run, and the data supports that call. The engineer sees the assessment and the evidence it cites. They never see a confidence badge. Where two arms disagree, they see the disagreement.

What it costs to run: turns, not tokens, not price
For an operations budget the unit is cost per incident. Price per token predicts it badly.
Gemini 3.8 Flash issues 1.01 tool calls per active turn. 99% of its 3,884 active turns carry exactly one call. Inside Gemini's own line, the single-call share runs 84% (3.1 Pro), 95% (3.6 Flash), 95% (3.7 Flash) and 99% (3.8 Flash) on the same client. So the client passes parallel calls whenever a model issues them. Claude Opus 4.6 issues 1.85.
Per incident the two make about the same number of calls, a median of 36.5 against 33. But 3.8 Flash needs 37 turns to Claude Opus 4.6's 19, and it took more turns in 95 of 102 paired incidents. Every turn re-reads the context, so input grows with the square of the turn count. The result is 3.09M input tokens per incident against 1.38M.
We ruled out our own side. Prefill speed is not the cause: 1.17, 1.18 and 1.19 seconds per 100k input tokens across 3.6, 3.7 and 3.8 Flash. Per 1,000 output tokens the three do differ, at 3.0, 4.6 and 6.5 seconds, and that is turns too. More turns mean more generation.
The harness is not the cause. Parallel calling was never disabled, and 3.8 Flash did issue concurrent calls in 40 turns. The prompt is not the cause either. On five tools the prompt never sequences, Claude Opus 4.6 kept 625 of 1,226 consecutive same-tool calls inside one turn. 3.8 Flash kept 0 of 1,929. Google's documentation says 3.8 Flash calls tools iteratively by design. This is that design, measured.
The 3.7 Flash round showed the same thing another way. At the same price per token, 3.7 Flash read 1.7x the input tokens of 3.6 Flash (means, 1.55M against 0.91M per incident; on medians 1.6x). It made 37% more tool calls (means, 22 against 16). Cost per incident rose from $0.72 to $1.19, while accuracy tied (37% against 38% exact, 14 wins to 13 paired).
We are moving our default to 3.8 Flash and accepting the cost for now. I have two requests for the vendor, and both are cheap. The first is cached-token counts in the usage payload, so we can report billed input instead of raw context. The second is a flag or hint that batches independent tool calls, so we can measure any accuracy cost of batching. In our data the least-batching Gemini arm is also the most accurate. Four arms prove nothing, which is why I ask for a flag and not a changed default.



How long the engineer waits
Wall clock matters on an incident queue. 3.8 Flash takes a median 6.1 minutes per incident, against 2.7 for 3.6 Flash. Its p90 of 14.5 minutes matches 3.6's, and above that it is slower again.
The time comes from turns. Per 100k input tokens the three Flash arms are within 2% of each other. Where the minutes go did change. 3.6 and 3.7 Flash spent 55 to 62% of an incident waiting on tools. 3.8 Flash spends 65% generating. For the queue, the assessment is ready in about the time an engineer takes to read the ticket and open the bundle.




Decisions
Five decisions came out of this, and each traces to a number above.
- The agent drafts; the engineer decides. One in ten assessments still points the wrong way. That number sets our supervision model under ISO/IEC 42001 (2023) Clause 8.1 and Annex A.9.3 human oversight.
- No gate on self-report. We had stopped gating production on the agent's confidence before this run, and the data supports that. Engineers see the assessment and the evidence it cites. They never see a confidence badge. Where two arms disagree, they see the disagreement.
- Move the default to Gemini 3.8 Flash and accept the cost for now. Halving the wrong-answer rate is worth more to our queue than the token bill. The bill is a turns problem. I am asking the vendor for cached-token counts in the usage payload and for a flag that batches independent tool calls in long agent loops.
- Evaluate on our own closed incidents, pre-register the rule, use a blinded panel. Public leaderboards told us none of the above. A model that ties its predecessor on a leaderboard can double the cost per incident and halve the wrong rate on ours. Only a benchmark built from real incidents, sized at 102 cases rather than a 25-case pilot, separates signal from run-to-run noise.
- Enforce scale gates before automating trust. An early calibration signal on 25 incidents disappeared at 102 incidents under ISO/IEC 42001 Annex A.6.2.4 verification. Publishing both the pilot and the full 102-incident verification gives engineers transparent evidence for why human review remains mandatory.
What this means for support KPIs
A support and services function is judged on outcomes and return. It is judged on how the team performs, develops and holds together, and on what the customer feels. This study measures the agent. It does not measure the function. For each KPI, I note what the study tells me, what it does not, and how the gap gets closed.
Outcomes. The leading indicator is here: a usable draft on 90% of incidents and a wrong one on 10%. The lagging indicator is time to resolution on the live queue. We track it, and this study does not report it. The 10% is what protects it. The supervision model exists so that a wrong draft costs the engineer minutes and never costs the customer hours.
Return. The cost side is measured: turns, tokens and about six minutes of wall clock per incident. The benefit side is engineer minutes saved per usable draft, minus minutes lost per wrong one. A wrong path costs more than a right one saves. That asymmetry is why halving the wrong rate mattered more to me than the token bill. We accept the cost of 3.8 Flash for now. The full return needs a queue measurement, and it is the next report.
Team performance and development. The largest field study of AI assistance in technical support is by Brynjolfsson, Li and Raymond (2025). It found the gain was distributional. Resolutions per hour rose 13.8% overall and 34% for the least experienced agents. The most experienced gained nothing and showed a small decline. I expect the same shape on our queue, so we will measure by tenure band and not on the average. Engineers see evidence and never a confidence badge, and that choice is deliberate. Reading the evidence is the skill we want the drafts to build.
Team cohesion. Every engineer receives the same draft for the same incident. The assessment becomes a shared object to argue with, and not a private shortcut. Where two arms disagree, the team sees the disagreement. The risk is the senior engineer who gains nothing from a draft and resents reviewing it. The field study says that risk is real, and adoption by tenure is the number to watch.
Customer satisfaction. In the same field study, post-chat survey NPS remained flat while chat-text sentiment improved (Brynjolfsson et al., 2025). Our architecture keeps all agent drafts internal so an engineer verifies every finding before replying to a customer. We track CSAT by incident type alongside our supervision controls to verify service quality.
Verification gates and methodology checks
- Full-pagination trace audit. An initial single-page telemetry query captured only 22 of 32 early 3.8 Flash traces completely. Enforcing full pagination across all 510 runs confirmed that 0 of 510 context curves descend across turns.
- Quadratic turn-cost model validation. On the truncated subset, an early estimate of 40.6 turns per incident diverged from the closed-form token model by 23%. Across the complete cohort, the 37-turn median fits the closed-form quadratic model within 8%.
- Prompt-neutral tool batching check. Because the system prompt sequences opening diagnostic checks, we isolated tool-batching measurements to mid-investigation turns where the prompt is silent. The batching difference held across those turns.
- Client concurrency verification. We verified that parallel tool execution remained enabled in the client harness, and confirmed 3.8 Flash issued concurrent calls in 40 turns.
- Estimator standardization. Every chart and table explicitly separates medians from means so skewed tail runs do not distort cross-model comparisons.
- Dual-endpoint reporting. Every table and figure reports the pre-registered primary endpoint (exact match) alongside the operational co-endpoint (usable root-cause rate).
- Judge panel tie-break verification. Auditing the two-judge aggregation logic identified a rounding boundary that suppressed split-panel PARTIAL labels. We standardized the tie-break rule and re-scored all runs before analysis.
Hypotheses falsified by the benchmark
- Self-reported confidence as an automation gate. Expanding the evaluation set from the August pilot to the full benchmark ruled out gating on 3.6 Flash self-reports.
- Mid-run context pruning in 3.8 Flash. Full trace pagination confirmed that context grows monotonically across turns rather than pruning mid-run.
- Monotonic over-claiming across Flash releases. We tested whether 3.8 Flash would claim "grounded" at a rate between 3.6 and 3.7. It claimed less often than both.
- Uniform tail-latency reduction in 3.8 Flash. While 3.8 Flash matches 3.6's p90 latency, quantiles above p90 take longer due to higher turn counts.
Pressure tests
| claim | test | result |
|---|---|---|
| 3.8 Flash more usable than Claude Opus 4.6 | paired McNemar on 87 incidents | 14 to 4, mid-p 0.019; Holm across four comparisons: all pass |
| Same claim on exact match | same | 12 to 8, mid-p 0.38, a tie |
| Self-report can gate the queue | AUROC, cluster permutation, 10,000 reps | 0.460, p=0.315; flag alone 0.518, p=0.661. No |
| Cost gap is turns, not calls | paired turn and call counts | more turns in 95 of 102; median call difference +4 |
| Serial calling is our prompt | five tools the prompt never sequences | 0 of 1,929 batched vs 625 of 1,226 for the control |
| Serial calling is our harness | client path check; concurrent-turn count | path works; 40 concurrent turns observed |
| 3.8 Flash is slow per token | prefill slope, joint fit | 1.19 s per 100k, within 2% of 3.6 and 3.7 |
| Context is pruned mid-run | per-turn input series, 510 runs | 0 descend |
What this does not show
This is one workload, one domain and one harness. Every arm ran at its shipped provider default, with no thinking budget set on any of them. A thinking-level sweep is separate work and is not in this study.
There is one completed run per incident per arm, and runs move. When we reran one arm on 16 of the same incidents, 5 judged labels changed, 3 up and 2 down. Re-judging identical text changed 2 of 16. A single run is an estimate with a wide interval.
Two of 102 3.8 Flash runs hit a 12M-token cap on their first attempt and completed on retry, so the token figure is a floor. Token counts are raw context and not billed input. The traces carry no cache fields, and implicit caching is on by default, so billed cost is unmeasured on every arm.
The judge panel's two models are also two of the five arms. 3.8 Flash is not a judge. Dollar figures for the Flash arms in the 3.7 round use measured tokens at list price. The telemetry had no pricing rows for them.
Nothing here measures what happens to an engineer's own judgement after months of reading agent drafts. For a support leader that is the next question, and the published literature answers it least well.
Reproduce
The repository is private and will stay private, because the incidents are real customer diagnostic bundles and support tickets. What is public is this report, the figures it references, and numbers.json. That file holds every value printed here, so the text can be checked against one source. The method is described in full above. The pre-registration commits are timestamped in the private repository's history and can be shown on request. Customer diagnostic bundles and case records are never shared externally; only the aggregate metrics in numbers.json are published.
References
- Brynjolfsson, E., Li, D., & Raymond, L. (2025). Generative AI at Work. The Quarterly Journal of Economics. DOI.
- Chen, Y., Xie, H., Ma, M., Kang, Y., Gao, X., Shi, L., et al. (2024). Automatic Root Cause Analysis via Large Language Models for Cloud Incidents. Proceedings of ACM EuroSys 2024. DOI.
- Fagerland, M. W., Lydersen, S., & Laake, P. (2013). The McNemar Test for Binary Matched-Pairs Data: Mid-p and Asymptotic Are Better Than Exact Conditional. BMC Medical Research Methodology. DOI.
- ISO/IEC. (2023). ISO/IEC 42001 (2023): Information Technology - Artificial Intelligence - Management System. International Organization for Standardization.
- Kim, S., Moon, S., Tabrizi, R., Lee, N., Mahoney, M. W., Keutzer, K., & Gholami, A. (2024). An LLM Compiler for Parallel Function Calling. Proceedings of ICML 2024. arXiv.
- Xiong, M., Hu, Z., Lu, X., Li, Y., Fu, J., He, J., & Hooi, B. (2024). Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMs. Proceedings of ICLR 2024. arXiv.