What you need
OpenClaw is an open-source personal agent you run yourself. The site sums it up as “No subscription. No hosted tier. No token.” It’s MIT-licensed and run by the OpenClaw Foundation, a 501(c)(3) nonprofit (OpenClaw). Because you host it, setup is more technical than a hosted app, and safety is your job. The official quick start says you can be chatting “in about 5 minutes” (docs). This guide follows those docs, then adds the security steps the docs ask you to take.
Not sure you want to self-host? Compare first: Grok Bot vs OpenClaw.
What you need
- Node.js. Version 24.16.0 or newer on 24.x, or 26.1.0 or newer. Node 26 is recommended; use 24.22.1+ or 26.12.1+ “for the security fixes”. Check with
node --version(docs). - Access to a model. An existing Claude Code or Codex CLI login, or an API key from a model provider. Onboarding can reuse what it finds (docs).
- A computer that stays on, if you want it to work while you’re away. The Gateway can run as a background service (Step 4).
- Windows? The native Windows Hub app is the easiest desktop path; the PowerShell installer and WSL2 also work (docs). Desktop apps are listed for macOS 15+, Windows 10/11 and Linux (OpenClaw). WIRED notes that setting it up takes basic engineering knowledge.
Plans and what the software itself costs (there is no subscription or hosted tier): OpenClaw. Check what your model provider and the chat apps you connect offer where you live.
Step 1. Try it, or install it
To try it without installing, run:
npx openclaw@latest
To install it, use the official script (docs):
# macOS / Linux
curl -fsSL https://openclaw.ai/install.sh | bash
# Windows (PowerShell)
iwr -useb https://openclaw.ai/install.ps1 | iex
Docker, Nix and npm installs are covered on the docs’ Install page (docs). With npm (Node 24.22.1+ or 26.12.1+; npm 12 or 11.16+):
npm install -g openclaw@latest --allow-scripts=openclaw
# on npm 11.15 and earlier, leave out --allow-scripts=openclaw
Step 2. Complete onboarding
The installer starts the onboarding wizard on its own. On a fresh install you get a pointer to the security guide, then a choice (docs):
- Quick start finds your existing model login or API key, checks it with a real request, saves the config and opens the web dashboard.
- Custom setup walks through every guided option.
Read that security guide before you connect anything. You can change settings later with openclaw configure. Then run openclaw onboard --install-daemon to connect a model and your first chat app, if the wizard hasn’t already done that.
Step 3. Check the Gateway and dashboard
The Gateway is the part that runs your agent. Check it:
openclaw gateway status
You should see it listening on port 18789. Then open the Control UI in your browser:
openclaw dashboard
Type a message in the dashboard chat. If you get a reply, your install works (docs).
Step 4. Keep it running in the background
Quick start asks whether to keep OpenClaw running in the background and installs the service if you say yes. If you skipped that, stop the foreground Gateway with Ctrl+C and run:
openclaw gateway install
That installs a LaunchAgent on macOS, a systemd user unit on Linux and WSL2, or a Scheduled Task on Windows. Your config stays saved (docs).
Step 5. Connect a chat app
OpenClaw supports many chat apps, including Discord, iMessage, Signal, Slack, Telegram and WhatsApp. The docs call Telegram the fastest to set up: it only needs a bot token (docs). You create the bot and its token in Telegram’s BotFather, then add the token to OpenClaw’s Telegram settings (Telegram docs).
By default, Telegram DMs use pairing: a stranger who messages your bot gets a short code and the bot ignores their message until you approve it (Telegram docs, security docs). To approve yourself:
openclaw pairing list telegram
openclaw pairing approve telegram <CODE>
Codes are 8 characters and expire after an hour (pairing docs). Keep pairing on.
Step 6. Run the security audit
OpenClaw ships with conservative defaults, and the security docs say one command tells you if you have drifted from them (security docs). Run it now, and again after you change settings:
openclaw security audit
Things worth knowing from the same page:
- One trust boundary per Gateway. The guidance assumes a single operator, or a team whose members trust each other. OpenClaw is not a security boundary between people who don’t trust each other (security docs).
- Loopback by default. On a regular install the Gateway only listens on your own machine. Container images are an exception: they default to an exposed bind, which the docs say to pair with auth (security docs).
- Stay updated. An older flaw, CVE-2026-25253, let a crafted link make OpenClaw connect to another server and send its token. It affected versions before 2026.1.29 and is listed at 8.8 (high) on NVD. Current releases are well past that, but it shows why updates matter.
For house rules that work in any agent (approve every send, payment and delete), see House rules for your AI bots.
Step 7. Give it a first job
Start with something read-only, so a mistake can’t cost you anything:
Step 7. Give it a first job
Your agent asks you first
Nothing gets installed or run until you answer.
Question 1 of 1
Which calendar and email account should I read?
Then, every weekday at 7:00, send me a short brief in this chat: today's calendar, emails that need a reply from me, and the one thing I should do first. Only read and draft. Never send, delete, buy or change anything without my explicit OK in this chat. If a tool needs a login you don't have, tell me instead of trying to work around it.For a full role with skills, paste the prompt from our personal assistant agent; OpenClaw supports skills natively. Comfortable in a terminal? The developer agent fits well. Good first use cases: a morning briefing or inbox sorting.
If something breaks
Run openclaw triage. It runs read-only health checks and writes a diagnosis prompt, and nothing leaves your machine until you choose an agent to hand it to. To read the findings yourself, run openclaw doctor (docs).
A real limit
- You are the admin. Updates, backups, exposure and access are on you.
- Only as safe as your setup. Agents with message-tool access can send across conversations and chat apps by default; restrict that if you need to (security docs). The docs also cover sandboxing and per-agent tool limits.
- Model costs add up. The software is free, but if you use a paid model provider, you pay that provider for usage.
- Don’t share a Gateway with people you don’t fully trust; give each their own (security docs).
Next steps
Sources
- Getting started (OpenClaw docs)
- Gateway security and pairing
- Telegram channel
- OpenClaw
- CVE-2026-25253 (NVD)



