Everything that happens under the hood when you text your AI agent at 2 AM: the Gateway, the command queue, the agent loop, memory, automations and skills. Updated November 2026 for OpenClaw 2026.11.10.
It was a Tuesday night, and I was watching my OpenClaw agent reply to a Slack message, browse a competitor's pricing page, summarize the findings, and drop the results into our team channel.
No one asked it to do the last part. It just... did.
That was the moment I stopped thinking of OpenClaw as a chatbot and started thinking of it as infrastructure. But I had no idea how any of it actually worked. If you're like most of the people behind its nearly 400,000 GitHub stars, you probably don't either.
So this isn't another setup guide. It's every layer under the hood, and where things get complicated when you run it yourself.
What is OpenClaw? (definition)
OpenClaw is a free, open-source (MIT-licensed) AI agent runtime that runs on your own computer or server and talks to you through chat apps like WhatsApp, Telegram, Slack and Discord. One background process, the Gateway, routes every message to an agent loop that calls the model you choose, runs tools and skills, and remembers what it learns in plain files.
Automations let the same agent act on a schedule without being asked. That's the whole thing. The rest of this article is what each of those pieces does.
| OpenClaw at a glance | |
|---|---|
| Made by | Created by Peter Steinberger; now stewarded by the OpenClaw Foundation, an independent 501(c)(3) non-profit |
| Licence | MIT. No paid tier, hosted service or token |
| Language | TypeScript (Node.js) |
| First release | v0.1.1, 25 November 2025 |
| Current version | 2026.11.10, released 25 November 2026 (extended-stable line: 2026.9.37) |
| GitHub | openclaw/openclaw, about 395,000 stars and 83,000 forks |
Facts checked against the GitHub repo and releases API on 25 November 2026.
What can OpenClaw do? 10 things people use it for
Because the agent lives in your chat apps, has tools, and can run on a schedule, people use it for a surprisingly wide range of jobs. The ten that come up most often:
- Morning briefings. A scheduled job pulls your calendar, inbox and news and sends a summary to Telegram or WhatsApp before you wake up.
- Email triage. Sort, label and draft replies, with Gmail push notifications triggering the agent as mail arrives.
- Meeting notes and action items. Turn transcripts into decisions and follow-ups, posted back to your team channel.
- A personal knowledge base. Search your notes and documents from chat, backed by OpenClaw's memory search.
- A lightweight CRM. Keep contacts and deal notes in workspace files and ask the agent who needs a follow-up.
- Multi-agent advisory. Route different questions to separate specialist agents with their own models and rules.
- Developer workflows. Watch repos, summarize pull requests, run commands on a paired machine.
- Research. Browse, compare and summarize sources. Since 2026.11.10, Deep Research is on by default and returns a cited report.
- Content and social pipelines. Draft, schedule and repurpose posts across channels.
- Smart home and life admin. Reminders, location-based nudges through a paired phone, and home automation through skills.
Our roundup of the best OpenClaw use cases goes deeper on each, including what still doesn't work well.
OpenClaw architecture at a glance: Gateway, agent loop, skills, channels
OpenClaw has one long-lived Gateway process per host that owns every chat channel, a per-session agent loop that assembles context, calls the model and runs tools, skills written as SKILL.md Markdown files, and clients and nodes (CLI, desktop and mobile apps) that connect to the Gateway over WebSocket. Memory lives in Markdown in the workspace; session state in SQLite (PostgreSQL optional).

