WhatsApp LangChain Harness
Most WhatsApp bot tutorials wire an LLM straight to a webhook and call it done — no queue, no retries, no memory between messages, no way to see what's happening. This is the infrastructure layer instead: a FastAPI webhook validates Twilio's cryptographic signature and queues incoming messages in Postgres with debounce and retry, an async worker pulls them into a LangGraph agent with per-conversation checkpointing and pgvector-backed semantic memory, and a Next.js admin panel — gated behind Better Auth and an internal service token — gives live visibility into chats, the queue, and agent state. Ships with Railway deploy and stress-testing docs. Built to be a reusable template for standing up production WhatsApp agents, not just a demo.








