Clawdbot is an open-source, lightweight framework for building a personal AI assistant that runs on your own hardware, bridging messaging apps like Discord, Telegram, or WhatsApp to AI models such as Claude, OpenAI, or local Ollama instances. It automates workflows privately without relying on cloud services, making it popular for developers, designers, and hobbyists—it's even reportedly driving Mac Mini sales due to its efficiency on compact hardware.[3]
Before starting, ensure:
Deploy on a DigitalOcean Droplet for a 24/7 remote assistant. This uses a one-liner installer for quick setup (about 15 minutes).[4]
ssh root@your-droplet-ip.[4]curl -fsSL https://clawd.bot/install.sh | bash
This handles Node.js, dependencies, and global install.[4]clawdbot onboard --install-daemon
clawdbot channels login
Scan QR code or follow prompts for Discord/Telegram.[3]clawdbot gateway --port 18789
Message your bot (e.g., "@ClawdBot Hi") in the app—it responds via AI.[1] Install as a daemon for persistence.[1][3]Pro Tip: Restrict access in ~/.clawdbot/clawdbot.json (e.g., allow only specific WhatsApp numbers).[3] Monitor via clawdbot status.
Ideal for Linux desktops/servers; supports local Ollama models for fully offline use.[5]
sudo apt update && sudo apt install nodejs npm git curl -y). Ensure Node.js 18+.[2][5]npm install -g clawdbot@latest
Or pnpm: pnpm add -g clawdbot@latest.[1][3]clawdbot onboard --install-daemon
Configure AI key, directory (~/clawd default), and channel.[1]curl -fsSL https://ollama.com/install.sh | sh).ollama pull llama3.clawdbot configure --section channels.discord
Generate OAuth2 URL, invite bot, grant permissions (bot, commands, messages).[1] Test: "@ClawdBot introduce yourself".[1]From Source (Advanced):
git clone https://github.com/check/clawdbot-public.git # Or official repo[2][3]
cd clawdbot-public
npm install # Or pnpm install
cp example.env .env # Add API key
npm start
Leverages Apple Silicon for low-power, always-on operation—perfect for its "AI intern" vibe.[3][7]
brew install node git).[3]npm install -g clawdbot@latest
clawdbot onboard --install-daemon
Follow wizard for API key and channel (QR login).[3]git clone https://github.com/clawdbot/clawdbot.git
cd clawdbot
pnpm install
pnpm ui:build # For web UI
pnpm build
clawdbot onboard --install-daemon
```[3]
clawdbot gateway, chat via Telegram/Slack. Customize cron jobs or themes via CLI.[3][5]Interesting Fact: Clawdbot's RPC mode creates per-user sessions with bundled Pi binaries, enabling multi-platform control without heavy config—it's why UX designers love it for private prototyping.[2][3]
~/.clawdbot/clawdbot.json for rules like mention-only responses ("requireMention": true).[3].env for keys; never commit them.[2]This setup turns your hardware into a private AI operator—start small with Telegram, scale to automations!