Confidence & Uncertainty
How do you communicate what the agent is sure about?
The quick read · Pattern 03
The 60-second version
Make uncertainty useful to the person deciding what to do next. Distinguish a sourced fact from an inference, a missing input and a conflict between sources, rather than attaching one impressive-looking score to everything.
- Link factual answers to the evidence they use.
- Explain the assumptions and missing information behind recommendations.
- Put conflicting sources side by side and ask for clarification.
Watch for: A model’s confidence is not measured accuracy. Calibration needs reviewed outcomes, a defined sample and a task-specific interpretation.

The Problem
Every agent output carries a confidence level, but almost no product communicates it honestly. The agent either whispers everything in hedging language until users ignore it, or it states everything with the same breezy authority — and when it's wrong, the user feels lied to. The design challenge isn't "should we show confidence?" It's: how do you communicate a spectrum of certainty in a way that changes user behaviour at the right moments — trusting the agent when it's right, double-checking when it's shaky, and escalating when it doesn't know?
I've been designing consequential decision surfaces for 25 years. The Evidence pillar in my Accountability Lab framework demands that every piece of evidence presented to a decision-maker carries a quality signal: where it came from, how reliable it is, what's missing. Confidence is just the Evidence pillar applied to the agent's own outputs. If your agent presents a £200K sourcing recommendation with the same visual weight as a guess about next quarter's headcount, you've failed the person who has to sign off on it.
The Anti-Pattern
The Uniformly Confident Agent. An answer based on a direct source and one based on a guess look equally authoritative.
The Perpetual Hedger. If every answer uses the same hedge, the reader cannot tell ordinary caution from a material gap in evidence.
The Probability Dump. An unexplained probability can look precise while leaving the reviewer unsure what was measured and what action is appropriate.
The Ghost Text Ambiguity. Different suggestion styles can imply different confidence without giving the user enough evidence to judge either.
The Missing Uncertainty on Action. An agent picks one of several contacts with the same name and proceeds without asking which person the user meant.
The common thread: confidence is treated as an internal model property rather than a designed communication. The model has uncertainty — every model does. The failure is in the translation layer between model state and user understanding.
The Pattern
Two Types of Confidence (And Why You Must Separate Them)
Most implementations conflate two fundamentally different things:
Model Confidence — how certain the model is about its own output. Token-level probabilities, logit scores, entropy across the output distribution. This is the model saying "I am 94% sure the next token is 'Paris'" or "I'm choosing between three very different completions here."
Outcome Confidence — how likely the agent's action is to achieve the user's actual goal. This depends on world-state knowledge, task complexity, the user's specific context, and factors the model often can't assess. An agent might be 99% confident in its code suggestion (high model confidence) while the suggestion is completely wrong for the user's architecture (low outcome confidence).
The design rule: never show model confidence to users. Always translate to outcome confidence. Users don't care that the model's softmax distribution peaked at 0.94. They care whether the answer will actually work. Your confidence layer must bridge this gap.
The Confidence Spectrum: Five Tiers
Design confidence as five behavioural tiers, not a percentage. Each tier triggers a different agent behaviour and a different visual treatment:
| Tier | Internal Score | Agent Behaviour | Language Pattern | Visual Signal |
|---|---|---|---|---|
| C1: Certain | >0.95 | Act or state directly | "Your flight is at 3:15pm." | Standard text, no qualifier |
| C2: Confident | 0.80–0.95 | State with light sourcing | "Based on the rate card, the price is £82K/year." | Source link inline |
| C3: Probable | 0.60–0.80 | Suggest with visible reasoning | "I think the best approach is X — here's my reasoning." | Amber indicator + expandable reasoning |
| C4: Uncertain | 0.35–0.60 | Present options, ask for input | "I found two possible matches. Which did you mean?" | Options card with comparison |
| C5: Low/Unknown | <0.35 | Defer to user or external source | "I don't have enough information to recommend this. You'll want to check with [source]." | Red/grey indicator + explicit deferral |
The thresholds are not fixed. They're calibrated per domain and per consequence. A C3 threshold for "what restaurant should I book?" might be 0.55. A C3 threshold for "what medication dosage?" should be 0.90. The confidence tier is a function of both the model's internal score AND the action's blast radius. This is where the Evidence pillar connects: higher-consequence decisions require higher confidence thresholds before the agent acts autonomously, and the evidence surface must be richer.
Confidence in Language: The Graduated Hedge
The most powerful confidence signal isn't visual — it's linguistic. How the agent phrases its output encodes more confidence information than any icon or colour. But the hedging must be calibrated, not performative.
C1 (Certain):
"Your meeting with Sarah is at 2pm tomorrow in Room 4B."
No hedge. No "I believe." Direct statement. Reserve this for verifiable facts the agent retrieved from a structured source.
C2 (Confident):
"Based on your rate card, the annual price for Acme would be £82,400. I applied the 12% volume discount from their contract."
Light sourcing. The agent names where it got the information. The confidence signal is in the attribution: "based on X" tells the user there's a traceable source.
C3 (Probable):
"I think the best supplier for this is Meridian — they had the lowest total cost in the last three RFQs for similar items. But their lead time has been inconsistent lately, so you might want to check current availability."
Explicit hedging with reasoning. The agent says what it thinks AND why it's not fully sure. The hedge is informative: "their lead time has been inconsistent" is a reason for uncertainty, not a vague "I could be wrong."
C4 (Uncertain):
"I found two contacts named 'Mike' in your address book: — Mike Chen (Product team, messaged last Tuesday) — Mike Torres (Client at DataFlow, messaged in September) Which Mike did you mean?"
No pretence of knowing. The agent presents what it found, surfaces the distinguishing information, and asks. The confidence signal is structural: options, not assertions.
C5 (Low/Unknown):
"I don't have access to DataFlow's current pricing — their portal requires a login I don't have. You'll need to check their supplier portal directly, or I can email your contact there to request an updated quote."
Explicit deferral with a next step. The agent doesn't guess. It names what it can't do, why, and what the user's options are. This is radically more useful than hedged guessing.
Visual Encoding: Colour, Iconography, and Progressive Disclosure
Visual confidence signals work in layers. Not everyone reads every word — some users scan visually. The signals must be redundant (colour + icon + language) so they work across scanning modes:
Colour (background tint on the agent's response block):
- C1–C2: No tint. Standard background. Confidence is the default — don't visually mark every response.
- C3: Subtle amber left-border (4px). Not a warning — a "check this" signal. Think VS Code's yellow squiggly: it means "probably fine, but look."
- C4–C5: Amber or red left-border (4px) with a light background tint.
Icon (leading the response):
- C1–C2: No icon. Again — high confidence is the default state, not a celebration.
- C3: ◐ (half-circle) or ⚠️ — "partial confidence."
- C4: ◑ (quarter-circle) or ❓ — "needs your input."
- C5: ○ (empty circle) or 🚫 — "I can't do this reliably."
Progressive disclosure of reasoning:
- C1–C2: Source available on hover or click. Don't clutter the happy path.
- C3: Reasoning visible by default in a collapsed-but-labelled section: "📊 My reasoning (click to expand)."
- C4–C5: Reasoning and alternatives are the primary content. The options card IS the response.
The critical rule: never use percentages in the UI. "87% confident" means nothing to a procurement manager deciding whether to send a contract. "I'm fairly sure this is right based on the rate card, but the discount structure changed last month — you might want to verify" means everything. Numbers create false precision; language creates actionable understanding.
The Confidence-Action Matrix
Confidence tiers connect directly to the Approval Gates pattern (AX Pattern #2). The agent's confidence level should influence which gate fires:
| Confidence | + Low Consequence | + High Consequence |
|---|---|---|
| C1–C2 | Act autonomously (L0) | Act → Notify (L1) |
| C3 | Act → Notify (L1) | Soft Gate (L2) with reasoning shown |
| C4 | Soft Gate (L2) | Hard Gate (L3) with options |
| C5 | Ask user (present options) | Hard Gate (L3) + explicit uncertainty flag |
This matrix means the same agent action can trigger different approval levels depending on how confident the agent is. "Send this email" at C1 confidence goes straight out (low consequence) or gets an L1 notification (high consequence). "Send this email" at C4 confidence pauses and shows you the draft with alternatives, regardless of consequence level. Confidence modulates the gate.
The Calibration Problem (And How to Solve It)
The hardest problem in confidence UX isn't display — it's calibration. An agent that says "I'm 90% sure" but is wrong 40% of the time is worse than one that says "I don't know." Overconfidence is the most dangerous failure mode because it actively trains users to trust bad outputs.
Calibration means: when the agent signals C2 (80-95% confidence), it should be correct 80-95% of the time. Not 60%. Not 99%. The confidence signal must match the actual accuracy rate.
How to build calibration:
Track confidence vs. outcome. Every agent output with a confidence tier must be loggable, and outcomes (user accepted, user edited, user rejected, downstream failure) must be recorded. This is the Accountability Lab's Evidence pillar in action — the Eval Kit I've published tracks exactly this: does the evidence quality match the decision quality?
Calibration dashboard. Show developers (not end users) a reliability diagram: for all outputs the agent tagged as C2, what percentage were actually correct? If the agent is systematically overconfident (says C2, is right 65% of the time), you need to either retrain the confidence model or shift the tier thresholds.
Per-domain calibration. An agent might be well-calibrated on email drafting but overconfident on financial analysis. Confidence thresholds should be domain-specific, not global.
The honesty incentive. The system should reward accurate confidence signals. If an agent consistently signals C3 for things it gets right 95% of the time (under-confident), the UX suffers — users verify things they didn't need to. If it signals C2 for things it gets right 70% of the time (over-confident), trust erodes. Both directions are harmful, but overconfidence causes more damage than underconfidence because it leads to undetected errors. When in doubt, design toward the cautious tier.
Annotated Wireframe Description
Primary View: Agent Response with Confidence Signals
-
C1 · sourced fact
£340,000/year × 3 years = £1,020,000 total. Source: signed contract.
-
C3 · recommendation with missing context
A 15% renewal discount is a proposal, not a fact.
- Basis
- 6 comparable renewals averaged 14.8%; usage fell 20%; expiry in 45 days; rate-card ceiling 20%.
- Missing
- Latest NPS score — check with Customer Success before finalising.
-
C4 · conflicting sources
Which source is current? The agent pauses rather than guessing.
- Contract v2
- Net-30
- Sarah’s email · 3 October
- Net-45 agreed as part of renewal
- Inspect contract
- Inspect email
- Clarify with Sarah
Layout notes:
- Sourced facts identify their evidence without a warning treatment.
- Recommendations expose assumptions and missing inputs. The example names the missing NPS score and the person who can check it.
- Conflicting sources remain separate, with a clarification route. The agent does not turn a plausible interpretation into a fact.
- These monochrome wireframes use explicit labels. A product may add colour and icons, provided they reinforce the text rather than replace it.
Secondary View: Confidence Calibration Dashboard (Developer/Admin)
-
Atlas · illustrative 30-day review
Define the review method and sample before interpreting these rates. Tier labels alone are not a calibrated probability.
- C1 · 1,204 signals
- 98.7% reviewed accuracy
- C2 · 847 signals
- 88.1% reviewed accuracy
- C3 · 312 signals
- 71.2% reviewed accuracy
- C4 · 156 / C5 · 43
- Not scored here: a human chose among options
Key design details:
- The example shows a tier-by-tier review summary. A fuller calibration view can plot predicted probability against reviewed accuracy; points above the diagonal indicate underconfidence and points below indicate overconfidence. The summary alone is not that plot.
- C4 and C5 tiers aren't measured by "right/wrong" — the agent presented options and the user chose. Success at C4 is "did the user have the information they needed to choose well?" — a different metric.
- Use reviewed errors to decide what to investigate next. Changing thresholds requires a defined evaluation and a separate decision; aggregate accuracy alone is not enough.
Design in practice
In a fictional supplier comparison, the agent has direct quotes for two options but only a stale catalogue price for a third. It can show the source and freshness beside each figure, qualify the ranking, and ask the user before acting on a choice that depends on the stale value.
Implementation Notes
Confidence scoring pipeline. You need a three-stage pipeline:
Model confidence extraction. If the model exposes probabilities or similar signals, treat them as model features. Evaluate outcome confidence separately using evidence quality and performance on representative tasks.
Outcome confidence estimation. A separate model or heuristic that translates model confidence into outcome confidence. Inputs: model confidence score, domain (email, finance, code, etc.), consequence level, data source quality (verified document vs. web search vs. no source), and historical accuracy for this agent in this domain.
Tier mapping. Map the outcome confidence to a tier (C1-C5) using domain-specific thresholds. Store the tier alongside the agent output for calibration tracking.
Data model for confidence-annotated outputs:
{
"output_id": "out_9k3m7x",
"agent_id": "agent_atlas",
"content": "I think a 15% renewal discount makes sense...",
"confidence": {
"model_score": 0.82,
"outcome_score": 0.68,
"tier": "C3",
"tier_reason": "probable_based_on_similar_accounts",
"domain": "pricing_recommendation",
"data_sources": [
{"type": "structured", "name": "rate_card_v4.2", "reliability": "high"},
{"type": "historical", "name": "6_similar_renewals", "reliability": "medium"},
{"type": "missing", "name": "current_nps_score", "impact": "moderate"}
],
"gaps": ["NPS score unavailable", "Q4 usage data not yet final"],
"consequence_level": "medium",
"calibration_eligible": true
}
}
Note the separation of model_score and outcome_score. The model was 82% confident in its token output; the outcome score — factoring in the missing NPS data and moderate consequence — dropped it to 68%, which maps to C3. The gaps array is critical: it lists what the agent doesn't know, which drives the "what I'm not sure about" section in the UI.
Calibration tracking. Every confidence-annotated output needs an outcome signal:
- User accepted as-is: Likely correct (weak positive signal).
- User edited then used: Partially correct (calibration data: what was changed?).
- User rejected: Wrong or unhelpful (negative signal).
- Downstream failure: The output led to a problem discovered later (strong negative signal).
These signals feed the reliability diagram and threshold adjustment engine. Store them in a calibration table and compute weekly reliability statistics per tier per domain. When a tier's actual accuracy drifts more than 10% from its target range, surface a threshold adjustment recommendation.
The overconfidence trap in fine-tuning. RLHF and instruction-tuning systematically push models toward confident-sounding outputs because human raters prefer authoritative responses. This means the model's raw confidence is almost always over-calibrated. Your outcome confidence estimation layer must correct for this — apply a calibration curve learned from historical accuracy data, not the model's raw scores. Never trust the model's self-reported certainty without external validation.
Edge case: confidence on multi-step actions. When an agent performs a chain of steps (research → analyse → recommend), confidence should propagate. If step 1 was C2 and step 2 was C3, the final recommendation should be at most C3 — confidence doesn't improve through a chain. Display the weakest-link confidence and let users expand to see per-step confidence: "Overall: C3 (uncertain) — Research: C2, Analysis: C3 (limited data), Recommendation: C3."
Edge case: conflicting sources. When the agent finds contradictory information (like the Net-30 vs Net-45 example in the wireframe), confidence should automatically drop to C4 or C5 regardless of the model's internal score. Conflicting sources are an explicit uncertainty signal that overrides model confidence. The agent should never silently pick one conflicting source over another.
When to Use / When NOT to Use
Use Confidence Signals When:
- The agent's outputs directly inform decisions. Financial recommendations, medical suggestions, legal analysis, procurement decisions. When the user will act on the output, they need to know how much weight to give it. This connects directly to the Evidence pillar: the quality of the evidence must be visible to the decision-maker.
- The agent is operating near its capability boundary. Tasks that stretch the model's training data, require real-time information it might not have, or involve reasoning about domain-specific edge cases. The agent should know when it's less certain and show it.
- Multiple data sources with varying reliability. When the agent synthesises from a verified contract AND a web search AND an email thread, the confidence signals should reflect the source quality, not just the model's aggregated certainty.
- Consequential actions with Approval Gates (AX Pattern #2). Confidence tiers should modulate gate levels. A C4 agent recommendation on a high-consequence action should trigger a Hard Gate with the uncertainty explicitly surfaced in the approval screen's Evidence section.
- Users are calibrating trust with a new agent. During onboarding, visible confidence signals help users learn when to trust and when to verify. Over time, as calibration builds, you can reduce visual noise for C1-C2 outputs while maintaining signals for C3+.
Do NOT Use Confidence Signals When:
- The agent is performing deterministic operations. Mathematical calculations, database lookups against structured data, formatting conversions. These are either correct or buggy — confidence is the wrong frame. Show source attribution, not confidence.
- You can't measure calibration. If you have no mechanism to track whether the agent's confidence signals match actual accuracy, don't show them. Uncalibrated confidence signals are worse than no signals — they actively miscalibrate user trust. Ship confidence display only when you can also ship calibration monitoring.
- The task is exploratory or creative. When a user asks "brainstorm 10 names for my product," confidence is irrelevant. Creative tasks don't have a "right answer" to be confident about. Reserve confidence signals for factual, analytical, and action-oriented outputs.
- You'd end up marking everything the same tier. If your agent operates in a narrow, well-defined domain where it's consistently C1-C2, the confidence display is noise. A calculator doesn't need a confidence indicator. Only surface confidence when there's genuine variation in the agent's certainty across its outputs.
- As a liability shield. Adding "I'm not sure" to every response so you can say "we warned them" isn't confidence design — it's legal theatre. If your confidence signals are driven by legal rather than user needs, they'll be uniformly applied and universally ignored, like cookie banners.
The Asymmetry Principle
The most important design rule: overconfidence causes more damage than underconfidence. A C3 signal on a C1 output costs the user 30 seconds of unnecessary verification. A C1 signal on a C3 output can cause the user to act on shaky information without checking. The failure modes are not symmetric.
When in doubt, bias one tier down. When the consequence is high, bias two tiers down. When you can't measure calibration, don't show confidence at all — default to the language of C3 (suggest with reasoning) for everything. The worst case of universal C3 is that users verify more than they strictly need to. The worst case of universal C1 is that users trust things they shouldn't. One of those failure modes is recoverable. The other isn't.
This is the same principle behind the Accountability Lab's approach to evidence quality: it's better for a decision-maker to ask for more evidence than to make a decision on evidence that looked complete but wasn't. Confidence design is evidence design. Get it wrong and you've compromised every decision downstream.
This pattern connects directly to AX Pattern #2: Approval Gates — confidence tiers modulate gate levels, and the Evidence pillar demands that confidence be visible on every approval surface. It also builds on the Evidence pillar from my Accountability Lab framework: every agent output is evidence for a human decision, and evidence without a quality signal is evidence that can't be trusted. The most dangerous AI system isn't the one that doesn't know — it's the one that doesn't know it doesn't know, and has no way to tell you.