Open-source starter gives your OpenAI Agents SDK agent a WhatsApp number — 300 lines of TypeScript
Nice-Brilliant1697 · reddit · 2026-11-19
A developer open-sourced a 300-line TypeScript starter (MIT, Docker) that links a WhatsApp account via QR scan and routes messages to any OpenAI Agents SDK agent, with per-sender memory and an echo mode for keyless testing. Pipeline: WhatsApp → WAHA → webhook → adapter → agent run(). Key lessons: memory must be per person (shared history leaks chats), and the model should never choose the reply destination — prompt injection could redirect messages; the agent only returns text and replies always go back to the sender. Caveats: WAHA is an unofficial gateway, so use a spare number; good for MVP testing before Meta's official API approval.
More from coding & agent
- Apple opens iWork to external LLMs: Pages, Numbers, Keynote gain MCP support — dsp_ · 2026-11-19
- Anthropic engineer shares free 30-minute Claude Code SDK + GitHub Actions automation walkthrough — aftahi_ai · 2026-11-19
- Snowflake Labs open-sources Cortex AI 101 notebook calling OpenAI models via SQL — adnan_hashmi · 2026-11-19
- Agents spent years hillclimbmaxxing while the human at the keyboard became an afterthought — tokenbender · 2026-11-19
- Google's GUARD paper: frozen base model, self-editing agent harness gains +8.89 points — omarsar0 · 2026-11-19
- Microsoft open-sources openclaw-dev: one-command hosted OpenClaw agent on Azure with sandboxed tool execution — adnan_hashmi · 2026-11-19