03.2.8 · Skill in Interaction design

AI interaction design

Helping people work with uncertain output and stay in control of AI actions.

AI interactions need clear expectations about what the system can do and where it may fail. Design ways to inspect sources, edit suggestions, stop actions and recover from mistakes. Test whether users can complete their task and recognize a bad answer, as well as whether the interface feels easy to use.

Your status · AI interaction design

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

Why it matters for a product engineer

AI output is sometimes wrong, and it looks just as confident when it is. The interface has to make that safe: people must see what the system will do, judge it, and stay in control. For a product engineer the design is in the interaction, not in the model: what is a suggestion and what is done, and how easily a person can say no.

How to do it

  1. Tell people what the feature can do and where it fails, before they rely on it.
  2. Make the status of AI output visible. A suggestion should look different from accepted work.
  3. Make accepting a deliberate act, and rejecting cost nothing.
  4. Let people take part of an answer, ask for another one, or edit it.
  5. For actions with effects, such as sending, paying or deleting, show what will happen and ask before doing it. Make it possible to stop and undo.
  6. Show where an answer came from when people need to check it.

Common mistakes

  • Presenting a guess in the same style as a fact.
  • AI actions with effects that happen without a confirmation.
  • Only one answer, with no way to ask again or edit.
  • Hiding the AI, so people do not know what to check.
  • Copying a pattern from a lab’s product that changes every few weeks. Mamitsu’s maker notes these patterns are not settled yet.

Example

GitHub Copilot’s code suggestions are a clear pattern for uncertain output. A suggestion appears as grey text that is not yet code. Pressing Tab accepts it. Typing on ignores it. People can see other suggestions, accept part of one, and always edit the result. The suggestion never becomes code without a deliberate key press.

Flow

A code suggestion in GitHub Copilot, from grey text to code

SuggestDecideResultAcceptRejectYou typeCode or a commentGrey textA suggestion, not codeTabAccepted, still editableAnother oneNext suggestionKeep typingSuggestion goneSuggestDecideResultAcceptRejectYou typeCode or a commentGrey textA suggestion, not codeTabAccepted, still editableAnother oneNext suggestionKeep typingSuggestion gone

Accepting takes one deliberate key. Rejecting takes nothing at all.

ReportedGitHub Docs, 'Getting code suggestions in your IDE with GitHub Copilot'

Sources: Getting code suggestions in your IDE with GitHub Copilot (GitHub Docs) ↗ · Mental models for AI products (Google People + AI Research) ↗

Technical leverage

Build real interactions for streaming, citations, editing, interruption and recovery, so usability tests expose actual system limits.

Evidence of mastery

Put it into practice
Practice
Prototype an AI-assisted task with deliberately wrong, missing and delayed answers.
Artifact
A tested interaction flow showing how users inspect, correct and reject output.

What good looks like

  • Users can recognize the tested failures and complete the task safely.
  • Confidence claims reflect measured behavior; a fluent answer is not presented as certainty.

Use this evidence to assess your work. Your map status is a self-assessment, not a certification.

In practice

Real products

Resources

1
  • articleStart here
    Mental models for AI products ↗
    Google People + AI Research

    Helps you set expectations about AI capabilities and make the system's limits understandable to users.