Design an LLM chat product: real-time conversations with streaming responses, multimodal attachments, tool use, and memory across devices. Similar products include Claude, Gemini, and Copilot.
Suggested time: 90 minutes
Loading the workspace...
ChatGPT is not an LLM inference problem. That is the layer below, and it lives in its own service with its own editorial. This design is about the product layer that sits on top of a raw inference endpoint and turns it into a usable application: conversations, streaming, multimodal I/O, tool use, memory, safety, device sync. The inference service is a commodity dependency here. Call it, pay for tokens, get tokens back. Everything interesting in this design is about shaping user input into a model call and shaping model output into something a user can consume, safely, across devices, over time.
Conversations and threads
Token streaming
Multimodal input
Tool use
Cross-device sync
The building blocks this design relies on, each explained in its own lesson.
Design a Distributed Counter (medium)
Design GitHub Actions (hard)
Design Google Map (hard)
Design TikTok (hard)