A fully functional WhatsApp AI chatbot you can deploy and run yourself. Built with Python (FastAPI) and powered by OpenAI GPT-4o, it turns your WhatsApp number into an intelligent assistant with no monthly SaaS fees. You only pay for API usage.
The bot handles real conversations with context awareness. It replies to text messages, transcribes voice notes, and responds with AI voice replies, analyzes images like photos and screenshots, and summarizes PDF documents.
Built with a clean, production-ready architecture, all prompts are centralized in one file so you can easily customize personality and behavior in minutes.
Key Features
GPT-4o chat and image understanding
Whisper voice transcription
OpenAI TTS voice replies
Per-user memory system
PDF summarization
FastAPI backend
WhatsApp Cloud API integration
Fully configurable via .env
Includes
Full source code
Setup guide (README + PDF)
.env example
Requirements
OpenAI API account
Meta Developer WhatsApp Cloud API
Python 3.11+ and server/ngrok
For developers, agencies, and entrepreneurs building AI WhatsApp automation tools.