Build a customer messenger with an AI first responder that would rather say nothing than guess. Stack: your choice with websockets, Postgres with pgvector, Docker Compose, and a domain with TLS because the widget will be embedded on other origins. Widget: one script tag, under 30KB, no framework. It renders a launcher and a panel, opens a websocket, and — the part people get wrong — survives a full page navigation by persisting the conversation id and a visitor token in local storage and reconnecting. Works without third-party cookies. Respects prefers-reduced-motion and prefers-color-scheme. Keyboard accessible: focus trapped in the panel while open, Escape closes, and focus returns to the launcher. Server: conversations, messages, visitors. A visitor is anonymous until identified; support an identify call with a server-signed token so a logged-in user cannot be impersonated by editing local storage. Say clearly in the README why an unsigned identify call is a security hole. AI first responder over your own docs: - Ingest Markdown files or a sitemap, chunk with overlap, embed, store in pgvector. - On an incoming question, retrieve the top chunks and call an Anthropic or OpenAI model with a prompt that permits only two outcomes: an answer that quotes and links at least one retrieved source, or the exact string that triggers a handover. If the best retrieval score is below a configurable threshold, skip the model entirely and hand over — cheaper and more honest. - Every AI answer renders its sources as links the visitor can open, and a "this did not help" button that immediately escalates to the human queue. - Cap spend: a per-conversation and per-day token budget that hands over rather than exceeding it. Human side: an agent inbox with assignment, statuses, canned replies, and a live view of what the visitor is typing. When a human joins, the AI stops responding in that conversation permanently. Email fallback: if nobody answers within a configurable window, collect the visitor's email address and continue the conversation by mail, threading replies back into the same record. One report: conversations, share resolved by AI without handover, and handover reasons broken down. Write tests for the retrieval threshold handing over, for the AI never emitting an answer without a source link, and for reconnect-after-navigation. Do not build mobile SDKs, product tours, or outbound campaigns.