🤖HermesBlog
Hermes Messaging Platforms · Part 18/9/2026

WhatsApp — AI for the World's Most-Used Chat

WhatsApp — AI for the World's Most-Used Chat — easy-to-understand guide based on official docs

Think of it like this: you already have a Swiss Army knife for talking to friends and family—now imagine slipping an AI assistant into that same pocket, no extra app required.

WhatsApp is the most-used chat app on the planet, with billions of people checking it daily. So why should your AI agent live somewhere else? With Hermes Agent, you can plug your bot directly into WhatsApp using a built-in bridge that mimics a WhatsApp Web session. No Meta developer account, no Business verification, no public URL—just a QR code and a phone.

Two Ways to Run It

Mode How it works Best for
Separate bot number Dedicate a phone number to the bot. People message that number directly. Clean UX, multiple users, lower ban risk
Personal self-chat Use your own WhatsApp. You message yourself to talk to the agent. Quick setup, single user, testing

If you’re just trying things out, the self-chat mode takes about two minutes. For anything more serious, grab a cheap second SIM card and run the bot on its own number.

Step 1: Run the Setup Wizard

Open your terminal and type:

hermes whatsapp

The wizard will ask which mode you want, install any needed dependencies, and then show a QR code right in your terminal.

To scan it:

  1. Open WhatsApp on your phone
  2. Go to Settings → Linked Devices
  3. Tap Link a Device
  4. Point your camera at the terminal QR code

Once paired, your session is saved automatically. That’s it—you’re live.

Step 2: Get a Second Number (If You Chose Bot Mode)

If you picked the bot mode, you’ll need a dedicated phone number. This can be a cheap prepaid SIM or a virtual number from a service like Google Voice (where available). The point is to keep your personal number separate—this lowers the risk of any account restrictions and keeps your own chats private.

A Few Honest Warnings

This bridge is not the official WhatsApp Business API. It’s a third-party tool, and WhatsApp doesn’t officially support bots outside their Business platform. That means there’s a small risk of account restrictions. To stay safe:

  • Use a dedicated number for the bot
  • Don’t send bulk or spam messages—keep it conversational
  • Never message people first—only reply to those who’ve messaged you

Also, WhatsApp occasionally updates its web protocol, which can temporarily break third-party bridges. If your bot stops working after a WhatsApp update, just pull the latest Hermes version and re-pair.

The Bottom Line

Hermes makes WhatsApp AI setup feel like pairing a Bluetooth speaker—fast, simple, and surprisingly painless. For a personal assistant or a small group of friends, the Baileys bridge is perfect. If you’re building a serious business bot later, you can always graduate to the official WhatsApp Business Cloud API.

Practical tip: Start with self-chat mode on your own number. Test it for a day, see how it feels to message your AI, and then decide if you want to move to a dedicated bot number. Small steps keep things fun—and safe.

📖 Official Docs

This article is based on the official Hermes Agent documentation:Official docs › user-guide/messaging/whatsapp