| Layer | What it does | Where it lives |
|---|---|---|
| Channels | Telegram, WhatsApp, Slack, Discord, Signal, iMessage, Teams and 20+ more | Channel plugins inside the Gateway |
| Gateway | Routing, sessions, auth, pairing, automations | One background service per host |
| Command queue | Orders messages per conversation, handles messages that arrive mid-run | Inside the Gateway process |
| Agent loop | Context, model call, tools, reply | Agent runtime |
| Tools and nodes | Shell, browser, files, MCP servers, phone camera and location | Host, sandbox or paired device |
| Memory and skills | Persona, rules, durable facts, capabilities | Markdown files in the workspace |
| State | Sessions, transcripts, search index, automation history | SQLite (PostgreSQL optional) |
The Gateway: OpenClaw's Nervous System
Everything in OpenClaw flows through a single process called the Gateway. It's the control plane: the one place that knows which channels are connected, which sessions exist and who is allowed to talk to the agent. It runs as a background service (systemd on Linux, launchd on macOS) and serves WebSocket and HTTP on one port, ws://127.0.0.1:18789 by default. The Control UI, CLI, terminal UI, mobile apps and paired devices all connect to it there. It has four jobs:
Routing. When a message arrives from any of the 30+ supported channels, the Gateway decides which agent and session handles it. Different channels or contacts can go to fully isolated agents.
Session management. Each conversation gets its own session. Since 2.0, sessions and transcripts live in a per-agent SQLite database (PostgreSQL is also supported), and since v2026.10.10 you can move a session between your machine and a cloud environment.
Authentication. Gateway auth is required by default and fails closed: with no valid auth, the Gateway refuses WebSocket connections. Onboarding generates a token even for a local-only setup, and new devices have to be paired.
Automations. Scheduled jobs run inside the Gateway process, not inside the model, so the Gateway has to be running for anything scheduled to fire. More on that below.
The Gateway is a single point of failure: one Gateway per host, and if it crashes every channel goes silent until it restarts. Recovery has improved a lot (interrupted turns resume, queued messages drain), but if it's misconfigured, your agent is either unreachable or, worse, reachable by the wrong people. Our OpenClaw gateway guide covers bind settings and remote access in detail.
How clients and nodes talk to the Gateway (the transport layer)
Under the hood, the Gateway speaks a typed protocol over WebSocket (this is what "openclaw transport layer" queries are about):
- Transport: JSON text frames: requests
{type:"req", id, method, params}, responses{type:"res", id, ok, payload}, and server-pushed events{type:"event", event, payload}. - Handshake: the Gateway sends a
connect.challengenonce, the client's first frame must beconnect(device clients sign the nonce), and the Gateway answers withhello-okplus the client's role and scopes. - Roles and scopes:
operatorfor control-plane clients (CLI, Control UI, apps),nodefor capability hosts,workerfor cloud execution hosts. Config and update methods needoperator.admin. - Nodes: companion devices (macOS, iOS, watchOS, Android or headless) that expose commands like
camera.*orlocation.get. Chat messages never arrive at a node, and the Gateway enforces its own allowlist on each node's commands.
An agent request returns a runId with status: "accepted" straight away, streams events while it works, then sends a final status and summary.

The command queue: what happens when messages arrive mid-run
You send a message, the agent starts working, and you send two more before it finishes. What happens to them? OpenClaw answers with a small in-process command queue, one of the least-discussed and most important parts of the architecture.
Lanes keep work isolated. Every session gets its own first-in, first-out lane (session:<key>), so only one agent run touches a conversation at a time. Background work gets separate lanes (cron, subagent and others), so a long scheduled job never blocks your replies.
Queue modes decide what a mid-run message does. You set them with /queue <mode> in chat or in config:
| Mode | What happens to a message that arrives while the agent is busy |
|---|---|
steer (default) | Injected into the active run after the current tool calls finish, before the next model call. No second run starts |
followup | Waits and runs as its own turn after the current run ends |
collect | Batches waiting messages into one later turn |
interrupt | Aborts the current run and starts on the newest message |
Options control turn formation. debounceMs (default 500) is the quiet window before queued messages are drained, so several quick messages become one turn. cap (default 20) is the maximum queued messages per session. drop decides what happens when the queue is full: summarize (default) drops the oldest messages but injects compact summaries of them as a follow-up prompt, old drops them with no summary, and new rejects the newest message. Set it in config under messages.queue (with per-channel overrides in byChannel) or per session with /queue collect debounce:0.5s cap:25 drop:summarize.
If your agent seems to ignore messages or answer them out of order, the queue mode is the first thing to check. Our guide to an OpenClaw agent stuck in a loop covers the related failure modes.
The Agent Loop: Input, Think, Act, Repeat
Once a message reaches the front of its lane, the agent runtime takes over. OpenClaw uses the familiar ReAct loop (Reason + Act), with a few wrinkles worth knowing.

