Library
Every pattern, in the order I'd teach them.
Teardowns are sorted by collection, not by date. Start at the top of a collection and work down — or search, filter, and sort your own way.
65 patterns
The prompt surfaceHow the box asks for intent.
- 9 minThe composer at restWhat your input box says when no one is typing into it.
- 7 minThe suggestion chipA pre-written prompt the user can tap instead of type.
- 8 minThe context pillHow attached sources sit next to the cursor.
- 9 minThe slash command menuDiscoverable power, triggered by a single character.
- 7 minThe mention triggerUsing @ to invoke a scope, a person, or a tool.
- 7 minThe file drop zoneWhat happens the moment a file crosses the threshold.
- 8 minThe shortcut overlayTeaching the keyboard without a tour.
- 9 minThe capability inventoryA quiet list of what this product can actually do.
- 8 minKeyboard navigationThe composer a power user can drive without touching the mouse.
The responseHow the model performs the answer.
- 11 minThe streaming cadenceWhy your token rate is a design decision, not a backend one.
- 8 minThe thinking indicatorEverything you put on screen between enter and the first token.
- 10 minThe citation footerWhere the sources go, and how you know they back the claim.
- 9 minThe confidence gradientShowing uncertainty in typography, not in hedging prose.
- 8 minThe partial answerWhat the model does when it only half-knows.
- 8 minThe regenerate affordanceAsking for another take, without losing the first one.
- 10 minThe long-form spineWhat to do when the answer is longer than the screen.
- 9 minThe table responseWhen the right shape for the answer is rows and columns.
- 10 minThe ambiguity promptAsking a clarifying question without breaking flow.
- 8 minThe error surfaceWhen the model fails, don't pretend it didn't.
- 7 minThe empty-state answerResponding when there's genuinely nothing to say.
- 9 minThe Socratic checkWhen the model asks before answering.
Agentic flowsHow the model shows its work, in the world.
- 12 minThe plan previewHow to show the model's intent before it spends your time.
- 10 minThe tool call, visibleWhen and how to show the model reaching for a tool.
- 9 minThe interrupt handleHow the user stops a running agent without losing state.
- 10 minThe diff previewBefore-and-after for anything the agent is about to change.
- 8 minThe approval checkpointA pause-for-human-signoff, named and scoped.
- 8 minThe step receiptAn after-the-fact trail of what the agent actually did.
- 9 minThe rollback affordanceUndoing what the agent did, when undo is possible.
- 9 minThe rate-limit displayMaking invisible quotas visible without anxiety.
- 10 minThe model fallbackChoosing a cheaper model without surprising the user.
- 11 minThe macro recorderTurning a good agent run into a reusable recipe.
- 10 minThe cost tickerA running total the agent can't hide from.
- 11 minBackground task dockWhere long-running work lives while you keep typing.
Memory & contextWhat the model carries with it.
- 9 minThe context source trayA visible list of everything the model is reading right now.
- 8 minThe memory chipPersistent facts about the user, editable in one click.
- 8 minThe thread summaryCompressing a long conversation into something the user can scan.
- 10 minThe context handoffCarrying state between sessions, without magic and without loss.
- 9 minThe prompt history searchFinding the turn from last Tuesday in three keystrokes.
- 8 minThe session onboardingOpening a new thread with just enough of yesterday.
- 10 minBranching conversationWhen you want to try two versions of the same thought.
- 12 minThe knowledge mapA view of what the model has learned about you.
Trust & evidenceHow the model earns the reader's belief.
- 12 minThe reasoning traceShowing how the model got there, without overwhelming.
- 11 minData provenanceLinking every claim to the exact row it came from.
- 10 minThe counterfactual toggleLetting the user ask 'what if that input changed?'
- 9 minHedge calibrationSaying 'probably' in a way the reader can actually parse.
- 8 minAnswer pinningFreezing a turn so the model can't rewrite it later.
Multimodal & artifactsWhen chat isn't enough.
- 10 minThe voice composerDictating a prompt without losing the option to edit.
- 9 minImage annotationPointing at a screenshot without leaving the chat.
- 12 minThe canvas artifactGiving the model a second surface to build on.
- 10 minArtifact playbackScrubbing the history of a generated artifact.
- 11 minScreen contextLetting the model see what you see, with consent.
- 9 minRead-aloudText-to-speech that you can follow with your eyes.
- 10 minCross-app handoffPassing an artifact to the tool it wants to live in.
CollaborationWhen the session has more than one human in it.
OrchestrationHow many agents, at what cadence, inside what ceiling.
Dev & evalThe surfaces that make AI products debuggable.