AI features have two properties conventional software does not: they are slow in a way users can perceive, and they are sometimes wrong in a way that looks exactly like being right. The interface has to accommodate both honestly, and most of the difference between an AI feature people trust and one they abandon is interface design rather than model quality.

Streaming, and the metric that matters

A response taking eight seconds feels broken when it arrives all at once and acceptable when it starts arriving in four hundred milliseconds. Time to first token is the number to optimise and to monitor — total duration matters far less than users' reports suggest.

const response = await fetch('/api/assistant', { method: 'POST', body });
const reader   = response.body.getReader();
const decoder  = new TextDecoder();

for (;;) {
  const { done, value } = await reader.read();
  if (done) break;
  appendToken(decoder.decode(value, { stream: true }));
}

Practical details that get missed: handle a mid-stream error without wiping what was already rendered, keep the scroll position pinned to the bottom only while the user has not scrolled up, and render markdown incrementally without the layout jumping as blocks resolve.

Streaming is not always right. For structured output the user cannot read a half-formed JSON object, and watching fields appear is worse than a two-second spinner followed by a rendered result. Stream prose; buffer data.

Multi-step work needs real progress

An agent doing four things over twenty seconds should say so. A spinner for twenty seconds reads as a hang:

✓ Searched 1,240 help articles
✓ Found 4 relevant policies
⟳ Checking your account history…
  Drafting response

This is not decoration. It sets expectations about duration, it makes the system legible, and when the answer is wrong the user can often see which step went wrong — which turns an opaque failure into actionable feedback.

Show the working

For anything factual, the sources are part of the output:

  • Inline citations, attached to the specific claim rather than listed at the end. Users verify when verification is one click and do not when it is three.
  • Link to the source with the relevant passage highlighted. Dropping someone into a 40-page PDF is technically a citation and practically useless.
  • Say when nothing was found. "I could not find this in your documentation" is a good answer, and hiding that behind a plausible guess is the worst outcome available.

Prefer structural honesty over invented confidence scores. "Found in 1 of 4 sources" is meaningful; "87% confident" is a number the model made up.

Design for editing, not accepting

The single most effective safety pattern in AI product design is generating a draft the user reviews before it takes effect:

  • Draft, do not send. Email replies, messages, posts — generate into an editable field with the send button under the user's finger.
  • Diff, do not overwrite. When rewriting existing content, show what changed rather than replacing it wholesale.
  • Suggest, do not apply. Inline suggestions the user accepts individually beat a bulk transformation they must audit afterwards.
  • Undo everything. Any action taken automatically needs a visible, immediate reversal.

This converts the model's error rate from a correctness problem into an editing cost, which is a trade users accept readily.

Interruption is a feature

Users can tell within a sentence that a response is going the wrong way. Make stopping easy:

  • A stop button that is present throughout generation, not one that appears after three seconds.
  • Keep the partial output — it is often still useful, and discarding it punishes the user for stopping.
  • Allow redirection without starting over: "shorter", "more technical", "focus on the billing part" as one-click refinements.
  • Cancel the upstream request on the server too. A user who stopped should not still be paying for tokens.

Set expectations before the first use

An empty chat box is the worst possible onboarding: it implies the system can do anything, which guarantees the first attempt is something it cannot.

  • Show example prompts drawn from what the feature actually does well.
  • Say what it cannot do, plainly and early. Users forgive a stated limitation and resent discovering one.
  • Prefer a scoped interface to a chat box where the task is bounded. A "summarise this thread" button has no discoverability problem and no expectation gap.

Failure states

Design these deliberately, because they will happen:

  • Rate limited — say when it will be available, not "try again later".
  • Provider outage — degrade to the non-AI path if one exists, and say the feature is temporarily unavailable rather than showing an error.
  • Guardrail refusal — explain the category and offer an alternative, without revealing the rule.
  • Timeout — return the partial result if there is one.
  • Low-quality output — a one-click regenerate, and a feedback control that feeds your eval set rather than a void.

Feedback that goes somewhere

Thumbs up and down are worth collecting only if something consumes them. The implicit signals are usually richer: did the user send the draft unchanged, edit it heavily, regenerate, or abandon the flow entirely. Those tell you about quality without asking, and every negative signal is a candidate row for the eval set — which is how the interface and the model improve together rather than separately.

Related Service

🤖 Business Process Automation

Business process automation with n8n, Zapier, Make, and AI — connect your tools, eliminate repetitive work, and let workflows run themselves around the clock.

Explore Business Process Automation →
Share this article
X Facebook LinkedIn