Trust & transparency
Confidence states
Use when the agent is sometimes unsure and a confident-sounding wrong answer would cost the user something.
One claim rendered at three confidence levels. Low is a designed state.
Part of Trust & transparency. The stage where the answer has arrived and the user decides whether to believe it. These patterns show how the agent got there, what it read, and how sure it is. They matter most once people start acting on what the agent says.
Do
- Change the wording with the confidence. "Appears" and "may" are part of the design.
- Say what the confidence rests on: how many sources, and how fresh.
- Give low confidence a way forward: verify with live data, or see what is missing.
Don't
- Don't show a percentage. Three named levels are easier to act on.
- Don't hide low-confidence answers. Show them as a hypothesis.
- Don't use the error colour for the low-confidence banner. It is a caution, not a failure.
States
- High: The claim stated plainly, with a green dot and "High confidence · 3 corroborating sources".
- Medium: The same claim with a hedged word underlined in dots, an amber dot and a note that one source is stale.
- Low: A banner, "Low confidence: treat as a hypothesis", dimmed text, a red dot, and two actions: verify with live data and show what's missing.
- What's missing: A short list opens under the actions naming the evidence the agent does not have.
- Verifying: The verify button shows a loading state and reads "Checking live data…".
- Re-rated: When the check returns, the claim moves up to medium confidence and the low-confidence actions go.
Usage
import { ConfidencePattern } from "./halaska-kit";
<ConfidencePattern />
Built from
Button, Segmented Control, Typography
Related patterns
Halaska UI · Components · Patterns · Screens · Install