Here's the flow:
- Run accepted. The request returns a
runIdstraight away;agent.waitonly observes the run, it never stops it. - Context assembly. OpenClaw builds the context window: system prompt, workspace files (
AGENTS.mdfor rules,SOUL.mdfor persona,USER.mdfor preferences,MEMORY.mdfor durable facts), history, tool schemas and available skills./context listshows exactly what went in. - Model inference. The context goes to whichever model you configured. OpenClaw is model-agnostic: you set a primary model and fallbacks in
~/.openclaw/openclaw.json, and it falls back when a provider fails. Our model routing guide covers the setup. - Tool execution. If the model wants to act, it emits a tool call. Arguments are validated against the tool's schema, the tool runs (in a sandbox if configured), and the result goes back to the model.
- Loop or reply. Complex tasks run several cycles. When the conversation nears the context limit, OpenClaw compacts older turns into a summary and keeps going.
Everything streams out as assistant, tool and lifecycle events, which is what the Control UI shows you live. Plugins can hook into the loop at points such as before_tool_call, where returning block: true stops a tool from running at all.
The key insight: OpenClaw isn't a chatbot that sometimes uses tools. It's an orchestration engine that happens to communicate through chat.
Skills, Memory, and the "It's All Just Files" Philosophy
One of OpenClaw's boldest design decisions is that the agent's brain is a folder of files. Personality is SOUL.md, rules are AGENTS.md, long-term memory is MEMORY.md plus dated notes in memory/, and each skill is a folder with a SKILL.md. It all lives in the workspace (~/.openclaw/workspace by default). Machine state (sessions, transcripts, the search index) moved to SQLite in 2.0, but everything you read and write is plain Markdown.

The strength: you can version the workspace with Git and inspect every rule, memory and skill. The headache: you're responsible for a growing pile of files, MEMORY.md gets cut off if it outgrows the bootstrap budget, and drift between your files and what the agent actually does becomes a real problem. If your AGENTS.md is getting long, our AGENTS.md optimization guide and SOUL.md guide help.
Skills
Skills are capability packages that teach your agent how to use tools: browse the web, handle email, manage GitHub repos. You can write your own or install them from ClawHub, the community registry, with a single command. Our list of the best OpenClaw skills is a good starting point.
The registry has had security problems: Cisco's AI security team built a malicious third-party skill that exfiltrated data and injected prompts, to show how the trust model could be abused. ClawHub now shows security audit results before you install, but you're still giving community packages access to your agent's tools.
Memory: how OpenClaw remembers
Memory got the biggest rebuild in 2.0. Memory Core, the default plugin, is plain files plus one SQLite index, and the model only remembers what is written to files. It's split into tiers, each with its own trust level:
| Tier | Files | Who writes it | When it reaches the model |
|---|---|---|---|
| Instructions | AGENTS.md and other instruction files | Humans only | Every session start |
| Curated core | MEMORY.md, USER.md | Dreaming, or you asking directly | Session start, within a budget |
| Episodic | memory/YYYY-MM-DD.md daily notes, transcripts | The agent while working | Only when recalled |
| Prospective | Standing intents, scheduled jobs | The intent tool, automations | Only when a trigger fires |
| Review | DREAMS.md, dreaming reports | Dreaming | Never; it's for you to read |

