Uses Baileys for WhatsApp Web protocol
OpenClawDocs
Any OS + WhatsApp/Telegram/Discord/iMessage gateway for AI agents (Pi). Plugins add Mattermost and more.
Any OS + WhatsApp/Telegram/Discord/iMessage gateway for AI agents (Pi). Plugins add Mattermost and more.
Uses Baileys for WhatsApp Web protocol
DMs + groups via grammY
DMs + guild channels via discord.js
Local imsg CLI integration (macOS)
Pi (RPC mode) with tool streaming
Route channels/peers to isolated agents (workspace + per-agent sessions)
openclaw onboard)openclaw gateway if needed.WhatsApp / Telegram / Discord / iMessage (+ plugins)
│
▼
┌───────────────────────────┐
│ Gateway │ ws://127.0.0.1:18789 (loopback-only)
│ (single source) │
└───────────┬───────────────┘
│
├─ Pi agent (RPC)
├─ CLI (openclaw …)
├─ Chat UI / macOS app
└─ iOS / Android nodes (via Gateway WS + pairing)Most operations flow through the Gateway (openclaw gateway), a single long-running process that owns channel connections and the WebSocket control plane.
Runtime: Node.js ≥ 22
npm install -g openclaw@latest
# or: pnpm add -g openclaw@latest
openclaw onboard --install-daemon
openclaw channels login
openclaw gateway --port 18789This site provides Chinese and English docs based on the official documentation for global users. Use the language switcher in the top-right to switch.