Skip to content
All work

Case study

Aipalbot chat experience

An AI chat interface where replies stream in as they're written, earlier conversations are a click away, and code answers stay readable.

Client
Aipalbot
Period
2022 – 2023
Focus
AI · Conversational product
Illustration · the real product is private
monthly users
10,000+

01The problem

An AI chat product is judged by how the conversation feels. Answers need to appear as they're generated, long responses with code need to stay readable, people expect to pick up earlier conversations, and the connection to the models has to be reliable across web and mobile.

02My role

Frontend Engineer. I built the core chat experience and the real-time connection behind it.

03Approach

  1. Responses rendered token by token as the model generates them, so nobody waits on a blank screen.
  2. REST APIs and WebSocket connections to the AI models, for real-time communication that holds up.
  3. Conversation history, so people can return to earlier chats.
  4. Markdown rendering with code syntax highlighting, so long technical answers stay readable.
  5. Responsive, reusable UI components in Tailwind CSS, backed by tests.

04Impact

  • Higher request success rates between the app and the AI models.
  • More stable releases.

05Stack

  • React
  • Next.js
  • TypeScript
  • Tailwind CSS
  • Component libraries
  • REST APIs
  • WebSockets
  • Responsive design