# Whatsapp AI Agent

> Generates a working WhatsApp AI agent in under a minute. Bring your own model and memory backend.

Whatsapp AI Agent is a free AI agent skill on Agensi by Chetan Jannu. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Chetan Jannu](https://www.agensi.io/creators/chetan-jannu)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-20
- Security: scan passed (2026-10-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/whatsapp-ai-agent
- Tags: whatsapp, ai-agent, typescript, scaffolding, cli, local-first

## About this skill

Here's the rewrite — "scaffold"/"scaffolding" replaced throughout, and "production-ready" softened to something we can actually back up:

---

Stop wasting time writing boilerplate for WhatsApp integrations. This skill generates a complete, runnable TypeScript project for building AI agents that live directly on WhatsApp. It uses the open-source Wappy SDK to ensure your data and model keys stay on your own infrastructure rather than routing through third-party middleware.

### What it does
- **Project generation** produces a complete, working TypeScript codebase instead of empty templates.
- **Provider selection** configures the agent for OpenAI, Anthropic, Gemini, or local-first Ollama.
- **Memory management** implements SQLite/LibSQL for local keyword search or Cognee for knowledge graphs.
- **Tool integration** sets up optional read-only Gmail and Google Calendar tools for productivity workflows.
- **Environment setup** produces a tailored `.env.sample` containing only the keys required for your specific build.

### How it works
1. **Interactive mode** initiates a three-question interview to define the model, memory, and features.
2. **Scripted execution** uses flags like `--model`, `--memory`, and `--productivity` for automated CI/CD or non-interactive setups.
3. **Environment configuration** prepares the project for local execution via `npm run dev` with automatic webhook tunneling.

### Frameworks & tools
TypeScript, Node.js 22+, Wappy SDK, SQLite/LibSQL, Cognee, and the Meta WhatsApp Cloud API.

### Why this beats prompting it yourself
Prompting an LLM to write a WhatsApp agent often results in outdated API calls or missing webhook logic. This skill provides a verified, structured pipeline that handles message routing and tool-call decisions out of the box.

### Use cases
- Build a private WhatsApp assistant using local Ollama for maximum privacy.
- Create a customer support bot with a RAG backend for answering product questions.
- Develop a personal productivity agent that queries your Google Calendar via chat.

### Known limitations
Requires Node.js 22 or higher. Users must manually create a Meta Developer App to obtain WhatsApp Cloud API credentials.

---

Want this written into `AGENSI_SUBMISSION_NOTES.md` so it's saved alongside the other listing copy, or is this just for pasting directly into the listing form?

## Requires

- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Whatsapp AI Agent skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What specific problems does the 'scaffold whatsapp agent' solve for developers?

This skill automates the creation of a full-stack TypeScript project, providing verified boilerplate for WhatsApp API integration, message routing, and local memory management that would otherwise take hours to write manually.

### Which AI model providers are compatible with the generated agents?

The generated project supports industry leaders like OpenAI, Anthropic, and Gemini, as well as Ollama for developers who prefer running local, privacy-focused models.

### What are the technical requirements to run the scaffolded agent?

You will need Node.js 22 or higher and a Meta Developer account to access the WhatsApp Cloud API; the skill handles the rest by scaffolding the environment and webhook tunneling.

### Can I customize how the agent remembers previous conversations?

Yes, the skill allows you to choose between SQLite/LibSQL for traditional keyword-based memory or Cognee for building advanced knowledge graphs within your WhatsApp bot.

### What exactly is included in the downloaded package?

You receive a complete, production-ready TypeScript codebase including pre-configured tool integrations for Google services, a tailored .env setup, and the open-source Wappy SDK framework.

### How does this differ from just asking an AI to write a WhatsApp bot script?

Unlike raw LLM prompts which often use deprecated API versions, this skill provides a structured, tested pipeline that ensures your webhook logic and tool-calling functions are current and functional.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
