Show HN: Wa-agent – Framework for building AI agents on WhatsApp

Hacker News Show AI
Generative AI AI Business AI Tools

I built a Node.js framework for running autonomous AI agents on WhatsApp. You define an agent in YAML (personality, tools, routing rules) and wa-agent handles the WhatsApp connection, message queuing, conversation memory, tool execution, and rate limiting. It uses the Vercel AI SDK for the agent loop (generateText with multi-step tool use) and Baileys under the hood for WhatsApp. s Anthropic, OpenAI, or Ollama for local models.