Bad Smells in LLM UI Design and How to Avoid Them

Identify design bad smells in LLM interfaces that confuse users and erode trust, and offer ideas for avoiding them.
Drawing on the metaphor of "code smells" from software engineering, the article proposes the concept of "LLM UI bad smells," referring to interface patterns that confuse users, erode trust, or expose design flaws. The author outlines three typical problems: giant blank input boxes create a "universal promise" but impose cognitive burden; streaming output lacking status indicators and interruption controls causes anxiety; and answers lacking source citations and uncertainty markers create false certainty. To address these pitfalls, the article proposes three avoidance principles: proactively make model capability boundaries visible, design uncertainty into the interface, and leave room for interruption and correction. The core conclusion is that the common root of the problem lies in treating LLMs as traditional software interfaces and ignoring their essential nature of uncertain output and open-ended interaction.
What Are "Bad Smells" in LLM UI?
In software development, "code smells" refer to surface symptoms that hint at deeper problems. This metaphor has now been extended to the interface design of LLM products—LLM UI Smells refer to interface patterns that confuse users, erode trust, or expose design flaws.
This concept sparked discussion on Hacker News, where the post received 103 points and 58 comments, indicating that many developers and product managers have encountered similar frustrations. Although the original article did not elaborate on specific items, drawing on the direction of community discussion, we can outline the typical characteristics of these design problems and how to address them.
The term "code smells" originates from the systematic exposition in Refactoring by Martin Fowler and Kent Beck. It is not a bug, but a recurring symptom in code that points to structural problems—such as duplicated code, overly long functions, or oversized classes. When transferred by analogy to the field of interface design, concepts like "affordance" and "signifiers" proposed by Donald Norman in The Design of Everyday Things are also often used to explain how interfaces mislead users. LLM UI Smells borrows this metaphor and likewise emphasizes symptoms rather than the flaws themselves: a giant blank input box does not throw an error, but it continuously creates cognitive burden and erodes user trust over time. It is precisely these "hidden costs" that require the lens of bad smells to identify.

Common LLM UI Bad Smells
The "Universal Promise" of the Input Box
Many LLM products turn the input box into a huge, blank field, implying "you can ask anything." This design appears free but actually creates cognitive burden for users—they don't know what to type, what format to use, or what results to expect. When users tentatively enter something, they often fail to get the expected feedback, and trust erodes accordingly.
A more reasonable approach is to provide example prompts, scenario-based guidance, or dynamically adjust the placeholder text of the input box based on context, so that users have a clear expectation of the capability boundaries.
Anxiety Induced by Streaming Output
Character-by-character streaming output is a signature experience of LLM products, but poor design can backfire. For example, if no status indicator is shown during output, users cannot tell whether the model is thinking, stuck, or finished; or the output speed is so fast that users cannot keep up with reading; or after an interruption, the interface state becomes chaotic.
Good practices include: clear generation status indicators, controls that can be stopped at any time, and clear visual feedback marking "answer complete" after streaming ends.
Streaming output (streaming) relies on server-side push technology, with typical implementations including SSE (Server-Sent Events) and HTTP-based chunked transfer encoding. The model generates token by token, and the front end renders each incremental piece of text as soon as it is received, resulting in a "typewriter effect" experience. This mechanism itself is intended to shorten the time to first token and alleviate waiting anxiety, but precisely because the output is stretched out over time, the interface takes on new responsibilities—it must continuously let the user know that "the system is still working." Without loading indicators, pause/stop controls, or completion state markers, streaming can actually be more unsettling than a one-shot return. This is the technical root of this bad smell.
Answers Lacking Traceability
When an LLM gives a seemingly authoritative answer, users often cannot determine what it is based on. If the interface only displays the final text without providing sources, citations, or confidence indicators, it creates a false sense of certainty. This is especially dangerous in scenarios requiring fact-checking.
Traceability is particularly important in Retrieval-Augmented Generation (RAG) systems. RAG allows the model to first retrieve relevant passages from an external knowledge base and then generate answers based on those passages, so in theory every sentence could correspond to some source document passage. However, the hallucination problem—where the model generates plausible content without factual basis—is especially prominent in pure generation mode and cannot be completely eliminated even in RAG. If the interface does not display citation sources, document passages, or confidence levels, users cannot distinguish between "verifiable" and "model fabrication," and false certainty arises. Components such as citation annotations, source hover previews, and low-confidence warnings are precisely what transparently expose the internal structure of RAG to users.
How to Avoid These Design Pitfalls
Make Capability Boundaries Visible
The core challenge of LLM UI is managing expectations. The interface should proactively communicate what the model can and cannot do, rather than letting users learn through failure. You can use brief scenario examples on first use, or provide shortcut command entries near the input box.
Design Uncertainty into the Interface
Since LLM output is inherently uncertain, the interface should not pretend it is certain. Through wording, visual hierarchy, citation annotations, and other means, the message "this is a model-generated conjecture" can be conveyed to users. This is not weakening the experience but laying the foundation for long-term trust.
Leave Room for Interruption and Correction
User interactions with LLMs rarely succeed on the first try. The interface needs to support convenient follow-up questions, corrections, and regeneration, so that users feel in control of the conversation rather than being held hostage by a single output result.
Insights from Community Discussion
The heat of the 58-comment discussion on Hacker News shows that LLM UI design has become a widely followed practical issue. Developers repeatedly step into similar pits in actual products, and the common root of these problems lies in: treating LLMs as traditional software interfaces and ignoring their two essential characteristics—uncertain output and open-ended interaction.
The key to avoiding LLM UI bad smells is not adding more controls, but rethinking how the interface can honestly express the model's capabilities and limitations.
One-line Summary
Identify design bad smells in LLM interfaces that confuse users and erode trust, and offer ideas for avoiding them.
Paragraph Summary
Drawing on the metaphor of "code smells" from software engineering, the article proposes the concept of "LLM UI bad smells," referring to interface patterns that confuse users, erode trust, or expose design flaws. The author outlines three typical problems: giant blank input boxes create a "universal promise" but impose cognitive burden; streaming output lacking status indicators and interruption controls causes anxiety; and answers lacking source citations and uncertainty markers create false certainty. To address these pitfalls, the article proposes three avoidance principles: proactively make model capability boundaries visible, design uncertainty into the interface, and leave room for interruption and correction. The core conclusion is that the common root of the problem lies in treating LLMs as traditional software interfaces and ignoring their essential nature of uncertain output and open-ended interaction.
Related articles

Should You Flake on a Friend? Five Questions to Help You Decide
Should you cancel plans with a friend? Vox's Allie Volpe offers five weighing questions: who you're flaking on, the occasion, how much trouble it is to attend, whether your reason holds up, and the consequences—helping you make a more responsible decision before you send that message.

OpenSSH Adds Support for Composite ML-DSA 87 / ECDSA p384 Keys
OpenSSH commits support for composite ML-DSA 87 and ECDSA p384, combining post-quantum signatures with classic elliptic curve algorithms.

Why Editors Should Reject Bad AI-Written Academic Papers
Hacker News viewpoint argues editors should reject bad AI-written academic papers based on manuscript quality, not AI usage. Analysis of this stance's rationale, practical challenges, and the quality baseline in academic publishing.