# π¦ CLAWDBOT β Personal AI Assistant
EXFOLIATE! EXFOLIATE!
**Clawdbot** is a *personal AI assistant* you run on your own devices. It answers you on the surfaces you already use (WhatsApp, Telegram, Discord, iMessage, WebChat), can speak and listen on macOS/iOS, and can render a live Canvas you control. The Gateway is just the control plane β the product is the assistant. If you want a personal, single-user assistant that feels local, fast, and always-on, this is it. Website: https://clawd.me Β· Docs: [`docs/index.md`](docs/index.md) Β· FAQ: [`docs/faq.md`](docs/faq.md) Β· Wizard: [`docs/wizard.md`](docs/wizard.md) Β· Nix: [nix-clawdbot](https://github.com/clawdbot/nix-clawdbot) Β· Docker: [`docs/docker.md`](docs/docker.md) Β· Discord: https://discord.gg/clawd Preferred setup: run the onboarding wizard (`clawdbot onboard`). It walks through gateway, workspace, providers, and skills. The CLI wizard is the recommended path and works on **macOS, Windows, and Linux**. Using Claude Pro/Max subscription? See `docs/onboarding.md` for the Anthropic OAuth setup. ## Highlights - **Local-first Gateway** β single control plane for sessions, providers, tools, and events. - **Multi-surface inbox** β WhatsApp, Telegram, Discord, iMessage, WebChat, macOS, iOS/Android. - **Voice Wake + Talk Mode** β always-on speech for macOS/iOS/Android with ElevenLabs. - **Live Canvas** β agent-driven visual workspace with A2UI. - **First-class tools** β browser, canvas, nodes, cron, sessions, and Discord actions. - **Companion apps** β macOS menu bar app + iOS/Android nodes. - **Onboarding + skills** β wizard-driven setup with bundled/managed/workspace skills. ## Everything we built so far ### Core platform - Gateway WS control plane with sessions, presence, config, cron, webhooks, control UI, and Canvas host. - CLI surface: gateway, agent, send, wizard, doctor/update, and TUI. - Pi agent runtime in RPC mode with tool streaming and block streaming. - Session model: `main` for direct chats, group isolation, activation modes, queue modes, reply-back. - Media pipeline: images/audio/video, transcription hooks, size caps, temp file lifecycle. ### Surfaces + providers - WhatsApp (Baileys), Telegram (grammY), Discord (discord.js), Signal (signal-cli), iMessage (imsg), WebChat. - Group mention gating, reply tags, per-surface chunking and routing. ### Apps + nodes - macOS app: menu bar control plane, Voice Wake/PTT, Talk Mode overlay, WebChat, Debug tools, SSH remote gateway control. - iOS node: Canvas, Voice Wake, Talk Mode, camera, screen recording, Bonjour pairing. - Android node: Canvas, Talk Mode, camera, screen recording, optional SMS. - macOS node mode: system.run/notify + canvas/camera exposure. ### Tools + automation - Browser control: dedicated clawd Chrome/Chromium, snapshots, actions, uploads, profiles. - Canvas: A2UI push/reset, eval, snapshot. - Nodes: camera snap/clip, screen record, location.get, notifications. - Cron + wakeups; webhooks; Gmail Pub/Sub triggers. - Skills platform: bundled, managed, and workspace skills with install gating + UI. ### Ops + packaging - Control UI + WebChat served directly from the Gateway. - Tailscale Serve/Funnel or SSH tunnels with token/password auth. - Nix mode for declarative config; Docker-based installs. - Health, doctor migrations, structured logging, release tooling. ## Changes since 2026.1.4 (2026-01-04) ### Highlights - Project rename completed: CLIs, paths, bundle IDs, env vars, and docs unified on Clawdbot. - Agent-to-agent relay: `sessions_send` pingβpong with `REPLY_SKIP` plus announce step with `ANNOUNCE_SKIP`. - Gateway config hot reload, configurable port, and Control UI base-path support. - Sandbox options: per-session Docker sandbox with hardened limits + optional sandboxed Chromium. - New node capability: `location.get` across macOS/iOS/Android (CLI + tools). ### Fixes - Presence beacons keep node lists fresh; Instances view stays accurate. - Block streaming + chunking reliability (Telegram/Discord ordering, fewer duplicates). - WhatsApp GIF playback for MP4-based GIFs. - Onboarding/Control UI basePath handling fixes + UI polish. - Cleaner logging + clearer tool summaries. ### Breaking - Tool names drop the `clawdbot_` prefix (`browser`, `canvas`, `nodes`, `cron`, `gateway`). - Bash tool removed `stdinMode: "pty"` support (use tmux for real TTYs). - Primary session key is fixed to `main` (or `global` for global scope). ## Project rename + changelog format Clawdis β Clawdbot. The rename touched every surface, path, and bundle ID. To make that transition explicit, releases now use **date-based versions** (`YYYY.M.D`), and the changelog is compressed into milestone summaries instead of long semver trains. Full detail still lives in git history and the docs. ## How it works (short) ``` Your surfaces β βΌ βββββββββββββββββββββββββββββββββ β Gateway β ws://127.0.0.1:18789 β (control plane) β tcp://0.0.0.0:18790 (optional Bridge) ββββββββββββββββ¬βββββββββββββββββ β ββ Pi agent (RPC) ββ CLI (clawdbot β¦) ββ WebChat (browser) ββ macOS app (Clawdbot.app) ββ iOS node (Canvas + voice) ``` ## Quick start (from source) Runtime: **Node β₯22** + **pnpm**. ```bash pnpm install pnpm build pnpm ui:build # Recommended: run the onboarding wizard pnpm clawdbot onboard # Link WhatsApp (stores creds in ~/.clawdbot/credentials) pnpm clawdbot login # Start the gateway pnpm clawdbot gateway --port 18789 --verbose # Dev loop (auto-reload on TS changes) pnpm gateway:watch # Send a message pnpm clawdbot send --to +1234567890 --message "Hello from Clawdbot" # Talk to the assistant (optionally deliver back to WhatsApp/Telegram/Discord) pnpm clawdbot agent --message "Ship checklist" --thinking high ``` If you run from source, prefer `pnpm clawdbot β¦` (not global `clawdbot`). ## Chat commands Send these in WhatsApp/Telegram/WebChat (group commands are owner-only): - `/status` β health + session info (group shows activation mode) - `/new` or `/reset` β reset the session - `/think