In the rapidly evolving world of artificial intelligence, the user experience (UX) of AI-powered applications is often a point of friction. Mike Christensen, a staff engineer at Ably, delivered a compelling presentation at AI Engineer Europe titled "Why Your AI UX Is Broken (and It's Not the Model's Fault)." Christensen argued that the common perception of AI UX issues stemming from flawed models is often a misdiagnosis, with the real culprits lying in the fundamental architecture and implementation of these systems.
The Default Architecture: HTTP Streaming
Christensen began by outlining the most common architectural pattern for AI chat applications: HTTP streaming. In this model, a client (like a browser) sends a message to an agent (server-side), which then prompts a large language model (LLM). The LLM generates an event stream, which is then sent back to the client via a single point-to-point connection. While this setup is straightforward to implement, Christensen highlighted its inherent limitations.
The primary issue with this default approach, according to Christensen, is that it creates a brittle and often frustrating user experience. When network connections falter or users switch between devices, the experience breaks down. He elaborated, "The default architecture is fundamentally oriented on the idea of a single client, a single connection, to a single agent." This one-to-one mapping creates significant challenges when dealing with the dynamic nature of user interaction in modern applications.
