
OpenClaw Self-Hosted: AI Assistant in Telegram & WhatsApp
It is 10 p.m. and you are out. Your phone buzzes: a service on your homelab has just stopped. Your AI assistant lives in a chat window on the laptop you left folded shut at home. A hosted bot would answer, but only if you hand it your accounts, data, and permission to run commands on someone else’s server. What you need is an assistant that does real work — runs commands, reads logs, edits files — inside the chat app already open, while data and execution rights stay on your machine. That is where OpenClaw comes in.
OpenClaw is an open-source AI agent that runs on the user’s machine and appears as a contact in Telegram, WhatsApp, Discord, and other chat apps. As of 17/11/2026, the openclaw/openclaw repository has 394,630 stars and 82,905 forks, under the MIT license; v2026.11.5 was released today. To be direct: I have not installed and run OpenClaw myself — I checked it only against the official documentation.
What Is OpenClaw? A Self-Hosted AI Assistant Living in Chat Apps
Most AI assistants live in their own window — a browser tab, a desktop app, a terminal. OpenClaw reverses that: it lives in the chat app you already use, backed by a Gateway on your machine, with permission to call tools and run commands.
In short, OpenClaw is an open-source AI agent running on the user’s machine. It takes orders through a chat app and executes them for real on the host: unlike a chatbot, its result is a command already run, a file already edited, a service already restarted. Unlike a hosted service, its data, memory, and credentials never leave your machine — no paid tier, no hosted service, no separate token. It suits sysadmins, DevOps/SRE engineers, homelab users, and developers using coding agents who want real work done in their IT group chat while keeping full control. It is not for a quick AI chat, or for teams needing compliance and an SLA — no official support, no uptime commitment.
Launched in November 2025 as Clawdbot (Peter Steinberger), renamed Moltbot in January 2026, then OpenClaw; now managed by the OpenClaw Foundation, an independent 501(c)(3).
OpenClaw Architecture — Gateway, Chat Channels, Model, and Tools
OpenClaw revolves around the Gateway — the single local control plane, running as a Node.js daemon. Everything goes through it: chat channels, the Control UI, the CLI, the TUI, memory, skills, plugins, and tools.
State, memory, and credentials stay on the user’s machine; memory is plain Markdown files, so switching models loses neither memory nor skills — treat those files as sensitive when backing up or syncing. A message arrives through a channel adapter, passes the pairing/policy gate, and enters a session with memory attached. The Gateway calls the model, the model picks a tool, the tool runs on the host, and the result returns to the chat. The model provider is just a swappable plugin — Claude, Codex, or a local model via Ollama.
It requires Node 24.16+ or 26.1+ (24.22.1+/26.12.1+ recommended), and npm 12 or 11.16+; it supports macOS, Linux, WSL2, and Windows. The Gateway is both the single point of trust and the single point of failure — if it goes down, every channel, memory, and tool permission stops with it. Releases come almost daily (v2026.11.4 on 16/11, v2026.11.5 on 17/11), so updates need version pinning and rollback. The project publishes no benchmarks or eval scores. v2026.11.5 adds a restart-safe queue, rollback on failed updates, and more reliable model fallback.
The Single Architecture Diagram
flowchart TD
User["User on Telegram / WhatsApp / Discord"]
Adapter["Channel Adapter<br/>Telegram / WhatsApp / Discord — 20+ channels"]
Gateway["Gateway — Session + Pairing/Policy Gate"]
Memory["Memory — Markdown files<br/>+ Skills / Plugins"]
Model["Model Provider — swappable plugin"]
Tool["Tool Executor — runs on host by default"]
Sandbox["Sandbox / Policy<br/>recommended branch — enable before connecting a channel"]
Control["Control UI / CLI / TUI<br/>Gateway administration"]
Queue["Queued messages survive restart (v2026.11.5)"]
User --> Adapter --> Gateway
Gateway <--> Memory
Gateway <--> Model
Gateway --> Tool
Tool --> Sandbox
Tool --> User
Gateway --> Queue
Control --> Gateway
The default branch, running directly on the host, is the biggest risk; the sandbox branch must be enabled before connecting any channel other people can message.
Installing OpenClaw — Step by Step on Your Own Machine
Before installing, decide where it will run, which model to use, and which user it will run as. Start on a separate test machine, not a server running real services. Prepare your model provider’s API key, or a local model, and a dedicated user — never run as root.
On macOS, Linux, or WSL2, the official install command is:
curl -fsSL https://openclaw.ai/install.sh | bash
The alternative is to install via npm:
npm install -g openclaw@latest --allow-scripts=openclaw
With npm 11.15 or older, drop the --allow-scripts flag. Piping a script from the internet into a shell is a risk — download it, read it, then run it.
After installing, run onboarding and install the daemon:
openclaw onboard --install-daemon
Then check the Gateway status and open the Control UI:
openclaw gateway status
openclaw dashboard
Expected result: gateway status reports running, the dashboard opens, and Doctor reports no errors; if Doctor reports an error after an update, v2026.11.5 has rollback. If the Gateway does not run, check the daemon and Node version again.
Connect each channel following its official documentation, then pair it with the Gateway — only approve a code from a person or number you know well:
openclaw pairing approve <channel> <code>
| Error | Common cause | Fix |
|---|---|---|
| Wrong Node version | Node older than 24.16 or 26.1 | Upgrade Node to 24.22.1+ or 26.12.1+ |
| Gateway not running | Daemon not installed | Run openclaw onboard --install-daemon, then check again |
| Pairing never arrives | Wrong code or wrong channel | Check <channel> and <code> again; only approve codes from people you know |
OpenClaw Technical Review — Pros, Cons, and Security
The first advantage is control: data, memory, and credentials stay on your machine. It also has the largest open-source AI-agent community — 394,630 stars — according to third-party comparisons; the blog has not ranked all agent repos itself. The drawback: you operate everything yourself — daemon, backups, near-daily updates, log monitoring — with many setup steps and no SLA or official support. Keeping a Gateway healthy is a small operating system, not an install-and-forget app.
OpenClaw Security — Not to Be Taken Lightly
Three facts before connecting any channel: tools run directly on the host by default unless sandboxing is configured; DM channels pair unknown senders by default, so a stranger can be paired before you take control; and read the security guide, exposure runbook, and sandboxing guide before letting other people use it.
As of 12/11, the project’s GitHub advisory list already had over 659 published advisories, including 13 critical — counted by NeuralTrust, not tested by the blog. An unauthenticated inbound message that gets through a DM channel’s default pairing can go from prompt injection straight to a shell command on your home server, with no further exploit needed. That is a consequence of the chat-first model: the real security boundary is chat identity plus policy and pairing, not the firewall.
Telemetry is only a daily version check by default, off with update.checkOnStart: false; anonymous feature stats are opt-in. Sandboxing, manual pairing approval, a dedicated user, and not exposing the Gateway to the internet are prerequisites, not “advanced hardening”. Also read Claude Code Leaks Passwords — the same caution when letting an agent run on your own machine.
OpenClaw vs Orkas vs OpenBot
| Criterion | OpenClaw | Orkas | OpenBot |
|---|---|---|---|
| Type | Chat-first personal assistant | Multiple desktop agents | Enterprise AI coworker |
| Working channel | Telegram, WhatsApp, Discord, 20+ | Desktop app | Enterprise gateway |
| Where it runs | User’s machine, homelab, VPS | Local-first | Self-hosted |
| Model | Claude, Codex, local via plugin | Per desktop | Per gateway |
| Memory | Markdown files, portable | Local on the machine | Per organisation |
| Default security | Tools on host, DM pairing by default | Local-first, data on machine | Gateway control, compliance |
| Best for | Individuals, homelab, sysadmins | Multiple agents on desktop | Businesses needing compliance |
OpenClaw is for individuals and homelabs; Orkas for teams running many agents on the desktop; OpenBot for businesses needing a controlled gateway and compliance. Unlike Claude Code or other CLI agents, OpenClaw lives in chat, not in the terminal.
OpenClaw in Practice for Sysadmins, Homelab, and DevOps
Sysadmins and IT teams. The IT Telegram group gets an alert, messages OpenClaw to check a log or restart a service, and the result comes straight back into the group. Needs an internal Gateway, a team-only channel, and clearly limited permissions. Risk: with many people in the group, pairing and policy must be tighter.
Homelab. A home assistant runs on the home server, manages Docker and the system, and answers quick lookups — data never leaves the homelab. Needs a Gateway on the homelab server, a private channel, and regular memory backups. Risk: a home machine is not monitored 24/7.
DevOps and SRE. A Gateway on a VPS acts as a chat-ops hub, connects many channels, calls tools, and runs controlled deploys. Needs a dedicated VPS, a dedicated user, audit logs, and a sandbox for every deploy command. Risk: a VPS is exposed to the internet.
Developers using coding agents. OpenClaw is a chat layer on top of a coding agent or a local model, sharing context through Markdown memory; its skills/plugins system shares the idea of skills.sh. Risk: secrets in code or logs can leak into memory.
Safe OpenClaw Deployment Checklist for VPS and Homelab
- Run the Gateway as a dedicated user, never as root.
- Enable sandboxing and policy before connecting a channel.
- Only approve pairing from people you know.
- Do not expose the Gateway to the internet without auth.
- Back up Gateway state and memory regularly, and verify restores.
- Pin versions, snapshot before updating, know how to roll back.
- Do not put API keys or secrets into memory or chat logs.
- Enable daemon and log monitoring.
- Read the security and sandboxing guides before inviting others.
Lessons Learned
- Chat-first means chat identity is the trust boundary — pairing and policy first; the sandbox is not a later step.
- The model is replaceable; the Gateway and memory are the real assets — back them up before every update.
- Many stars do not mean safe by default — 659+ advisories, 13 critical, are a reminder to verify.
- One install command is not an operating system — daemon, version pinning, and rollback decide whether OpenClaw survives.
- State what was not done: the blog has not installed and run it, and has no benchmarks — verify against the official docs.
Conclusion — Who OpenClaw Suits, Who It Does Not, and the Next Step
Install OpenClaw right away if you are a sysadmin, a homelab user, or a developer who wants a chat-first, self-hosted assistant — data on your own machine, a swappable model, portable memory, one-command install. It does not suit a quick AI chat; for compliance and an SLA, look at OpenBot, for many agents on the desktop, Orkas fits better.
Next step: read the docs and security guide, install it on a test machine, connect one private channel, enable the sandbox, check pairing and backups, then open it to a group. Do not start with a large IT group channel with tools running directly on the host.
Verification Scope
Check date: 17/11/2026. Verified against the README, release notes, and GitHub API: stars and forks, MIT license, install commands, Node requirements, v2026.11.5 released 17/11/2026. “Most-starred” and “29 channels” are third-party claims; this article uses only the verified “20+ channels”. The 659+ advisories and 13 critical were counted by NeuralTrust on 12/11, not tested by the blog. Tools running on the host and DM pairing of unknown senders are defaults; sandboxing and disabling the version check are opt-in. No vendor benchmarks. The blog has not installed and run OpenClaw; commands were checked against the official documentation only.
References
- OpenClaw on GitHub — https://github.com/openclaw/openclaw
- OpenClaw homepage — https://openclaw.ai
- Official documentation — https://docs.openclaw.ai
- Open-source AI agent apps compared (mausbot.com) — https://mausbot.com/blog/open-source-ai-agent-apps-compared
- Hermes vs OpenClaw, advisory counts (NeuralTrust) — https://neuraltrust.ai/blog/hermes-vs-openclaw
- Trendshift, GitHub trending — https://trendshift.io
Bình luận
Bình luận được duyệt trước khi hiển thị.Đang tải bình luận…
Để lại bình luận