Skip to main content

Introduction to OpenClaw

OpenClaw is a free, open-source, autonomous AI agent that runs locally on your machine. It connects large language models — Claude, GPT, Gemini, DeepSeek, Grok, or fully local models — to your files, shell, browser, messaging apps, and dozens of other services.

Think of it as a personal AI assistant that actually does things, not just answers questions.


What Makes OpenClaw Different

Unlike chatbots that wait for you to type, OpenClaw is an autonomous agent:

FeatureTraditional ChatbotOpenClaw
ExecutionResponds to promptsActs proactively via heartbeat
ScopeText in, text outFull system access (files, shell, browser, APIs)
MemorySession-basedPersistent local Markdown memory
IntegrationsNone or few50+ platforms (WhatsApp, Slack, Gmail, GitHub...)
HostingCloud serviceRuns on your machine
PrivacyData sent to providerAll data stays local
ExtensibilityLimited10,700+ community skills, 32,600+ MCP servers
AutonomyNoneHeartbeat fires every 30 min, takes action without prompting

Key Capabilities

Agent Fundamentals

  • Autonomous operation — The heartbeat system checks for pending tasks every 30 minutes and takes action without prompting
  • Persistent memory — Remembers facts, preferences, and context across sessions using local Markdown files
  • Multi-step reasoning — Breaks complex tasks into steps, executes them, and reports results
  • Execution approval — Asks permission before running shell commands (configurable: ask, auto, or deny)

Integrations

  • 50+ messaging channels — WhatsApp, Telegram, Discord, Slack, Signal, iMessage, Teams, Matrix, Feishu/Lark, and more
  • MCP ecosystem — 32,600+ Model Context Protocol servers with 229,800+ tools for databases, APIs, cloud services
  • Browser automation — Fill forms, scrape pages, interact with web apps
  • Email — Gmail integration with label management, auto-reply, digest generation

Extensibility

  • 10,700+ skills — Reusable task templates on ClawHub, the community marketplace with security scanning
  • Model-agnostic — Works with any LLM provider (Anthropic, OpenAI, Google, DeepSeek, xAI) or local models via Ollama, LM Studio, vLLM
  • Multi-agent — Spawn sub-agents for parallel work: research pipelines, DevOps fleets, specialized workers
  • Plugin system — Extend the gateway with custom functionality

Advanced Features

  • Workboard — Visual task management for tracking multi-step agent work
  • Voice and multimodal — Voice input/output, image understanding, screen reading
  • Dreaming mode — Self-directed exploration during idle heartbeat cycles
  • Self-improving — Can write code for its own new capabilities

A Brief History

OpenClaw has had one of the most dramatic trajectories in open-source history:

  1. November 2025 — Created by Peter Steinberger (founder of PSPDFKit) as Clawdbot
  2. January 27, 2026 — Renamed to Moltbot after Anthropic filed trademark complaints over the "Clawd" name being too close to "Claude"
  3. January 28, 2026Moltbook launches — a social network where AI agents autonomously post, comment, and vote. Andrej Karpathy calls it "the most incredible sci-fi takeoff-adjacent thing"
  4. January 30, 2026 — Renamed again to OpenClaw ("Moltbot never quite rolled off the tongue") — completing the fastest triple rebrand in open-source history
  5. January 30, 2026CVE-2026-25253 disclosed: a critical one-click RCE vulnerability. Patched in v2026.1.29
  6. Late January 2026 — Goes massively viral, gaining 100,000+ GitHub stars in ~2 days — the fastest repo to reach 100K stars in GitHub history
  7. February 2026 — 341 malicious ClawHub skills discovered; VirusTotal partnership announced; 40,000+ exposed instances found; adopted by Alibaba and Tencent; banned by Korean tech firms
  8. March 2026 — Structured heartbeat tasks, plugin system v2, and major security hardening
  9. June 2026377,000+ GitHub stars, 78,900+ forks, 365+ contributors
info

Steinberger has said he "ships code he doesn't read" — having made 6,600 commits in January alone using AI coding tools. This philosophy of rapid AI-assisted development is both OpenClaw's strength and a source of its security challenges.


Community and Ecosystem

MetricCount
GitHub stars377,000+
GitHub forks78,900+
Contributors365+
Discord members~176,000
Reddit subscribers143,000+ (r/OpenClaw + r/Clawdbot)
ClawHub skills10,700+
MCP servers32,600+
MCP tools229,800+

Notable community projects include Nanobot (15.9K stars, lightweight alternative), memU (8.8K stars, memory system), Moltworker (8.4K stars, Docker deployment), and NanoClaw (6.9K stars, minimal fork). See Ecosystem for the full landscape.


Who Is This For?

OpenClaw is aimed at:

  • Developers who want an AI that can read/write code, run tests, manage repos, and automate DevOps
  • Power users who want to automate email triage, messaging, scheduling, and research
  • Self-hosters who value privacy and local-first architecture
  • Tinkerers who want to build custom AI skills and workflows
  • Teams who want a shared AI agent for monitoring, alerting, and coordination

