I built an open-source starter that gives an OpenAI Agents SDK agent its own WhatsApp. Here's what I learned.

Reddit r/AI_Agents Tools

Summary

作者开源了一个约300行TypeScript的starter,让OpenAI Agents SDK代理通过WhatsApp与用户对话,支持QR扫码绑定、按人隔离记忆和防提示注入的回复路由设计。

I wanted people to be able to text my agent on WhatsApp, so I built a small starter for it and open-sourced it. What it does Link a WhatsApp account with one QR scan People text that number, and your agent replies Each person gets their own conversation and memory Plug in your own Agents SDK agent, or start with the one included Echo mode lets you test the whole loop without an OpenAI key How a message moves WhatsApp → WAHA → webhook → adapter → your agent's run() → back to the same chat Things I didn't expect Memory has to be per person. If history is shared, one person's chat leaks into another's answers. Each sender keeps their last five turns, separately. The agent shouldn't choose who gets the reply. If the model can pick the destination, a prompt injection could send a message to anyone. Here the agent only returns text, and the reply always goes back to whoever wrote in. Honest limits It uses WAHA, an unofficial WhatsApp gateway, so use a spare number. It's a good way to test an idea or MVP before applying for Meta's official API, or while you wait for approval. Memory is in-process, text only, one account. It's about 300 lines of TypeScript, runs locally with Docker, MIT licensed. I built it, so links are in the comments. Always happy to swap notes on agents and WhatsApp.
Original Article

Similar Articles

I put a LangGraph agent on WhatsApp. It takes voice notes and photos, sends images back, and remembers each person without a database.

Reddit r/AI_Agents

An open-source TypeScript starter that runs a LangGraph agent on WhatsApp via WAHA, supporting voice notes, photos, image generation, and per-chat thread memory with summarization middleware — all without a database. It highlights design choices like hashed thread IDs, one-run-per-chat serialization, and capped image generation to keep replies safe and predictable.

How I build and deploy agents to WhatsApp in one prompt

Reddit r/AI_Agents

A builder shares their system for deploying customer-facing WhatsApp agents in a single prompt, with code-enforced scoped 'actions', rate limits, and message debouncing to safely connect agents to credentialed systems like Airtable, Google Sheets, or MCP servers.

I gave my AI agent a voice and now I can't live without it!

Reddit r/AI_Agents

一位拥有10多年经验的系统架构师分享了自己搭建AI个人助理的体验:通过WhatsApp发送语音笔记即可自动创建日历邀请、发送邮件、执行定时监控任务和自定义技能,极大提升了日程与任务管理效率。