Back to problems

Design an Embeddable Streaming Chat Interface

System Design · Google · Medium

You are being asked to design an embeddable chat-agent widget — a conversational UI component that a third-party host application can drop into its own pages. The design should address host-page integration, incremental response delivery over SSE or gRPC, transcript rendering for very long conversations, persistence of chat history, and the product plus reliability metrics you would instrument. The component lives inside a host application that already owns its own sign-in…

Checking your access…