What OpenClaw is NOT

Setting the right expectations:

  • Not a web UI — OpenClaw is a CLI and gateway. For a web interface, see WebClaw (separate project, 637 stars)
  • Not a coding IDE — It can write and edit code, but it's not a replacement for VS Code or Cursor. It's a general-purpose agent, not a code editor
  • Not free to run — OpenClaw itself is MIT-licensed and free, but LLM API calls cost money. Local models are free but require capable hardware
  • Not secure by default — It runs with your user permissions, has had 10 CVEs in 6 months, and has been called a "security dumpster fire." Read the Security Guide before deploying
  • Not a hosted service — You run it on your own machine or server. There's no cloud version (by design — privacy is a core value)

Security: Read This First

OpenClaw grants your AI agent significant system access. Before deploying, understand the risks:

RiskDetail
Full system accessRuns as your user — can read/write any file, execute any command
10 CVEs in 6 monthsIncluding a critical one-click RCE (CVE-2026-25253)
Exposed instances40,000+ gateways found open on the internet in February 2026
Malicious skills341 trojanized skills (12% of ClawHub at the time) discovered in the ClawHavoc campaign
No auth by defaultGateway port 18789 is open without authentication unless configured

How to Stay Safe

  1. Always update — Critical patches ship frequently
  2. Bind to localhost — Don't expose port 18789 to the internet
  3. Enable gateway authentication — Set a token or use reverse proxy auth
  4. Start with ask permission mode — Approve each shell command before it runs
  5. Run openclaw security audit --deep — Built-in security scanner
  6. Use sandboxing — Docker container, --container flag, or VM for high-risk tasks

See Security Overview and Hardening Guide for complete guidance.

warning

Start with read-only permissions and expand gradually. Do not run OpenClaw as root. Do not expose the gateway to the internet without authentication.


The Cost Question

OpenClaw itself is free (MIT license), but LLM API costs can add up quickly:

Usage LevelApproximate Daily CostMonthly
Light (CLI chat only)$1-5$30-150
Moderate (heartbeat + channels)$5-20$150-600
Heavy (many channels, complex skills)$20-50+$600-1,500+
Local models (Ollama/vLLM)$0$0

Reducing Costs

The biggest cost driver is the heartbeat — it fires every 30 minutes, 24/7, each cycle consuming tokens. Five changes can cut costs by up to 97%:

ChangeEffect
Use Haiku/cheap model for heartbeatSave 80-90% of heartbeat cost
Increase heartbeat interval to 60 minSave 50%
Enable quiet hours (no heartbeat while sleeping)Save 33%
Use a local model for heartbeatSave 100% of heartbeat API cost
Enable isolatedSession for heartbeatReduce context from 100K to 2-5K tokens per cycle

One documented case: $1,200/month reduced to $36/month with model routing alone.

See Cost Management and Performance Tuning for detailed strategies. For the zero-cost path, see Local Models.


How Does It Compare?

OpenClaw occupies a unique position — the only open-source agent with full system access, 50+ channel integrations, persistent memory, and autonomous heartbeat:

AgentTypeAutonomyIntegrationsCostOpen Source
OpenClawGeneral-purpose agentFull (heartbeat)50+ channels$0 + APIYes (MIT)
DevinCoding agentTask-basedIDE only$500/moNo
Cursor AgentCoding agentIDE-embeddedIDE only$20-40/moNo
GitHub Copilot AgentCoding agentGitHub-integratedGitHub$10-39/moNo
Open InterpreterCLI agentReactive onlyShell only$0 + APIYes
CrewAIMulti-agent frameworkFramework-levelProgrammatic$0 + APIYes

OpenClaw is the most autonomous and most integrated option — and also the highest risk. The commercial alternatives (Devin, Cursor, Copilot) are more constrained but safer.

See Comparison for the full feature matrix.


System Requirements

ComponentMinimumRecommended
OSmacOS, Linux, Windows (WSL2 required)macOS or Linux
Node.js22.19+ LTS24
RAM2 GB (gateway only)4 GB+
Disk500 MB2 GB+ (for memory, skills, logs)
NetworkOutbound HTTPS (for cloud LLMs)Stable connection

For local models, add GPU requirements:

VRAMRecommended ModelQuality
8 GBQwen3 8BBasic tasks
16 GBQwen3 14BGood for most tasks
24 GB (RTX 4090)Qwen3 32BExcellent daily driver
40-80 GB (A100)Llama 3.3 70BNear-cloud quality
caution

Windows requires WSL2 — native Windows support is experimental. Raspberry Pi and ARM single-board computers are not supported.


Next Steps

StepTimeLink
Install OpenClaw2 minInstallation
Get your first chat working5 minQuick Start
Understand the architecture10 minCore Concepts
Structured learning path7 daysFirst 7 Days
Lock down security15 minSecurity Hardening