LangGraph Agent on WhatsApp: Voice, Photos, Memory — an Open-Source Starter With Solid Design Notes
Nice-Brilliant1697 · reddit · 2026-11-21
An open-source starter (TypeScript/Docker/MIT) for running a LangGraph agent on WhatsApp: scan a QR to link, users send text/voice/photos, the agent transcribes, answers and generates images back. Key design choices: thread ID = keyed hash of chat ID (no lookup table, phone numbers never exposed); summarizationMiddleware compacts week-long histories; one run per chat (4 parallel); the model never chooses recipients so prompt injection can't reroute replies; image generation capped at once per run. Honest limits: unofficial WAHA gateway (use a spare number), private chats and English voice only, no retries, possible message drops under concurrency.
More from coding & agent
- DeepMind's Antigravity Robotics Plugin: 2 Prompts, ~20 Minutes to Command a Real FR3 Duo Arm — jackyliang42 · 2026-11-21
- Security & Web3 Firewall MCP Server Hits Official Registry: Detects Tool-Poisoning and Rug-Pull Drift — ezelech · 2026-11-21
- Pydantic hacks Mypy detection: why type checkers crawl and how to fake your way to speed — charliermarsh · 2026-11-21
- MAI Code 2 hands-on: replacing Claude as orchestrator, tops Terminal-Bench — imdigitalashish · 2026-11-21
- Open-Source Codesk Lets Coding Agents Reskin Their Own UI — Claude Said No to GTA 6, Codex Didn't — shunithaviv · 2026-11-21
- PowerShell creator's Meetup: start AI agents in an empty directory, ditch old cost estimates — dfinke · 2026-11-21