Writing, promoting, recalling. The agent jots notes into the daily file as it works, and a silent memory flush before compaction saves anything important. Every entry carries provenance (owner, agent, untrusted or system), and content from scheduled or subagent sessions can't become durable memory. Dreaming, on by default, promotes facts into MEMORY.md in the background after a rule-based ranking and logs each rewrite to DREAMS.md. Recall starts with MEMORY.md and USER.md at session start plus memory_search and memory_get; a recall subagent only runs when your message shows recall intent and the cheap search found nothing strong.
2026.11.10 added Knowledge, an opt-in memory provider (plugins.slots.memory: "knowledge") that builds a linked Markdown vault of people, projects and decisions. Our memory compaction guide and memory plugins comparison walk through how memory behaves in practice.
Automations: what replaced the heartbeat
Older guides describe the heartbeat: every 30 minutes the Gateway woke the agent to check a HEARTBEAT.md checklist. Heartbeat monitors are now retired. So is the HEARTBEAT.md file. Periodic checks are ordinary automation jobs with their own schedule, prompt, model, delivery settings and run history, and setup creates one called Proactive check for your main agent that runs every 30 minutes unless your model provider sets a different cadence.
Migrating an older setup:
openclaw doctor --fix
openclaw automations list --all
Doctor converts each old monitor into an editable job and imports supported HEARTBEAT.md content. One thing catches people out: heartbeat-specific duplicate suppression is gone, so check your migrated jobs' delivery settings.
What automations can do:
- Run on a schedule (cron expressions or one-shot
--atjobs that delete themselves after success) - Fire from webhooks and Gmail push notifications
- Since v2026.10.10, fire from MCP events
- Run in their own lane, so they never block live conversations
Jobs live in the SQLite state database, so restarts don't lose schedules. If yours aren't firing, our cron troubleshooting guide covers the usual causes.

