The **VPS + Nodes** architecture is the ultimate setup for power users. By running the Clawdbot Gateway on a cheap $5 VPS (Linux) for 24/7 availability and linking your local Mac as a **Node**, you get the best of both worlds: round-the-clock automation and full access to your Apple ecosystem (Notes, Things, Screen Control) without the cost of a Mac Mini.
Deploy the main Clawdbot core on a Linux VPS (Ubuntu 22.04+ recommended).
sudo apt update && sudo apt upgrade -y
sudo apt install -y git curl build-essential ca-certificates jq ufw
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt install -y nodejs
sudo npm install -g clawdbot
clawdbot onboard
# Select "local" mode, provide API keys, and bind to 127.0.0.1
clawdbot gateway:start --daemon
Security Tip: Use Tailscale to securely access the VPS Gateway port (18789) without exposing it to the public internet.
Link your Mac as an execution node to the VPS Gateway.
Ensure Node.js 22 is installed via Homebrew or official installer.
sudo npm install -g clawdbot
clawdbot node:start
Once linked, your AI can execute commands natively on your Mac via the Node host.
| Action | Command / Prompt |
|---|---|
| Open Apple Notes | "Use my Mac node to create a new note titled 'Shopping List'" |
| Control Application | clawdbot nodes run --node <id> --raw "open -a Things" |
| AppleScript Task | clawdbot nodes run --raw "osascript -e 'tell application \"Notes\" to activate'"
|
clawdbot node:start --daemon on your Mac if you want it
to always be available as a worker.