Shafeen Alam
Interpres case study
WritingExplainable AITrust patterns

Designing for calibrated trust in AI

The goal is not maximum trust. It is trust that matches what the system can support, so people rely on it when it is reliable and check it when it is not. Here is how that worked in an assistant for security analysts, and the rules I would carry to other products.

01 · The goal

An AI assistant earns its place in an analyst's day only if the analyst can tell when to rely on it and when not to. That is calibrated trust: reliance that matches what the system can actually support. Trusting too little means the tool is ignored. Trusting too much means it is misused, and in a security tool a confident wrong answer is worse than no answer at all.

So the goal was never maximum trust. It was trust that holds up when someone checks it.

How reliable it actually isHow much people rely on it over-trust: misuseda confident wrong answer gets acted on under-trust: ignoreda good answer gets thrown away calibrated
Calibrated trust is the diagonal: reliance rises and falls with what the system can actually support. The two failure modes sit on either side of it.

02 · Seven patterns that shipped

These came out of the Interpres assistant I designed for security analysts, from zero to Beta in two weeks. Each is something the interface does, not something the model promises.

ContextExposureAssetTechniquewhichever is activecontextinheritanceAssistantdocked in the investigationStructured cards, not prose“checking exposure data…”Search, Chat, bounded AgentEvidenceEvery claim sourcedlinks back to the sourceConfidenceNamed, with its basisand its limits statedRefusal and recovery“AI uncertain”names the gap, offers a next stepHuman confirmationOne action, one confirmimpact in the analyst’s termsTraceabilityEvery action loggedwith a recovery pathcan’t answerproposes
How the seven patterns fit around the docked assistant. This is a concept diagram of the pattern set, not a product screen.
PatternIn InterpresHow it was enforcedThe rule that travels
Context inheritanceThe dock inherits the active exposure, asset, or technique.The assistant received the current exposure, asset, or technique as structured context, so questions never started blank.A question never starts from nothing. The surface supplies the context.
Evidence and provenanceEvery claim is source-tagged, linked, and returns focus to the source.The response schema required evidence IDs, and post-processing rejected or flagged claims without sources.Every claim points to something the person can inspect.
Confidence and limitationsThe score is named, its basis shown, and its limits stated.A joint design and engineering contract defined the score, thresholds, and UI behavior together, and acceptance against overrides was monitored.Say what a number measures and what it misses.
Progress and latencyStreaming layouts and status messages under real latency.Streaming layouts and explicit status messages, such as “checking exposure data…”.Say what the system is doing while it works.
Refusal and recoveryAn "AI uncertain" state explains the gap and offers another question.Thresholds triggered the refusal path instead of generation, and the recovery prompts were designed, not left to the model.When it cannot answer, give a next step instead of a guess.
Human confirmationOne action, one confirmation, with the impact in the analyst's terms.The agent could only propose, and execution required a separate confirmation step.A consequential change stops and states what will change.
Result and traceabilityLogged actions with a recovery path.an audit log of confirmed actions.Show what happened, where it is recorded, and how to recover.

All seven shipped in Beta, though the fuller result view in the traceability pattern is still a concept. They are reusable patterns from one project, not patterns I have deployed in other products.

Still working on it fallback state with options to continue waiting or stop
Progress and latencyA slow query says it is still working and offers to wait or stop.
AI Uncertain state offering recovery paths: refine your question, or try an alternative query
Refusal and recoveryLow confidence returns recovery paths instead of a guessed answer.
Confirmation dialog warning that an action will modify firewall policy, with Confirm and Cancel
Human confirmationOne action, one confirmation, with the impact stated up front.
Three of the seven patterns as they appear in the product. See all of them in the case study.

03 · Confidence is a contract

Confidence was the hardest of these. A percentage is ambiguous until you say which thing it measures: model certainty, data quality, or the likelihood the recommendation is correct. So I treated it as three problems, not one label: what the score means, what evidence supports it, and what the interface does differently when the score is high or low.

Engineering had to own as much of that as design did. The definition, the thresholds and the behavior behind each state were decided together, with design and engineering tracks through five stages: frame, instrument, contract, validate and monitor.

85one number 1 · DefinitionWhat it measures 2 · EvidenceWhat supports it 3 · BehaviorWhat the UI does high: a faster pathlow: review required
A percentage is ambiguous until it answers three separate questions. The third is the one users feel: the same score changes what the interface lets them do.

04 · Measure behavior

A trust score you display is not the same as trust you have earned. The thing worth instrumenting is behavior: how often suggestions are accepted or overridden, which scores get ignored, and how people recover from errors. Blind acceptance and habitual dismissal both mean the number is not doing its job.

In the Interpres Beta, time to first insight went from 45 to 27 minutes and analyst trust from 62% to 81%, about 70% of analysts opened it daily, and 78% of evidence checks validated. Trust is the number I would defend, because it moved without the accuracy claim changing. These are Beta measurements from Mixpanel and OneStory, not a controlled study.

Time to first insight

Before
45 min
Beta
27 min

Analyst trust in AI output

Before
62%
Beta
81%
Beta measurements from Mixpanel and OneStory, not a controlled study.

05 · When it can act

The same rules apply when an assistant can act, not just answer. Keep the scope narrow, ask before anything consequential, state the impact in the person's terms, and make what changed easy to see and undo. In Interpres that meant one action and one confirmation, every time, and I cut multi-step autonomous execution on purpose, trading speed for trust.

Proposeagent suggestsConfirmperson decidesLogrecoverable a person decides here one action at a time cut: free-running agents
The agent can only propose. Execution is a separate step that stops for confirmation and writes to a log. I cut multi-step autonomous runs on purpose.

Show the basis. Let people check it. Keep them in control.

Read the Interpres case studyTry the interaction