AI / Agent UX Design
Three distinct patterns; design demands differ. Identify which you're building first.
Three patterns
- AI as a feature inside a conventional UI — "Summarize this," "Draft a reply," autocomplete. UI is mostly conventional; AI is an action.
- AI as the primary interface — chat, agent, voice-led. The conversation is the product.
- AI as an invisible layer — ranking, classification, suggestion in the background.
The principles below apply across; the patterns at the end are pattern-specific.
Inputs to confirm
- Pattern (1, 2, or 3 above).
- Capabilities: what the model can actually do reliably; what it can sometimes do; what it can't.
- Failure modes: known weaknesses (hallucination rate, latency, context length, refusal patterns).
- Reversibility: can users undo what the AI does?
- Stakes: what's the worst-case if the AI gets it wrong (annoyance vs. data loss vs. financial harm)?
If the team is reluctant to share failure data, that's a finding — push.
Core principles (apply to all patterns)
1. Set expectations
- Tell users what the AI can and can't do in plain language, at the moment of use.
- Underclaim and overdeliver, never the reverse.
- For new capabilities, an inline example beats a description.
2. Make the AI accountable
- Show why: surface sources, signals, prior turns, or memory when feasible.
- Provide a way to correct or override every AI decision. Edit must always be available.
- Confidence cues: distinguish "I'm sure" from "I'm guessing" (dimmed text, "draft" badges, hedge language).
3. Handle failure gracefully
- AI will hallucinate, mis-classify, and misunderstand. Failure is the design, not the exception.
- Recovery paths: regenerate, try a different angle, skip / do manually, escalate to human.
- Never autoplay irreversible actions. Always confirm before send / save / delete / pay.
4. Preserve user agency
- Suggested ≠ done. Distinguish them. ("Draft saved — review and send," not autosent.)
- Easy off-switch for every AI-mediated feature.
- Minimize data collection. Personalize from explicit signals before implicit.
5. Label AI output
- Make it visible when content is AI-generated (badges, distinct typography, "draft" framing).
- For real-time generation, the streaming itself is a signal.
See references/11-designing-beyond-screens/ai-and-ux.md.
Pattern-specific moves
Pattern 1: AI as a feature
- Place the AI action where the user is already working (in the editor, next to the field).
- Two-step: propose then apply. Never apply silently.
- Loading state: show what's being done ("Summarizing 2,400 words…"), not just a spinner.
- Output: edit-friendly. The user should be able to revise without re-running.
- Empty state for the AI action: explain when to use it.
Pattern 2: AI as the primary interface (chat / agent)
Chat-specific:
- Streaming responses — feedback that work is happening matters more than total speed.
- Stop generating must always be available.
- Structured outputs when the answer is structured (lists, tables, code). Don't dump prose.
- Long answers: TL;DR at the top, then sections.
- Memory/context: show what the model "remembers" about the user, allow editing.
- Allow conversation forking / branching for exploratory work.
Agent-specific (multi-step, takes actions):
- Show the plan before acting. Especially for multi-step or destructive tasks.
- Confirm at each consequential step — name the action and ask before each external effect (send email, charge, delete).
- Status visibility: what is the agent doing right now? ETA where possible.
- Logs and traces: for power users, inspectable steps build trust.
- Recovery: clear path to undo or rerun a step. Silent agent failure destroys trust fastest.
- Boundaries visible: what the agent will / won't do, posted up front.
Pattern 3: AI as an invisible layer
- Onboarding signal collection — what minimum input gets a useful first page?
- Cold-start state — the empty / new-user state often determines retention.
- Explanation patterns — "because you liked X" / "trending near you."
- Control patterns — like/dislike, mute, "less like this," reset.
- Feedback loops: every signal must visibly affect the next view, or users stop signaling.
- Diversity by design: monitor that the system isn't narrowing too much (filter bubbles).
See references/11-designing-beyond-screens/algorithm-design.md.
Output
A design proposal that covers:
## Pattern and surface
[which of the three, where in the product]
## Capability framing
[what the AI does, what it doesn't, where shown]
## Conversation / action design
[per-pattern specifics]
## States
default · loading · streaming · stopped · error · ambiguous-input · low-confidence · refusal
## Trust and accountability
[explanations, sources, edit/override, confirmation gates]
## Failure modes and recovery
[per identified failure mode]
## Privacy and consent
[data collected, retention, controls]
## Open questions for model team
[where design constraints depend on model behavior]
Anti-patterns
- "Magic" UI that hides what the AI is doing — users distrust what they can't see.
- Auto-acting on suggestions without confirmation.
- Generative results presented as authoritative when they're guesses.
- "Beta" labels used to excuse poor failure modes.
- Surveillance personalization without consent.
- Anthropomorphizing the AI to the point users assume capabilities it doesn't have.
Working pattern with ML
- Design and ML co-design the prompts and the surface. The prompt is part of the design.
- Eval cases come from real user tasks; designers help write them.
- Treat model behavior as a designable surface — fixes can be prompts, UI guardrails, or model swaps.
Hand-offs
- Microcopy for AI features →
ux-writing skill.
- Ethics concerns (data, manipulation, consent) →
ethics-review skill.
- Documentation →
design-doc skill.