Kishore Sudhamalla
Résumé

AI Lab

Twenty-two agent UX patterns, built to be clicked.

Every agent guideline says "check before acting if you're not sure." Nobody says how sure. Drag the slider and watch both failure directions happen.

01. Why these 22, and why three groups

The three groups are the order you move through one request.

Understanding, then acting, then trusting what came back, in the same order as any request to an agent.

Understanding

Comes first, before a single action is taken.

Acting

Everything from there: how it plans, how much it does on its own, what you see while it runs.

Trusting and recovering

What happens after. Can you fix what it gave you, tell why it said what it said, get out cleanly when it's wrong.

Twenty-two isn't a round number. It's how many distinct moments were left once I'd cut the ones that were really the same decision wearing a different label.

02. What I got wrong first

The first version asked about everything.

First version

Move this to tomorrow morning. Proceed?

YesNo

Notify Dana of the change. Proceed?

YesNo

Shipped version

Checking first

Which of these did you mean?

Fix formatting and typos Cut it down to one page Remove outdated figures

Same kind of request. The first version asked twice for things it was already right about. The shipped version only asks when it's actually unsure, and shows why.

That number is the whole design decision. Set it too low and the agent interrupts on things it was already right about, training people to stop reading its questions. Set it too high and it quietly guesses, and the first sign of a problem is the wrong outcome, not a question you could have caught.

Pattern 01 took the most rework. The first version asked for confirmation on almost everything, because "when in doubt, ask" felt safe. It wasn't: it just swapped "the agent got it wrong" for "the agent won't stop asking." I only saw that once I'd built the slider and dragged it down myself.

03. What already exists

I checked before building anything.

None of it lets you set the number yourself and watch what happens on either side of it. That's the one thing a written page can't do, which is why these are built as working code instead of another list.

Source What it optimises for What it leaves open

Google PAIR Guidebook

A shared vocabulary for AI teams: how to think about trust, explainability, feedback.

Written guidance, not something you can click through. You still have to invent the actual screen yourself.

Microsoft HAX Toolkit

Research-backed rules, each shown with a real example from a shipped product.

Each rule gets one screenshot. You can't actually use it or try it yourself.

Assorted "AI UX patterns" roundups

Quick, up to date surveys of what's trending in agent interfaces.

Written to skim, not built for testing a real number or a real piece of wording against an actual interaction.

04. The remaining patterns

Pattern 20 works the same way.

Evaluation and observability is a simple log of what passed, what failed and what finished halfway, built the way a tool called LangSmith shows engineers what happened. The hard part isn't deciding to track agent quality. It's making that record make sense to someone who isn't an engineer and can't read a raw log. Same problem Design Ops solves when it turns a system error into something anyone can act on.

The other twenty, each a click away in the demo above.

02 Plan and task decomposition Autonomy across many steps needs oversight, so the plan itself becomes the review surface. 20 Evaluation and observability The part almost nobody designs: how teams ship and maintain agent quality. 03 Tool use and orchestration Make invisible tool calls legible without burying the answer under them. 04 Autonomy and approval Too many gates and it feels broken. Too few and people get nervous. 05 Live execution states An agent that goes silent for ten seconds reads as broken even when it is working. 06 Multi-agent coordination Designing for a system of agents, not for one chat window. 07 Meaningful thinking steps An answer that takes 8 to 12 seconds needs real status, not a progress bar wearing words. 08 Connector and tool consent Granting an agent access to a tool is a different decision from approving one action, and it needs its own screen. 09 Background agents A task that only works while you watch it isn't actually autonomous. 10 Autonomy budgets An unattended run needs its own edge, not just a person's patience, to stop at. 11 Sub-agent delegation Delegating a piece of the work is not the same shape as a persistent team of named specialists. 12 Async notifications A finished run that only shows up if you happen to be looking isn't actually asynchronous. 13 Message editing and branching Editing something you already sent should fork the conversation, not erase what it already produced. 14 Latency and trust The same wait reads as broken, tolerable or fine, depending only on what fills it. 15 Editable outputs AI output is a draft to work on together, not an answer to accept or discard. 16 Transparency and provenance Cited answers get believed and uncited answers get second guessed. 17 Failure and recovery Most portfolios show the happy path. This shows what happens when it breaks. 18 Human handoff The seam between AI and a person should be a relay, not a reset. 19 Memory and personalization Persistent memory is a trust surface, not a feature flag. 21 Incomplete responses Failure is the easy case to design for. Most incomplete answers aren't failures at all. 22 Communicating accuracy A blanket low-confidence disclaimer erodes trust in the answers that deserved it least.

05. What this is and isn't

Every agent here is scripted.

The timing, the mistakes, even what it says back: all of it is written ahead of time, and the page says so. No real model is ever called. That's on purpose, not something I'm hiding.

Each pattern is really answering one question: what should the person see, decide and be able to undo at this moment. The answer is the same whether the model behind it is Claude, GPT or a scripted stand-in. Testing against a real model would teach me about that model. It wouldn't teach me anything new about the interaction design, and that's the only thing I'm arguing for here.

06. Reflection

What building 22 of these actually taught me.

  • Building these changed how I read PAIR and HAX. Both are good, careful documents, but neither forces you to pick an actual number or word. Writing 22 of these forced 22 real decisions, and I got more than a few wrong on the first pass.
  • If I had to cut this to 5: pattern 01 (the confidence threshold), pattern 20 (evaluation and observability), plus three from "trusting and recovering." That's the part most portfolios skip, and the part that decides whether anyone keeps using the thing after the first mistake.
  • Honest limitation: everything here is scripted, and the page says so. That's the right trade-off for judging the interface on its own, but it means I haven't tested these decisions against a model that can actually surprise me. Next step: wire a couple of these into a real model and see which of my "defensible" decisions survive.