CLAWDBOT ๐ฆ
โEXFOLIATE! EXFOLIATE!โ โ A space lobster, probably

WhatsApp + Telegram + Discord + iMessage gateway for AI agents (Pi).
Send a message, get an agent response โ from your pocket.
GitHub ยท Releases ยท Docs ยท Clawd setup
CLAWDBOT bridges WhatsApp (via WhatsApp Web / Baileys), Telegram (Bot API / grammY), Discord (Bot API / discord.js), and iMessage (imsg CLI) to coding agents like Pi. Itโs built for Clawd, a space lobster who needed a TARDIS.How it works
clawdbot gateway), a single long-running process that owns provider connections and the WebSocket control plane.
Network model
- One Gateway per host: it is the only process allowed to own the WhatsApp Web session.
- Loopback-first: Gateway WS defaults to
ws://127.0.0.1:18789.- For Tailnet access, run
clawdbot gateway --bind tailnet --token ...(token is required for non-loopback binds).
- For Tailnet access, run
- Bridge for nodes: optional LAN/tailnet-facing bridge on
tcp://0.0.0.0:18790for paired nodes (Bonjour-discoverable). - Canvas host: HTTP file server on
canvasHost.port(default18793), serving/__clawdbot__/canvas/for node WebViews; seedocs/configuration.md(canvasHost). - Remote use: SSH tunnel or tailnet/VPN; see
docs/remote.mdanddocs/discovery.md.
Features (high level)
- ๐ฑ WhatsApp Integration โ Uses Baileys for WhatsApp Web protocol
- โ๏ธ Telegram Bot โ DMs + groups via grammY
- ๐ฎ Discord Bot โ DMs + guild channels via discord.js
- ๐ฌ iMessage โ Local imsg CLI integration (macOS)
- ๐ค Agent bridge โ Pi (RPC mode) with tool streaming
- ๐ฌ Sessions โ Direct chats collapse into shared
main(default); groups are isolated - ๐ฅ Group Chat Support โ Mention-based by default; owner can toggle
/activation always|mention - ๐ Media Support โ Send and receive images, audio, documents
- ๐ค Voice notes โ Optional transcription hook
- ๐ฅ๏ธ WebChat + macOS app โ Local UI + menu bar companion for ops and voice wake
- ๐ฑ iOS node โ Pairs as a node and exposes a Canvas surface
Quick start
Runtime requirement: Node โฅ 22.Configuration (optional)
Config lives at~/.clawdbot/clawdbot.json.
- If you do nothing, CLAWDBOT uses the bundled Pi binary in RPC mode with per-sender sessions.
- If you want to lock it down, start with
whatsapp.allowFromand (for groups) mention rules.
Docs
- Start here:
- Providers and UX:
- Ops and safety:
The name
CLAWDBOT = CLAW + TARDIS โ because every space lobster needs a time-and-space machine.โWeโre all just playing with our own prompts.โ โ an AI, probably high on tokens
Credits
- Peter Steinberger (@steipete) โ Creator, lobster whisperer
- Mario Zechner (@badlogicc) โ Pi creator, security pen-tester
- Clawd โ The space lobster who demanded a better name
Core Contributors
- Maxim Vovshin (@Hyaxia, [email protected]) โ Blogwatcher skill
License
MIT โ Free as a lobster in the ocean ๐ฆโWeโre all just playing with our own prompts.โ โ An AI, probably high on tokens