Multi-Channel: One Agent, Every Platform
This is the feature that made OpenClaw go viral. A single agent can connect to WhatsApp, Telegram, Slack, Discord, Signal, iMessage, Microsoft Teams, Matrix, WebChat and 20+ other channels at once, mostly through official plugins that install with one command. Each adapter normalizes messages and hides platform quirks (WhatsApp's QR pairing through Baileys, Discord and Slack bot tokens), so the agent runtime never needs to know which platform it's talking to.
By default, a personal agent keeps one rolling "main session" across your direct chats: text it from WhatsApp on the commute, switch to Slack at your desk, and it's the same conversation and memory.
One agent or several. Multi-agent routing binds different channels or contacts to fully separate agents, each with its own workspace and model. Subagents let a parent hand a focused piece of work to a child, which runs in the subagent lane and reports back. Our multi-agent setup guide walks through both.
The real-world problem: three channels means three auth flows, three sets of credentials and three failure modes. I've seen developers spend a whole weekend getting WhatsApp, Telegram and Slack working together reliably.
MCP, nodes and sandboxes: where tools actually run
When the agent "uses a tool", the work can happen in four places, which matters for both security and debugging.
On the host. By default, tools run on the machine running the Gateway. That's the simplest setup and the riskiest one.
In a sandbox. Sandboxing is off by default. Turn it on (agents.defaults.sandbox, for example non-main to sandbox everything except your own main chat) and tool execution moves into Docker, Podman or SSH; the Gateway stays on the host.
On a node. Commands can target a paired device: take a photo on your phone, read its location, or run a command on another Mac. The Gateway enforces each node's command allowlist.
Through MCP. OpenClaw works in two MCP roles:
- As an MCP client, it keeps a registry of external MCP servers under
mcp.serversand projects their tools into agent runs. It supports stdio, SSE/HTTP and streamable HTTP transports, with OAuth login. - As an MCP server,
openclaw mcp servelets an external MCP client (Claude Code, for example) read and send your channel conversations through tools likeconversations_list,messages_readandmessages_send, plus approval tools.
Scope MCP servers the same way you scope skills. Our exec approvals guide covers how to require sign-off before risky commands run.
How OpenClaw works with Claude, Claude Code, Ollama and WhatsApp
These four come up in search more than any other pairing, so here's where each one plugs into the architecture above.
OpenClaw with Claude
Claude is one of the models the agent loop can call. OpenClaw's Anthropic provider supports two ways in: an Anthropic API key with usage-based billing, or the Claude CLI runtime, which reuses an existing Claude Code login on the same host. Anthropic's rules on using Claude subscriptions in third-party tools changed several times in 2026, so for an always-on agent an API key is the setup least likely to break. Our post on the Claude subscription ban and reversal tracks the current status.
OpenClaw with Claude Code
Claude Code and OpenClaw are different kinds of tool. Claude Code is Anthropic's coding agent that you drive from a terminal; OpenClaw is an always-on agent that lives in your chat apps. They connect in two ways: Claude Code can act as an MCP client to openclaw mcp serve and read or send your channel conversations, and OpenClaw can run Claude models through the Claude CLI runtime. Plenty of people also use Claude Code to write their OpenClaw config. Our Claude Code and OpenClaw guide shows the workflow.
OpenClaw with Ollama (running locally)
Ollama serves local models; OpenClaw is the agent that calls them. The one setting that matters: OpenClaw talks to Ollama's native API (/api/chat), so your baseUrl should be http://host:11434 with no /v1. The docs warn that the OpenAI-compatible /v1 URL breaks tool calling. Model choice matters too, because local models vary a lot in how reliably they call tools. Our OpenClaw + Ollama guide has the config and model picks.
OpenClaw with WhatsApp
WhatsApp is a channel plugin, @openclaw/whatsapp, that links to your account through WhatsApp Web (Baileys) as a linked device. Onboarding offers to install it the first time you pick WhatsApp; then openclaw channels login --channel whatsapp shows a QR code to scan. Login is QR-only, and the Gateway owns the linked session. Our OpenClaw WhatsApp setup guide covers the steps and the WhatsApp-specific gotchas.
The Security Question No One Can Ignore
Let's be direct. OpenClaw asks for a level of system access that would make any security engineer nervous.
It can read and write files, run shell commands, control your browser and access your email, calendar and messaging accounts. With broad host access and no sandbox, a compromised agent can do a lot of damage.
Prompt injection is the biggest threat. OpenClaw reads outside content (group chats, forwarded messages, web pages), and a malicious prompt hidden there can hijack the agent. CrowdStrike published a detailed analysis of how attackers poison an agent's inputs to hijack its tools. Our write-up on WhatsApp prompt injection shows how it plays out in practice.
OpenClaw's maintainers have been responsive. Gateway auth is required by default, unknown senders have to be approved through DM pairing, memory now tags untrusted content at write time, and openclaw security audit checks your configuration for common footguns (openclaw doctor covers broader health and migrations). But as one of OpenClaw's own maintainers warned in 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 an honest assessment. Start with our OpenClaw security checklist.
You could have invented OpenClaw: the architecture from first principles
In February 2026, Nader Dabit published an essay called "You Could've Invented OpenClaw" that rebuilt OpenClaw's architecture from scratch, starting with nothing but a messaging API and a language model. It went viral because it shows that every piece of OpenClaw is the obvious answer to a problem you hit along the way.
Here's that build-up, mapped to the current architecture:
| Step | The problem you hit | What you build | What OpenClaw calls it |
|---|---|---|---|
| 1 | You want to talk to a model from your phone | A bot that forwards chat messages to an LLM | Channel adapter |
| 2 | It forgets everything between messages | Save each conversation to disk | Sessions and transcripts |
| 3 | It has no consistent personality or rules | A file describing who it is and how to behave | SOUL.md, AGENTS.md |
| 4 | It can only talk, not act | Let the model call functions, and loop until done | Tools and the agent loop |
| 5 | Some actions are dangerous | Ask before running, remember what you approved | Exec approvals, sandboxing |
| 6 | Conversations get too long | Summarize old turns | Compaction |
| 7 | It forgets facts across conversations | Notes on disk plus search | Memory, memory_search, dreaming |
| 8 | You want it to act without being asked | A scheduler | Automations, Proactive check |
| 9 | Scheduled jobs block live replies | Separate queues per kind of work | Command queue lanes |
| 10 | You want Telegram and Slack and WhatsApp | One process that owns every channel | The Gateway |
| 11 | One agent is doing too much | Agents that hand work to other agents | Multi-agent routing, subagents |
The essay's heartbeats now live on as automation jobs in the cron lane. The takeaway: OpenClaw isn't magic. It's a dozen sensible decisions stacked together, and every one of those layers is something that can break.

Felix: what a production OpenClaw agent looks like
The most famous real-world OpenClaw setup is Felix, the agent entrepreneur Nat Eliason built on a Mac Mini and made the "CEO" of his company. It shows how the architecture gets used when real money is involved.
In a March 2026 interview, Felix described its own stack:
- Brain: Claude Opus 4.6 at the time
- Body: OpenClaw, for sessions, heartbeats, cron scheduling, plugins and the runtime
- Channels: Discord as the main channel with Nat, Telegram for customers, and AgentMail for email
- Memory: a three-layer system with nightly consolidation, built on Tiago Forte's PARA method (projects, areas, resources, archives)
- Delegation: heavy coding handed off to Codex rather than done by Felix itself
A few design decisions stand out:
- Information channels vs command channels. Public mentions and inbound email are information, not instructions; only Nat's authenticated channels give orders. That's the best defence against prompt injection, and you can copy it with DM pairing and per-channel tool policies.
- The human still sets direction. Felix proposes a plan every night; Nat approves or edits it every morning.
- Mistakes become constraints. When Felix gets something wrong, Nat changes the system so it can't happen again.
- Real stakes. Reported lifetime revenue was about $177,000 across its products and marketplace by late March 2026.
People often search for Nat's system prompt, but the lesson is the structure, not the wording: a clear persona, hard rules about which channels are trusted, a nightly planning loop and a morning human sign-off. In today's OpenClaw, Felix's heartbeat checklist would be an automation job and his nightly consolidation would map onto dreaming.
Who makes OpenClaw and where is it based?
| Date | What happened |
|---|---|
| November 2025 | Austrian developer Peter Steinberger, founder of PSPDFKit, publishes the project as Clawdbot |
| January 27, 2026 | Renamed Moltbot after Anthropic raised a trademark concern about "Clawd" |
| January 30, 2026 | Renamed OpenClaw |
| February 2026 | Steinberger joins OpenAI; the project moves to the non-profit OpenClaw Foundation |
| August 30, 2026 | OpenClaw 2.0 (v2026.8.1) announced |
| November 3, 2026 | v2026.10.10, the largest release since 2.0 at the time (3,028 pull requests) |
| November 25, 2026 | v2026.11.10, the current stable release (7,671 pull requests, 349 contributors) |
Who makes it? Peter Steinberger started OpenClaw and built it with the community. Today it's developed in the open by the OpenClaw Foundation, an independent 501(c)(3) non-profit that employs the core team and signs releases. Donors include Amazon, OpenAI and Red Hat, and the README is explicit that none of them own or direct the project: "OpenAI is a donor, not an owner."
Where is OpenClaw based? It isn't a company with an office. It's an open-source project stewarded by a US 501(c)(3) non-profit, with contributors worldwide, and its creator is Austrian. OpenAI hired Steinberger; it did not buy OpenClaw.
What changed in recent releases
If you last looked at OpenClaw around the 2.0 launch, these are the architecture-level changes since. The current stable release is 2026.11.10, published 25 November 2026.
- Deep Research (2026.11.10), on by default: multi-source research in chat that returns a cited report
- Knowledge (2026.11.10), an opt-in memory provider that builds a linked Markdown vault from your work
- Heartbeats became automations, with the default Proactive check job
- Cloud and desktop sessions: move a session between your machine and a cloud environment
- PostgreSQL stores as an alternative to SQLite, with backups that survive updates
- A rebuilt Control UI with a new navigation rail and session workspace
- Mobile nodes: Android gained system, photos, contacts, calendar and motion capabilities
- MCP apps and MCP-triggered automations
- Local models: managed llama.cpp setup for OCR, vision and embeddings
- Much more reliable subagents across restarts
Our OpenClaw latest version page tracks what changed in each release and whether it's safe to update.
OpenClaw on GitHub: the repo, releases and how to read the update issues
The repo. The canonical repository is openclaw/openclaw. Everything lives there: the MIT-licensed TypeScript source, the Gateway, docs, releases and the issue tracker. As of 25 November 2026 it has about 395,000 stars and 83,000 forks, among the most starred repositories in GitHub's history.
Search "openclaw github" and you'll also get mirrors, lookalike orgs and typosquats. Three checks before you trust a repo:
- The org is
openclaw, notopenclaw-ai,open-clawor anything with a hyphen you didn't expect - The license file says MIT and the main language is TypeScript
- The release history is dense and version numbers are date-based, like 2026.11.10

The releases. Versions are date-based, and there are two lines on the Releases page worth telling apart:
| Line | Current version | What it is |
|---|---|---|
| Stable | 2026.11.10, released November 25, 2026 (marked Latest) | The normal release line. 2026.11.9 shipped earlier the same day, 2026.11.8 on November 24 and 2026.11.7 on November 23 |
| Extended-stable | 2026.9.37, released November 10, 2026 | A Gateway-only line: OpenClaw from the end of September 2026 plus critical security updates, reliability and performance fixes, and new model support |
You'll also see pre-releases such as 2026.11.10-beta.1 to beta.3. Those are betas, not something to run an agent you depend on. How to update OpenClaw covers updating safely.
The "Update failure: …" issues. Issues titled like Update failure: validating (2026.10.9) aren't hand-written: when an update fails, the updater rolls back and builds a report (version, platform, install method, failed phase, rollback result) that the user confirms before filing. GitHub search shows 519 of them opened during October 2026. That says updates break often enough to matter, not what share fail. Check the newest ones for your version before updating, and back up first.
Installing. The official installer script from openclaw.ai (a one-line curl command on macOS, Linux and WSL2, or PowerShell on Windows) installs Node.js if needed and launches onboarding. Our complete setup guide covers every path, including npm and building from source.
OpenClaw vs Hermes vs BetterClaw: how they relate
These three names get searched together, but they aren't three versions of the same thing.
- OpenClaw is an open-source, self-hosted agent runtime (TypeScript, MIT) stewarded by the OpenClaw Foundation. You run the Gateway yourself.
- Hermes Agent is a separate open-source, self-hosted agent from Nous Research (Python, MIT). It solves a similar problem with a different design, and the two have converged a lot in 2026. Our OpenClaw vs Hermes comparison goes through the real differences.
- BetterClaw is a no-code AI agent platform. It is not built on OpenClaw or Hermes and doesn't run either; it's an alternative for people who want the agent without running the infrastructure. Our BetterClaw vs OpenClaw comparison lays out the trade-offs.
If you want to keep OpenClaw but hand off the server, that's a fourth option: a managed OpenClaw host. Our OpenClaw hosting guide compares them.
Where self-hosting starts to hurt (and where BetterClaw fits)
Understanding how OpenClaw works is one thing. Running it reliably is another.
You need a machine running 24/7. You need to manage Node.js versions, update without breaking your config (519 failed-update reports in one month says a lot), rotate credentials for every platform, watch the Gateway, and have a plan for when things break at 3 AM. Proper security adds sandboxing, firewall rules, non-root execution and regular audits. Our cost breakdown shows what the API side adds.
For developers who enjoy infrastructure, this is a fun weekend. For everyone else, it's a part-time ops job.

That's the problem we built BetterClaw to solve. It's a no-code AI agent builder that gives you what this article covered (an agent loop, multi-channel connections, skills, memory, scheduled tasks) without any of the infrastructure work:
- Deploy in under a minute. No config files, no terminal, no Gateway to babysit.
- 500+ connectors, unlimited skills and MCP support.
- Your models, your key. Bring your own key for Claude, GPT, Gemini or OpenRouter with zero markup, or run local models through the BetterClaw desktop app.
- Security by default. Sandboxed execution, a kill switch, AES-256 encryption and ISO 27001 certification.
There's a Free plan with 1 agent and 100 credits a month. Paid plans start at $19/month for Starter, with Pro at $49/month for 5 agents ($39/month billed annually) and Business at $149/month for 25 agents. Your first workspace gets a 7-day free trial on any plan.
If you want to tinker and learn, self-host OpenClaw. If you want a production-grade agent running reliably across your team's chat channels, give BetterClaw a try.
Related Reading
- OpenClaw vs Hermes: Head-to-head on setup, models, channels, hosting and cost
- OpenClaw Latest Version: What changed in each release and whether to update
- Claude Subscription and OpenClaw: The Ban, the Reversal, and What To Do: What changed in Anthropic's terms and your options now
- OpenClaw Multi-Agent Setup: Routing, subagents and agent teams
- Complete OpenClaw Setup Guide: Install, configure and run your first agent
- What OpenClaw Actually Costs to Run: API fees, hosting, and the overhead no one budgets for
Frequently Asked Questions
What is OpenClaw and how does it work?
OpenClaw is an open-source (MIT-licensed) AI agent that runs on your own machine and connects to chat apps like WhatsApp, Telegram, Slack and Discord. Every message goes through a central Gateway process, which queues it per conversation and hands it to an agent loop that builds context, calls your chosen model, runs tools and replies. Memory is stored as Markdown files, and automation jobs let it act on a schedule.
What is OpenClaw used for?
People use OpenClaw as a personal or team assistant that lives in their chat apps: morning briefings, email triage, meeting notes, searching their own notes and documents, research, developer workflows, content pipelines and home automation. Because it can run tools and scheduled jobs, it does work on your behalf rather than just answering questions.
Is OpenClaw free and open source?
Yes. OpenClaw is MIT-licensed and the README says it has no paid tier, hosted service or token. Running it still costs money: you pay your model provider for API usage (or run local models) and for the machine it runs on.
Who created OpenClaw?
Austrian developer Peter Steinberger, the founder of PSPDFKit, published it in November 2025 as Clawdbot; it was renamed OpenClaw in January 2026. It's now developed by the OpenClaw Foundation, an independent non-profit. Steinberger joined OpenAI in February 2026, but OpenAI doesn't own the project: in the README's words, "OpenAI is a donor, not an owner."
What is the OpenClaw Gateway?
The Gateway is the single long-running background process at the centre of OpenClaw. It owns every chat channel, routes messages to the right agent and session, enforces authentication and pairing, and runs scheduled automations. By default it binds to 127.0.0.1:18789, and the CLI, Control UI, apps and paired devices all connect to it over WebSocket. There is one Gateway per host.
Is OpenClaw the same as Claude Code?
No. Claude Code is Anthropic's coding agent that you run in a terminal to work on code. OpenClaw is an open-source, always-on agent that lives in your chat apps and works with many model providers. They can work together: Claude Code can connect to OpenClaw as an MCP client through openclaw mcp serve, and OpenClaw can run Claude models through an API key or the Claude CLI.
What does the OpenClaw architecture look like?
Seven main parts: channel adapters, the Gateway (the control plane, one per host), a lane-based command queue, the agent loop, tools (on the host, in a sandbox, on paired nodes or through MCP), memory and skills as workspace files, and state in SQLite or PostgreSQL.
What does drop: "summarize" mean in OpenClaw's queue settings?
It controls what happens when a conversation's queue is full (20 messages by default). summarize, the default, drops the oldest queued messages but injects short summaries of them as a follow-up prompt, so nothing is silently lost. old drops them with no summary, and new rejects the newest message.
How does OpenClaw memory work?
Memory Core, the default memory plugin, stores memory as Markdown in the workspace plus one SQLite index. MEMORY.md and USER.md hold curated facts loaded at session start, daily notes in memory/ hold the rest until recalled with memory_search, and Dreaming promotes durable facts into MEMORY.md in the background.
What happened to the OpenClaw heartbeat and HEARTBEAT.md?
Both are retired. Periodic checks are now ordinary automation jobs, and setup creates a default "Proactive check" job that runs every 30 minutes. Run openclaw doctor --fix to migrate an older setup.
Does OpenClaw support MCP?
Yes, in both directions. As an MCP client it connects to servers listed under mcp.servers and exposes their tools to agents. As an MCP server, openclaw mcp serve lets clients like Claude Code read and send your channel conversations. Since v2026.10.10, MCP events can also trigger automations.
How do I deploy OpenClaw without managing Docker and infrastructure?
Use a managed OpenClaw host, or skip OpenClaw and use a no-code AI agent platform like BetterClaw, which handles infrastructure, security and channels for you. There's a Free plan, paid plans start at $19/month, and your first workspace gets a 7-day free trial.
Is OpenClaw safe and secure enough for business use?
Only with careful configuration. It asks for broad system permissions, and prompt injection is a known risk. Keep the Gateway on loopback with token auth, approve unknown senders through pairing, turn on sandboxing, treat public channels as information rather than commands, review skills and MCP servers before installing, run openclaw security audit, and never run it as root.
How much does it cost to run an OpenClaw AI agent?
OpenClaw itself is free, but you pay for model API usage and the machine it runs on. Claude Sonnet 5.5 is $2/$10 per million input/output tokens, Claude Opus 5.5 is $4/$20, and smaller models cost far less. Add a VPS or always-on machine on top.




