plugins/_whatsapp_integration/README.md
Communicate with Agent Zero via WhatsApp using a Baileys-based Node.js bridge.
cd plugins/_whatsapp_integration/whatsapp-bridge
npm install --production
Dependencies are auto-installed on first bridge start if missing.
/project <name>, /config <preset>, or /send in WhatsApp to control the active chat directlyThe WhatsApp session persists across restarts in tmp/whatsapp/session/. No re-pairing needed unless you disconnect via settings.
Be careful: if you use your personal number and leave allowed_numbers open, other people could misuse your Agent Zero.
| Setting | Description | Default |
|---|---|---|
enabled | Enable bridge and polling | false |
mode | self-chat (personal number) or dedicated (separate number) | self-chat |
allow_group | Respond in group chats when mentioned or replied to | false |
bridge_port | Local HTTP port for bridge | 3100 |
poll_interval_seconds | Poll frequency (min 2) | 3 |
allowed_numbers | Phone numbers without + prefix | [] (all) |
project | Activate project for WA chats | "" |
agent_instructions | Extra agent instructions | "" |
WhatsApp Phone
↕ (WhatsApp protocol via Baileys)
whatsapp-bridge/bridge.js (Node.js subprocess)
↕ (HTTP API on localhost)
Python helpers (wa_client, handler, bridge_manager)
↕ (Framework extensions)
Agent Zero