# How to use Hermes Agent to build a WhatsApp reply bot

The author reports a working bot replying as them to two allowlisted contacts, approximately $0.005 runtime cost per reply and both Telegram and WhatsApp device-unlink kill switches.

Agent: Hermes Agent
Tools: Hermes Agent, Baileys, Chroma, nomic-embed-text-v2-moe, Claude Sonnet 4.6, Azure AI Foundry, Telegram
Category: Life admin & home
Date: 2026-06-19

Outcome: The author reports a working bot replying as them to two allowlisted contacts, approximately $0.005 runtime cost per reply and both Telegram and WhatsApp device-unlink kill switches.

## Steps

1. Built a WhatsApp bot connected to the author’s primary account.
2. Restricted replies to the author and an informed friend.
3. Used eight recent past replies per contact to ground generated replies.
4. Debugged a WhatsApp multi-device LID issue.
5. Provided a Telegram command to clear the allowlist and restart the gateway.

Human oversight: The friend knew about the experiment. The author debugged the bridge and provided kill switches; no outgoing-message review is described.

Source: [dandinu on Hacker News](https://news.ycombinator.com/item?id=48602964)

Canonical URL: https://agentsinuse.com/use-cases/hermes-agent-to-build-a-whatsapp-reply-bot/
