What you get from this article
You will understand why agent confidence scores are systematically miscalibrated, what that miscalibration costs when you use those scores to gate autonomous decisions, and four concrete detection methods you can apply to agents already running in production. The examples come from production incidents in 2025 and 2026, not toy benchmarks.
The core problem: confidence is not probability
When an agent reports 90% confidence, the number means something specific in a correctly calibrated system: the agent should be right roughly 90 times out of 100. In production, that is frequently not what happens.
A 2026 study published at EMNLP found that agents succeeding only 22% of the time predicted 77% success, a systematic overconfidence pattern that held across all tested models, not just the weakest ones. The gap is not noise. It is a structural feature of how language models are trained and fine-tuned. Models are rewarded for producing useful-sounding output, and hedging reads as less useful. The result is that confidence scores correlate with fluency and internal consistency more than with correctness.
This matters most when confidence gates an autonomous action. If your routing logic says "escalate to human when confidence is below 0.7, otherwise proceed," you have built a gate on a number that does not mean what you think it means. The agent clears the gate, acts, and you find out later.
Silent failures in production agents follow exactly this pattern: the evaluation pipeline reports a healthy score, the deployment proceeds, and the failure accumulates in a queue no one is watching.
What production incidents actually look like
The miscalibration is not theoretical. Consider what happened to Expedia in March 2026: their hotel reservation agent reported high confidence in availability predictions that diverged from actual booking status. Hundreds of customers arrived to find no reservations. The agent had cleared every confidence threshold. It was wrong.
In January 2026, a Morgan Stanley trading agent executed $47 million in unauthorized trades based on high-confidence market predictions. A regulatory investigation followed. The confidence score did not predict correctness; it predicted that the model had generated a coherent-sounding rationale.
These are not edge cases caused by unusually weak models. They are examples of what happens when a well-functioning model is asked to operate outside the distribution it was calibrated on. In both cases, the model had no mechanism to represent genuine uncertainty about out-of-distribution inputs, so it reported certainty it did not have.
The NHS incident from February 2026 shows the same failure in a different domain: an AI triage agent at three London hospitals misclassified urgency for seven patients while reporting high confidence on each classification. The edge cases that caused the failures were precisely the ones that fell outside the distribution the agent had been evaluated on. The pilot was suspended after the treatment delays were documented.
Confidence scores being confidently wrong is a recognized failure mode, not a one-off. Understanding why requires looking at how agents are evaluated before deployment.
Why evaluation does not catch this
Standard evaluation measures accuracy: what fraction of responses are correct. That metric does not tell you whether the model's confidence correlates with its accuracy. A model that is 80% accurate but reports 95% confidence on every prediction, including the wrong ones, scores identically in accuracy terms to a model that is 80% accurate and correctly reports low confidence on the cases it gets wrong. Only the second model is usable for confidence-gated routing.
The metric you need instead is calibration, specifically Expected Calibration Error (ECE). ECE groups predictions into confidence buckets, say 0.6 to 0.7, 0.7 to 0.8, and so on, and measures how far the actual accuracy in each bucket deviates from the midpoint of the bucket. A well-calibrated model in the 0.8 to 0.9 bucket should be right 85% of the time. If it is right 42% of the time, the ECE surfaces that gap; accuracy alone does not.
Calibrated confidence is not the same as correctness is worth reading in full if you are building decision models on top of agent outputs.
An additional problem: 25.9% of AI product companies report having no explicit evaluation criteria at all, according to a December 2025 survey of 27 AI product companies. Teams that lack a framework for measuring accuracy are unlikely to be measuring calibration.
Four detection methods
1. Compute ECE on a labeled holdout set by input category. Split your evaluation data by the input types your agent will encounter in production, by domain, task type, or input length. Calculate ECE per category. A model can be well calibrated on average but badly miscalibrated on a specific subset that happens to be your most consequential use case.
2. Run pass-at-k trials and compare predicted confidence to observed success rate. Ask the agent to complete the same task ten times with the same input. If it predicts 90% success but succeeds 4 times out of 10, you have a direct calibration measurement. Pass-k evaluation and production variance covers this method in detail.
3. Flag confidence scores that are suspiciously uniform. A model that reports 0.91 on nearly every prediction is not calibrated; it has learned to output a confident-sounding number. Log the distribution of confidence scores across a production sample. High clustering near the top is a signal that the number is decorative.
4. Instrument at the step level, not just the final output. Step-level evaluation catches compound failures that the final output score misses entirely. Prefactor records spans at each tool call and decision point, which means you can score confidence at the step where the agent chose a path, not just at the step where it delivered a result. That lets you see whether confidence at step 3 predicted correctness at step 5.
Detecting silent failures in agent responses and evaluation passing in development but failing in production are worth reviewing alongside these methods, since they address the monitoring infrastructure these detection methods require.
Confidence thresholds need empirical grounding
If you have a routing rule that uses a confidence threshold, that threshold should be derived from your own calibration data, not from an intuition that 0.8 sounds reasonable. Run the detection methods above, find the confidence band where your agent's actual accuracy matches the stated confidence, and set your threshold at or above that band. Recalibrate after model updates. Benchmarking across model versions and deployment conditions is a useful reference for building that recalibration cadence.
Autonomous background agents and any agent operating in multi-agent orchestration are most exposed here, because the confidence score from one agent often feeds directly into the decision logic of the next. Miscalibration compounds.
Related reading
- Multi agent coordination creates new reliability and evaluation requir
- Evals vs observability watching your agents is not evaluating them
- Agent consistency pass k evaluation production variance
- Agent evaluation in production what to measure and how to prove it
- Canary evaluation silent drift production agents
- Cascade evaluation step level failure detection production agents
- Cascading failure evaluation multi step agents
Where to start
Measure ECE on your highest-stakes agent before you adjust any thresholds. If you do not have labeled production data, the pass-at-k method requires only the agent itself. Both methods take less time than a post-incident review.
Start evaluating your agents or read the docs to see how Prefactor instruments spans and scores calibration alongside quality metrics.
