A 💯 free, fully automated solution to interact with WhatsApp using a local LLM-powered AI assistant. This bot is designed to integrate an advanced AI model with WhatsApp for various use cases such as customer service, business automation, and personal assistance — without relying on external APIs.
This AI-Powered WhatsApp Bot uses a Local LLM (Language Learning Model) powered by Ollama to provide scalable customer engagement and automation. It's a powerful tool for businesses, startups, and marketers looking to interact with their users without any external API calls.
✅ Local LLM Integration – Uses Ollama's local AI models to ensure privacy and no external dependency.
⚙️ Fully Automated – Automated replies, conversation handling, and more.
🌍 Multi-Country Support – Global reach, works with any valid phone number format.
🔒 Free & Secure – No need for API keys, subscriptions, or internet dependency (works locally).
📈 Easy Setup – Simple setup process for both beginners and advanced users.
💬 Rich Messaging – Send rich text, media, and even custom responses through WhatsApp.
Prerequisites:
- Node.js and npm: Ensure that Node.js and npm (Node Package Manager) are installed on your system. You can download them from the official Node.js website (https://nodejs.org/).
- Git (Optional but Recommended): Git is recommended for version control and easier updates. Download it from (https://git-scm.com/download/).
-
Install Node.js:
- Download and install Node.js from Node.js official website.
- Verify the installation:
node -v npm -v
-
Clone the Repository:
git clone https://github.com/kunaldevelopers/WhatsApp-Bot-Local-LLM-Powered-AI-Assistant.git
-
Navigate to the Project Folder:
cd WhatsApp-Bot-Local-LLM-Powered-AI-Assistant -
Install Dependencies:
npm install
-
Start the Bot:
node index.js
-
Install Git Bash from Git for Windows.
-
Clone the Repository:
git clone https://github.com/kunaldevelopers/WhatsApp-Bot-Local-LLM-Powered-AI-Assistant.git
-
Follow the steps to install dependencies and start the bot, as outlined in the "Command Prompt" section.
-
Install Node.js and npm:
- Install using NVM:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash nvm install --lts nvm use --lts
- Install using NVM:
-
Clone the Repository:
git clone https://github.com/kunaldevelopers/WhatsApp-Bot-Local-LLM-Powered-AI-Assistant.git
-
Navigate to the Project Folder:
cd WhatsApp-Bot-Local-LLM-Powered-AI-Assistant -
Install Dependencies:
npm install
-
Start the Bot:
node index.js
-
Install Homebrew (if not installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Install Node.js and npm:
- Using Homebrew:
brew install node
- Using Homebrew:
-
Clone the Repository:
git clone https://github.com/kunaldevelopers/WhatsApp-Bot-Local-LLM-Powered-AI-Assistant.git
-
Navigate to the Project Folder:
cd WhatsApp-Bot-Local-LLM-Powered-AI-Assistant -
Install Dependencies:
npm install
-
Start the Bot:
node index.js
- Prepare your contacts in a
.txtfile or other supported formats with valid phone numbers. - Start the bot:
node index.js
- Input your message to be sent to your contacts.
- Monitor the logs for status updates and possible errors.
Want to enhance this bot or add features? Here's how you can contribute:
- Fork the repository 🍴
- Create a new branch (
git checkout -b feature/your-feature-name) - Commit your changes ✅
- Push and create a pull request 🚀
If you find bugs or have ideas, open an issue — we’d love to hear from you!
Kunal Kumar Pandit
This project is open-source and available under the MIT License.
🙌 If this project helped you, please star ⭐ the repository and share it with your network!