Lesson 14.08 · Phase 14 · Agent UX & Interfaces

Trust and explainability

Trust isn't a tone of voice. It's three things a user can check: where each claim came from, how often answers like this one turn out right, and what the agent actually did to get there.

Learning objectives

  • Attach a source to every claim, and verify each claim against the single sentence that should support it, before showing it.
  • Measure whether an agent's stated confidence means anything (a reliability table and expected calibration error), and correct it with histogram binning on held-out data.
  • Turn calibrated confidence into words, and abstain (hand over to a person) below a threshold.
  • Explain the answer from the run's trace: the steps it actually took, not a story written afterwards.

An agent answers: "Unused items can be returned within 30 days for a full refund [policy#returns]." It cites a real source, and it says it's 95% sure. Both the citation and the number look trustworthy, and the claim is wrong: the policy gives 30 days only for damaged items, and 14 for unused ones.

Loading the full lesson…