Skip to main content
AI Featured Mar 02, 2026 16 min read 5 views

OpenClaw: The Complete Guide (Setup, Features, Costs, Use Cases & Security)

openclaw open claw
OpenClaw: The Complete Guide (Setup, Features, Costs, Use Cases & Security)
OpenClaw turns any messaging app into a personal AI agent that actually works while you sleep. Complete setup guide, real cost breakdown ($0–$200/mo),

Imagine texting a coworker "can you check my calendar and schedule a dentist appointment for next Thursday?" and it actually happens. No app switching. No any form filling. Just done. That's the pitch behind OpenClaw, and increasingly, it's the reality for the tens of thousands of developers and power users who've already deployed it.

OpenClaw is a self-hosted, open-source AI agent gateway that connects your existing messaging apps like WhatsApp, Telegram, Discord, Slack, iMessage, and more to AI models like Claude or GPT-4. You message it like a friend. It acts like a very capable (and occasionally terrifying) AI employee.

But before you get swept up in the hype, there's a lot you need to know. The setup has real complexity. The costs have genuine nuance. And the security situation, frankly, has been a mess. This guide covers all of it.

What Is OpenClaw, Exactly?

OpenClaw started its life in November 2025 as "Clawdbot" (yes, a pun on Claude Anthropic's legal team was not amused). Austrian developer Peter Steinberger built it as a weekend hack and open-sourced it. After a trademark dispute forced a rename to "Moltbot" and then again to its current name, OpenClaw exploded in popularity, reaching 100,000 GitHub stars faster than almost any open-source project in history, and eventually surpassing 180,000 stars by February 2026.

In February 2026, Steinberger announced he was joining OpenAI to lead personal agent development, with OpenClaw transitioning to an independent, OpenAI-sponsored foundation. The project, in other words, is no longer a weekend side project — it's now at the center of the personal AI agent movement.

At its core, OpenClaw does one thing really well: it runs a persistent AI agent on your machine (or a server you control) that lives inside your existing chat apps. You don't need a new app. You don't need to open a dashboard. You just text it.

The technical heart of the system is the Gateway a single long-lived Node.js process that manages everything: channel connections to your messaging apps, session state, the AI agent loop, tool execution, and memory persistence. One process, one control plane.

Key Features

Multi-Channel Support

This is where OpenClaw earns its reputation. The supported platform list is staggering: WhatsApp, Telegram, Discord, Slack, Google Chat, Signal, iMessage (via BlueBubbles), Microsoft Teams, Matrix, IRC, LINE, Mattermost, Nextcloud Talk, Feishu, Nostr, Synapse Chat, Tlon, Twitch, Zalo, and WebChat. All through a single gateway.

You're not building a separate bot for each platform. You configure one agent, and it shows up wherever you are.

Persistent Memory

Unlike ChatGPT or Claude's web interface, OpenClaw remembers everything across sessions. Conversations, long-term memory, preferences, and learned behaviors are stored as plain Markdown and YAML files on your machine — not in some vendor's cloud. This "memory is files" design is smart: other tools can read those files directly, and you can inspect or edit them yourself.

The Heartbeat System

Every 30 minutes by default (every hour with Anthropic OAuth), OpenClaw checks a file called HEARTBEAT.md in your workspace. It reads a checklist, decides if anything needs action, and either messages you or responds silently. This is what gives OpenClaw its always-on, proactive quality — it's not just reactive to your messages. It can ping you with reminders, complete background tasks on a schedule, and notify you about things you asked it to watch.

Tool & Skill Architecture

OpenClaw separates tools from skills. Tools are the actual capabilities file read/write, shell execution, web search, browser control, cron jobs, camera access, etc. Skills are essentially instruction manuals that tell the agent how to use those tools for specific tasks. Think of tools as capabilities and skills as workflows.

The community skill registry, ClawHub, hosts thousands of skills for connecting OpenClaw to third-party services: Spotify, GitHub, Trello, Todoist, Google Workspace, Philips Hue lights, WHOOP health metrics, and much more.

Browser Control

OpenClaw can control a full Chrome/Chromium instance using Chrome DevTools Protocol (CDP). It can click buttons, fill out forms, take screenshots, and interact with web pages autonomously. This is powerful and also slightly unnerving.

Multi-Agent Routing

You can configure multiple isolated agents in the same gateway one for personal use, one for work, one connected to a team channel. Each has its own workspace, session state, and permissions. Inbound channels route to specific agents based on your configuration.

Mobile Nodes

OpenClaw supports iOS and Android "nodes" pairing your phone as a node in the gateway network. This unlocks features like a live Canvas (a visual shared workspace the agent can draw on), camera access, screen sharing, and device-level actions.

Voice Support

On macOS and iOS, you can set up wake words for voice interaction. Android supports continuous voice mode. Text-to-speech responses are handled via ElevenLabs or system TTS fallback, with voice note transcription powered by Whisper.

Local Model Support

Don't want to pay per-token API fees? OpenClaw integrates with Ollama and any OpenAI-compatible local model server. Run a 7B model locally and keep all inference on your own hardware. The quality trade-off is real, but for personal use, local models via Ollama can be surprisingly capable.

How the Architecture Works?

When you send a message to your OpenClaw bot on WhatsApp, here's what happens:

  1. Channel adapter (Baileys for WhatsApp) receives the message and normalizes it into a common format
  2. Session manager resolves your identity and pulls conversation context
  3. Queue serializes the run — if a message arrives mid-task, it waits
  4. Agent loop reads the message, pulls memory and context, and decides how to respond
  5. Tool execution or model call happens (or both, multiple times)
  6. Reply gets serialized back through the channel adapter to WhatsApp

The whole thing runs on ws://127.0.0.1:18789 locally. There's a web-based Control UI for configuration, session management, and monitoring. You can expose the gateway remotely using Tailscale Serve/Funnel for secure remote access.

Setup Guide

Prerequisites

Before anything else, make sure you have:

  • Node.js 22 or later (this is required, not optional)
  • A supported OS: macOS or Linux are straightforward. Windows users need to run through WSL2
  • An API key for at least one AI provider (Anthropic, OpenAI, or Google) — or a local Ollama installation
  • A phone number for WhatsApp (if that's your chosen channel) or a bot token for Telegram

Option 1: macOS App (Easiest)

OpenClaw ships a macOS menu bar companion app. Download it from the official site, run it, and follow the guided onboarding wizard via openclaw onboard. This is the fastest path to a running instance if you're on a Mac.

Option 2: CLI Install

bash

npm install -g openclaw
openclaw onboard

The onboard wizard walks you through model configuration, channel setup, and pairing your first device. It's reasonably well-guided.

Option 3: Docker (Recommended for VPS Deployment)

For running OpenClaw on a cloud server, Docker is the way to go. The basic pattern:

bash

# Clone the repository
git clone https://github.com/openclaw/openclaw.git
cd openclaw

# Set up your environment file
cp .env.example .env
# Edit .env: add your OPENCLAW_GATEWAY_TOKEN and API keys

# Build and run
docker compose up -d

From there, open the browser Control UI, pair your browser device, and run through the onboarding wizard. The official docs have platform-specific guides for GCP, AWS, DigitalOcean, and others.

Configuration

Config lives at ~/.openclaw/openclaw.json. The defaults work for basic use, but you'll want to customize at minimum:

Locking down who can talk to your bot:

json

{
  "channels": {
    "whatsapp": {
      "allowFrom": ["+15555550123"],
      "groups": {
        "*": { "requireMention": true }
      }
    }
  }
}

Heartbeat interval:

json

{
  "agents": {
    "defaults": {
      "heartbeat": { "every": "30m" }
    }
  }
}

Context management (critical for long-running deployments to prevent context overflow and runaway costs):

json

{
  "contextPruning": { "mode": "sliding" },
  "compaction": { "mode": "safeguard" }
}

Connecting Your First Channel: Telegram

Telegram is the easiest starting point. Create a bot via BotFather, copy the token, add it to your config, and you're live in under 5 minutes.

WhatsApp is more complex because it uses Baileys, an unofficial WhatsApp Web library. You scan a QR code to link your number. It works well but it's worth knowing that unofficial WhatsApp integrations operate in a gray area with Meta.

Security Setup (Do Not Skip This)

Before adding capabilities to your agent, run the built-in security audit:

bash

openclaw doctor

This surfaces risky or misconfigured DM policies. Also critically: restrict which tools are enabled. Giving an AI agent shell execution access is significant. Only enable what you actually need.

Use Cases: What People Are Actually Doing With It

The community use cases range from genuinely useful to impressive to mildly alarming.

Personal Productivity

The most common use case is a personal assistant that handles scheduling, reminders, and daily briefings. Set up a cron heartbeat and OpenClaw sends you a morning brief every day at 6:30 AM — weather, calendar events, priority tasks, and whatever else you configure it to pull. One documented user gets calendar management, email drafting, and weekly analytics reports from YouTube and Substack delivered automatically, all via Telegram.

Google Workspace Integration

OpenClaw can read your Google Calendar, draft and send emails from a connected Gmail account, and edit Google Docs and Sheets you've explicitly shared with it. The setup reportedly takes about 10 minutes — one of the most immediately practical configurations for professionals.

AI-Powered Customer Support

The Zilliz team built an OpenClaw-based support bot for their Milvus community on Slack. Setup took 20 minutes. It now answers common questions, troubleshoots errors, and links to documentation — without a human having to monitor the channel constantly.

Developer Workflows

Several developers are using OpenClaw as a coordination layer for AI coding agents. One user described managing Claude Code and Codex sessions remotely, running automated tests, capturing Sentry webhook errors, and opening pull requests — all triggered from their phone.

Autonomous Negotiation

Software engineer AJ Stuyvenberg tasked his OpenClaw with negotiating the purchase of a 2026 Hyundai Palisade while he slept. The agent scraped local dealer inventories, filled out contact forms, and spent days playing dealers against each other — forwarding competing PDF quotes and asking each dealer to beat the previous offer. End result: $4,200 off. This is either amazing or slightly unsettling depending on your perspective.

Smart Home & IoT

Users are connecting OpenClaw to home automation systems, air quality monitors, and WHOOP health metrics. One user described handing off room climate control to their agent based on biomarker optimization goals.

Trading & Finance

Some users have connected their agents to Polymarket, monitoring news feeds and executing prediction market trades automatically. This is where you should probably have a careful conversation with yourself about risk tolerance.

Cost Breakdown: What You'll Actually Pay

OpenClaw the software is free — MIT license, no licensing fees, no usage charges built in. But running it has real costs that you need to plan for.

Hosting: $0 to $50/Month

Your agent needs to run 24/7. Options range from free to meaningful:

Free: Oracle Cloud's Always Free Tier gives you 4 ARM CPU cores, 24 GB RAM, and 200 GB storage — permanently, no trial period. The community considers this the best free hosting option, and it's powerful enough to run OpenClaw plus a local 7B model via Ollama simultaneously.

Budget: Hetzner VPS at ~$4/month is the community's top recommendation for paid hosting. Stable, reliable, excellent value. A basic DigitalOcean droplet runs $6/month and includes a security-hardened one-click OpenClaw deploy option.

Mid-range: AWS t3.medium instances run $30-40/month. More than most personal deployments need, but appropriate for team workflows.

Local hardware: A Mac Mini M4 costs ~$599 as a one-time purchase. Over 3 years, that's cheaper than cloud hosting, and you can run local models to eliminate API costs.

AI Model API: $1 to $150+/Month

This is the variable that matters most. Every message, every heartbeat check, every tool invocation makes API calls that consume tokens. You pay separately for input tokens (your prompt and context) and output tokens (the model's response).

Typical costs at moderate usage (roughly 50 messages/day):

Claude Haiku 4.5: ~$3-6/month (fast, cheap, handles most everyday tasks)

Claude Sonnet 4.5: ~$15-25/month (the sweet spot of quality and price per community consensus)

GPT-4.1 Mini: ~$8-12/month

Local via Ollama: ~$0/month in API costs, but you need capable hardware

One honest warning: an early user reported spending $40 on just ~12 messages with an unoptimized configuration. Out of the box, OpenClaw can be token-inefficient — context bloat, unnecessary tool calls, and forgotten background automations are all real cost leaks. Configure context pruning from the start.

Complete Monthly Cost Profiles

Free tier personal setup: Oracle Cloud free + Gemini Flash-Lite free tier = $0/month. Response latency runs 3-8 seconds and quality is a notch below premium models, but for hobby use it works.

Light personal use: Budget VPS ($5-6) + Claude Haiku 4.5 ($3-5) = ~$8-11/month. A freelance writer running scheduling reminders, draft outlines, and research queries at 30-40 messages/day lands here.

Moderate personal use: Hetzner VPS ($4) + Claude Sonnet 4.5 ($15-20) = ~$19-24/month. Comparable to a ChatGPT Plus subscription, but with dramatically more capability and full data ownership.

Small business: DigitalOcean droplet ($6) + mixed model routing ($25-40) = ~$31-46/month. A business handling 150+ daily WhatsApp customer messages lands here.

Heavy automation: $50-200+/month. At this scale, model routing (cheap models for simple tasks, expensive models for complex reasoning) and usage monitoring become essential.

Benefits

Full data ownership

Nothing about your conversations goes to a vendor's server unless you're using a cloud AI model for inference. Memory files, transcripts, and configuration all live on your hardware.

One agent, everywhere

The Gateway-first architecture means you get the same agent across 20+ messaging platforms. Add a new channel without rebuilding anything.

Proactive, not just reactive

The heartbeat system and cron support make OpenClaw genuinely autonomous. It doesn't wait to be asked it monitors, checks in, and acts on schedule.

Massive extensibility

ClawHub's skill ecosystem lets the community extend capabilities faster than any single team could. Thousands of skills already exist.

No platform tax

You pay for AI tokens and hosting not per-task fees or seat licenses.

Local model compatibility

Point it at Ollama, and all inference stays on your hardware. Zero API costs, complete privacy.

Active, helpful community

The Discord is genuinely active. For a project moving this fast, that community support matters more than the docs.

Cons & Limitations

Setup complexity is real

One of OpenClaw's own maintainers stated plainly in the project Discord: "If you can't understand how to run a command line, this is far too dangerous of a project for you to use safely." That's not gatekeeping it's an accurate assessment.

The security track record in its early weeks was rough

Within three weeks of going viral, OpenClaw became the center of a multi-vector security crisis. CVE-2026-25253, a one-click remote code execution vulnerability rated CVSS 8.8, was disclosed and patched in version 2026.1.29. Two additional command injection CVEs followed the same day. Two more advisories dropped within the week — five high-severity security advisories in under a week from a recently viral project.

ClawHub has a serious malware problem

Security firm Koi Security audited the skills marketplace and found 341 malicious skills in a coordinated campaign dubbed "ClawHavoc" — primarily delivering Atomic macOS Stealer (AMOS) targeting cryptocurrency wallets. Updated scans now report over 800 malicious skills, approximately 20% of the full registry. Typosquatting (fake usernames that mimic legitimate contributors) is actively being used. Do not install skills carelessly.

Token costs require discipline

Idle automations, verbose context windows, and model experimentation can silently inflate your bill. Community reports suggest forgotten test automations account for 10-30% of monthly AI spend for many users.

WhatsApp uses an unofficial library

Baileys is not an official Meta API. This works today, but it's an inherently fragile dependency.

The pace of change is high

Breaking changes happen. If you need stability and predictability, the current development pace may be uncomfortable.

Prompt injection is a structural risk

If your agent reads emails or web pages, malicious content embedded in those sources can potentially hijack its behavior. This isn't a bug in OpenClaw specifically it's a fundamental challenge with any AI agent that processes untrusted external content. But OpenClaw's broad system access makes the potential consequences more severe.

Security: What You Actually Need to Do

Given the above, here's the minimum viable security posture:

Run the audit first: openclaw doctor before adding any integrations.

Restrict access: Use channels.whatsapp.allowFrom to whitelist only your number. Never add your bot to public group chats.

Limit tool permissions: Enable tools on a need-to-use basis. If you don't need shell execution, don't enable it. If you don't need camera access, don't enable it.

Audit skills before installing: Read skill code. Check the author's contribution history. After ClawHavoc, treating ClawHub like you'd treat a random npm package with production server access is the right mental model.

Use an isolated environment for anything sensitive: Microsoft Security and CrowdStrike both recommend running OpenClaw in a dedicated VM or container, never on your main workstation with access to sensitive credentials or data.

Keep it updated: The team is patching actively. Run the latest version.

Don't expose your gateway to the internet: Use Tailscale for remote access instead of opening ports. Over 40,000 instances were publicly exposed in the first weeks of OpenClaw's popularity surge, and thousands were actively vulnerable.

Quick Start Summary

  1. Install Node.js 22+
  2. Run npm install -g openclaw && openclaw onboard
  3. Connect one channel — Telegram is the easiest starting point
  4. Choose your model: Claude Haiku 4.5 for budget, Sonnet 4.5 for quality
  5. Run openclaw doctor and harden your configuration
  6. Set up one real workflow — a morning briefing cron task is a great first automation
  7. Only then start adding ClawHub skills, and audit each one before installing

The official docs at docs.openclaw.ai are your source of truth. This guide gives you the map the docs give you the turn-by-turn directions.

OpenClaw vs. Alternatives

Tool        | Monthly Cost      | Self-Hosted | Open Source | Agent Capable

------------------|------------------------|-------------|-------------|---------------

OpenClaw      | $0 + API ($5–30)    | Yes      | Yes (MIT)   | Yes

n8n         | $0–50+          | Yes      | Partial    | Partial

Zapier   | $0–30+          | No      | No      | Limited

Botpress      | $0–500+         | No | Partial    | Yes

Claude Code | $20–200         | No      | Partial    | Yes

Custom Dev  | $500–5,000    | Yes      | Depends    | Yes


OpenClaw is one of the most genuinely interesting pieces of software to appear in years. The vision a persistent AI agent that follows you across every messaging app, does real work autonomously, and keeps all your data on your own hardware is compelling in a way that most AI tools aren't.

The execution is rough around some important edges. The security history in its early weeks was alarming, the ClawHub marketplace has a trust problem that's not fully resolved, and the setup complexity will filter out most casual users.

But the team is moving fast, the community is active and helpful, and the fundamentals of the architecture are sound. For developers and technically comfortable power users who want to experiment with what personal AI agents can actually do OpenClaw is worth the investment.

Relevant content:

https://artificialintelligenceherald.com/llm/what-is-google-gemini-everything-you-need-to-know-in-2026

https://artificialintelligenceherald.com/llm/what-is-claude-everything-you-need-to-know-about-anthropics-ai-assistant

https://artificialintelligenceherald.com/ai/best-ai-image-background-remover-tool



Top Citations:

  1. OpenClaw Official Docs — docs.openclaw.ai 9. OpenClaw GitHub — github.com/openclaw/openclaw 10. Baileys GitHub — WhatsApp Web unofficial library
  2. Immersive Labs — CVE-2026-25253 analysis (CVSS 8.8 RCE)
  3. Koi Security — ClawHavoc malware campaign audit (800+ malicious skills)
  4. Microsoft Security Blog — OpenClaw deployment security recommendations
  5. CrowdStrike — Threat analysis & isolated VM recommendations
  6. Cisco AI Security Blog — Prompt injection risk in agent frameworks
  7. Conscia — OpenClaw security crisis report
Avatar photo of Eric, contributing writer at AI Herald

About Eric

A Software Engineering graduate, certified Python Associate Developer, and founder of AI Herald, a black‑and‑white hub for AI news, tools, and model directories. He builds production‑grade Flask applications, integrates LLMs and agents, and writes in‑depth tutorials so developers and businesses can turn AI models into reliable products. We use ai research tools combined with human editorial oversight. All content is fact-checked, verified, and edited by our editorial team before publication to ensure accuracy and quality.

Related articles