Build a live chat system designed around one agent handling several conversations at once. Stack: your choice with websockets, Postgres, Docker Compose, a domain with TLS. Visitor widget: shadow DOM, small, reconnects after navigation, persists a visitor token in local storage, works without third-party cookies, keyboard accessible. The agent console is the product. Build these four things properly: 1. **Concurrency cap.** Each agent sets a maximum number of active chats. Routing never exceeds it. When every agent is at capacity, new visitors get an explicit queue position and an estimated wait, not silence. 2. **Sneak peek.** Stream the visitor's in-progress typing to the agent before they hit send, throttled to roughly four updates a second. This is the single feature that changes how fast an agent can work, and it is a few lines over the same websocket. 3. **Canned replies on a slash command.** Typing `/` opens a filter-as-you-type list; selecting one inserts the text with placeholders already interpolated. Rank by the agent's own usage frequency, not alphabetically. 4. **A multi-conversation layout.** A sidebar of active chats each showing an unread badge and a time-since-last-agent-reply that turns red past a threshold, so the one you are neglecting is obvious. Routing: round-robin among agents under their cap, with a manual transfer that carries the full history and adds a system line naming who transferred to whom. After-hours: outside configured office hours the widget collects a message and an email address, and says so plainly. One report: chats per agent per day, median first response, median chat duration, and maximum concurrent chats reached. Write tests for the concurrency cap under simultaneous arrivals, for queue position updating as agents free up, and for transfer preserving history. Do not build a chatbot, mobile apps, or an integration marketplace.