Moltbot (Clawdbot) Guide: OpenClaw Setup & Local AI (2026)
Master Moltbot (Clawdbot / OpenClaw): complete setup tutorial, native Ollama /api/chat local models, MCP tools, Home Assistant integration, and security fixes.
This clawdbot tutorial covers installing, securing, and troubleshooting Moltbot (permanently established under OpenClaw) as a self-hosted AI assistant on your own hardware. Running the OpenClaw gateway on localhost port 3001 keeps shell commands, file access credentials, and conversation memory strictly inside your private network.
Moltbot connects local Ollama models and frontier cloud APIs directly to WhatsApp, Telegram, Discord, Slack, and Home Assistant. For multi-agent hosting models and serverless MoltWorker cost curves across the broader ecosystem, read our Moltbook and OpenClaw ecosystem guide.
Key Takeaways
- OpenClaw (formerly Clawdbot and Moltbot) runs a local background gateway daemon on port 3001 or Home Assistant WebSocket port 18789, executing POSIX shell commands and MCP tools on private hardware.
- Configuring OpenClaw to hit Ollama’s native
/api/chatendpoint with a 24K to 64K token context window fixes the streaming tool-call drop bug triggered by the/v1OpenAI wrapper.- Routing daily automation locally to Qwen 2.5 Coder 32B or DeepSeek-V4.1-Flash eliminates API fees, while escalating complex refactors to Claude Sonnet 5.5 cuts cached input token costs by 90%.
- Locking the gateway to loopback behind Tailscale, validating schemas with
openclaw config validate, and auditing extensions withopenclaw security audit --deepprevents unauthenticated shell exposure.
What is Moltbot? Architecture and the Clawdbot to OpenClaw Evolution
Moltbot is an open-source, self-hosted AI assistant gateway that runs directly on macOS, Linux, or Windows WSL2 hardware to execute operating system commands and route responses through messaging apps. Unlike browser chatbots restricted to remote sandboxes, OpenClaw pairs language model reasoning with local file, terminal, and smart home privileges.
The Warelay to Clawdbot to OpenClaw Timeline
The project went through three rapid naming transitions in early 2026 before stabilizing under an independent foundation. Creator Peter Steinberger initially released the daemon as Warelay in November 2025 before renaming it Clawdbot. In late January 2026, Anthropic requested a trademark change due to similarity to Claude, leading to a brief three-day Moltbot release.
Days later, the codebase relaunched permanently at the OpenClaw Official GitHub Repository. Legacy CLI aliases (clawdbot and moltbot) remain functional wrappers around openclaw so existing scripts and ~/.clawdbot configs migrate cleanly without breaking production workflows.
Three-Layer Gateway, Channel, and Skill Architecture
Understanding core AI agent fundamentals clarifies why OpenClaw separates transport adapters from tool execution. The Gateway daemon maintains persistent session memory, executes DM pairing handshakes, and enforces config policies in ~/.openclaw/openclaw.json. Channel adapters normalize incoming webhooks or WebSockets from WhatsApp, Telegram, Discord, and Home Assistant, while skills and MCP servers expose typed shell, browser, and database tools.
Figure 1: Data boundary contrast between remote cloud assistants and a self-hosted OpenClaw gateway running on local hardware.
| Capability | OpenClaw / Clawdbot (Self-Hosted) | Cloud Chatbots (ChatGPT / Claude) | Raw Local Runners (Ollama / LM Studio) |
|---|---|---|---|
| Data Residency | 100% local hardware controlled | Vendor cloud data centers | 100% local hardware controlled |
| System Privileges | POSIX shell, filesystem, browser, MCP | Isolated cloud container | None without external client |
| Messaging Channels | WhatsApp, Telegram, Discord, Slack | Dedicated web and mobile apps | CLI or desktop chat UI only |
| Model Routing | Hybrid local Ollama plus cloud APIs | Single-vendor model family | Open-weight models only |
| Background Services | Native launchd, systemd, Docker | Manual session interaction | Inference daemon only |
| Tool Protocol | Native MCP client and server | Proprietary tool schemas | OpenAI-style function schemas |
How to Install and Set Up Moltbot (Clawdbot): Complete Step-by-Step Guide
Installing OpenClaw requires Node.js 22 LTS or newer, a POSIX shell, and user permissions to register a background daemon. Most engineers complete the CLI install, workspace initialization, and Telegram pairing handshake in under fifteen minutes.
Runtime Prerequisites and Automated Installation
Before running this clawdbot installation guide, confirm your local Node.js runtime meets the v22 requirement. Outdated Node binaries cause ESM module resolution failures during gateway startup.
# Verify Node.js runtime version (requires v22.16.0 or newer)
node --version
If Node is missing or older than v22, install it with nvm install 22 && nvm use 22. For platform-specific WSL2 and Linux prerequisites, follow our OpenClaw installation guide. On macOS and Linux, run the automated installer or install the npm package directly:
# Option A: Official automated installer script
curl -fsSL https://openclaw.ai/install.sh | sh
# Option B: Global npm package installation
npm install -g openclaw@latest
openclaw --version
Onboarding Wizard and Messaging Channel Pairing
After installing the binary, run the onboarding wizard documented in the OpenClaw Getting Started Guide to scaffold ~/.openclaw/workspace, bind port 3001, and register your OS background service.
# Initialize workspace directories and install launchd/systemd service
openclaw onboard --install-daemon
| Setup Stage | Command or File | Purpose | Verification Check |
|---|---|---|---|
| 1. Runtime Install | npm install -g openclaw@latest |
Installs CLI binary and aliases | openclaw --version |
| 2. Daemon Onboard | openclaw onboard --install-daemon |
Creates ~/.openclaw/openclaw.json |
openclaw status --all |
| 3. Channel Setup | openclaw configure --section channels |
Pairs Telegram @BotFather or WhatsApp |
Send /start for PIN |
| 4. Health Check | openclaw doctor |
Audits ports, permissions, and config | openclaw gateway status |
The onboarding wizard generates ~/.openclaw/openclaw.json using JSON5 syntax so engineers can document channel policies and model overrides inline. Keep core runtime keys explicitly pinned rather than relying on implicit defaults so upgrades never alter network binding or tool permissions unexpectedly.
| Configuration Key | Recommended Production Value | Behavioral Effect |
|---|---|---|
gateway.mode |
"local" |
Binds HTTP and WebSocket control plane strictly to 127.0.0.1 |
gateway.port |
3001 (or 18789 on HAOS) |
Prevents collisions with local Vite, Next.js, or Grafana services |
agents.defaults.contextLength |
65536 |
Preserves MCP tool JSON schemas across multi-turn reasoning loops |
skills.exec.approvals |
true |
Prompts for terminal or chat approval before running destructive commands |
skills.sandboxing.enabled |
true |
Isolates third-party extensions inside ephemeral read-only containers |
To pair Telegram, message @BotFather, issue /newbot, and paste the generated bot token into openclaw configure --section channels. Start the daemon and approve the one-time pairing code returned when you send /start in chat.
Figure 2: Centralized OpenClaw gateway routing authenticated messaging channels to local execution tools.
# Start the background gateway and inspect active port bindings
openclaw daemon start
openclaw daemon status
Connecting Local LLMs via Ollama vs Cloud APIs (Claude, OpenAI, Gemini)
Connecting OpenClaw to a clawdbot local model via Ollama keeps inference costs at $0 and prevents private files from crossing external networks, while cloud frontier models handle complex multi-file coding refactors. Selecting the right routing policy balances hardware VRAM limits against reasoning depth.
Fixing the Ollama Native /api/chat Endpoint and Context Size
Developers frequently hit a subtle failure when pointing OpenClaw to Ollama’s OpenAI-compatible /v1 path. Streaming tool-call delta chunks can drop on /v1, causing local models to print descriptive prose instead of invoking shell or file tools.
Point your gateway directly to the Ollama Native Chat API Documentation at /api/chat, and raise the context length from the conservative 4K default noted in the Ollama Official FAQ to at least 24K-64K tokens. For hardware sizing across Apple Silicon and RTX GPUs, consult our guide on running local LLMs with Ollama.
Expanding context length to 64K increases KV cache memory footprints substantially during parallel tool calls. Match your quantization level and model parameter count to physical VRAM so Ollama never silently spills attention layers onto slower system RAM.
| Local Model | Quantization | 64K Context VRAM Requirement | Recommended Workstation Spec |
|---|---|---|---|
Qwen 2.5 Coder 32B |
Q4_K_M |
~24GB - 28GB unified/VRAM | RTX 5090 / RTX 4090 or 32GB+ Mac |
DeepSeek-R1-Distill-Qwen-32B |
Q4_K_M |
~24GB - 30GB unified/VRAM | 32GB GPU or 48GB Apple Silicon |
Phi-4 14B |
Q8_0 / Q4_K_M |
~12GB - 18GB unified/VRAM | RTX 4070 / 5060 Ti 16GB or 24GB Mac |
Gemma 4 12B |
Q4_K_M |
~10GB - 14GB unified/VRAM | 16GB Laptop GPU or 24GB Mac mini |
# Pull a tool-capable local model and launch OpenClaw via Ollama shortcut
ollama pull qwen2.5-coder:32b
ollama launch openclaw --model qwen2.5-coder:32b
{
"agents": {
"defaults": {
"model": "ollama/qwen2.5-coder:32b",
"endpoint": "http://127.0.0.1:11434/api/chat",
"contextLength": 65536
}
}
}
Hybrid Routing to Frontier Cloud Models and Prompt Caching
For multi-repository architecture planning or complex debugging, hybrid operators escalate selectively to frontier APIs such as Claude Sonnet 5.5, GPT-6.2 Sol, or Gemini 4 Hydrogen. According to the Anthropic Prompt Caching Documentation, caching static system prompts and tool schemas cuts cached read input costs by 90% (0.1x base input rate) after a 1.25x 5-minute cache write.
# Register encrypted cloud provider credentials via CLI
openclaw models auth setup-token --provider anthropic
openclaw models auth setup-token --provider openai
openclaw models auth setup-token --provider google
| Task Complexity | Recommended Model | Inference Location | Cost & Privacy Trade-Off |
|---|---|---|---|
| Daily Shell & Home IoT | Qwen 2.5 Coder 32B / Phi-4 |
Local Ollama (/api/chat) |
$0 API cost; 100% private |
| Fast Triage & Parsing | DeepSeek-V4.1-Flash / Claude Haiku 5.5 |
Local or Cloud API | Ultra-low latency; low per-token spend |
| Multi-File Refactoring | Claude Sonnet 5.5 / GPT-6.2 Sol |
Cloud API (prompt cached) | Peak tool accuracy; 90% cache read savings |
| Long-Context Log Audits | Gemini 4 Hydrogen / Llama 4 Scout |
Cloud API or Cluster | 1M+ token window for large codebases |
Inside any active Telegram or Discord session, issue /model claude-5-5-sonnet-20260928 to escalate a hard task, then switch back with /model ollama/qwen2.5-coder:32b for routine commands.
Model Context Protocol (MCP): Connecting Tools, Databases, and Services
The Model Context Protocol (MCP) replaces brittle custom plugin glue with a uniform JSON-RPC 2.0 specification for tool discovery and execution. OpenClaw operates simultaneously as an MCP client consuming external servers and as an MCP server exposing its automation capabilities to code editors.
Configuring External MCP Client Servers
Reviewing Model Context Protocol architecture explains how stdio and Streamable HTTP transports isolate tool state from model prompts. As defined in the Model Context Protocol Introduction, clients inspect typed JSON schemas before invoking database or repository actions.
Figure 3: Modular OpenClaw skills and MCP integrations spanning local filesystem, browser automation, terminal control, and community plugins.
Attach read-only database inspection or GitHub repository servers via the openclaw mcp CLI subcommands without writing custom adapter boilerplate:
# Register PostgreSQL and GitHub MCP servers over stdio transport
openclaw mcp add postgres npx -y @modelcontextprotocol/server-postgres postgresql://localhost/analytics_readonly
openclaw mcp add github npx -y @modelcontextprotocol/server-github --env GITHUB_PERSONAL_ACCESS_TOKEN=$GITHUB_TOKEN
# Verify registered tools and JSON schemas
openclaw mcp list
Exposing OpenClaw Tools Over MCP Server Mode
Running openclaw mcp serve starts a local MCP server pipe that allows Cursor, Claude Code, or VS Code extensions to invoke your paired messaging channels, scheduled tasks, and sandbox tools directly. This bidirectional architecture makes OpenClaw a reusable automation hub across both desktop IDEs and mobile chat clients.
Security Best Practices: Sandboxing, Token Auth, and Safe Operation
Granting an autonomous agent POSIX shell execution creates immediate blast-radius risks if the gateway is exposed to untrusted networks or prompt injection. Hardening OpenClaw requires strict loopback binding, configuration schema validation, unprivileged OS accounts, and container isolation for community skills.
Loopback Binding, Tailscale Access, and Exec Approvals
Never bind the OpenClaw gateway to 0.0.0.0 or forward ports 3001 or 18789 directly to the public internet. As detailed in the OpenClaw Gateway Architecture Reference, keeping the gateway locked to 127.0.0.1 and routing remote connections exclusively through an encrypted Tailscale tailnet eliminates public attack surfaces.
When editing provider models or gateway keys manually, follow our guide on changing models without breaking your setup and run strict validation so malformed JSON5 keys never silently disable authentication checks.
# Enforce loopback mode and validate configuration schema
openclaw config set gateway.mode local
openclaw config validate
# Expose loopback gateway privately over Tailscale HTTPS tailnet
tailscale serve --bg 3001
# Enable mandatory human approval for sensitive shell execution tools
openclaw config set skills.exec.approvals true
Enabling skills.exec.approvals intercepts high-impact shell actions such as recursive file deletions, package installations, or curl pipes to bash before execution. The agent pauses and requests explicit confirmation inside your authenticated terminal or paired DM session.
Container Hardening and Automated Security Audits
Run the background daemon under a dedicated unprivileged Linux user with locked SSH and GPG directories, and isolate third-party skills inside read-only containers with dropped capabilities (--read-only and --cap-drop=ALL). After installing any community plugin, execute a deep audit to detect exposed tokens or permissive channel policies.
# Create isolated Linux service account and restrict key stores
sudo useradd -m -s /bin/bash openclaw-agent
sudo passwd -l openclaw-agent
chmod 700 ~/.ssh ~/.gnupg
# Enable container sandboxing for skills and run deep security audit
openclaw config set skills.sandboxing.enabled true
openclaw security audit --deep
| Defense Layer | Mechanism | Command or Policy | Mitigated Attack Vector |
|---|---|---|---|
| Layer 1: Network | Loopback + Tailscale | gateway.mode local (127.0.0.1) |
Unauthenticated remote RCE scans |
| Layer 2: Identity | DM Pairing + Exec Approvals | Single-use terminal PIN + approval gate | Unauthorized chat users and destructive commands |
| Layer 3: Host OS | Unprivileged User + chmod 700 |
Dedicated openclaw-agent user |
Host credential harvesting (~/.ssh) |
| Layer 4: Runtime | Read-Only Container Sandbox | --read-only --cap-drop=ALL |
Malicious third-party skill supply-chain payloads |
Troubleshooting Common Issues: Fixing Gateway and Home Assistant Errors
Most OpenClaw startup failures trace back to missing gateway.mode bindings, occupied ports on 3001 or 18789, Docker localhost isolation, or file ownership mismatches inside ~/.openclaw. Running the diagnostic command ladder isolates the failing layer in under a minute.
Resolving Gateway Did Not Become Ready and Port Conflicts
When the terminal reports "gateway did not become ready", the daemon launched but timed out before passing socket readiness checks within 60 seconds. Execute the diagnostic ladder below to repair config drift and inspect live socket listeners:
# Run built-in diagnostics and stream live daemon logs
openclaw status --all
openclaw doctor --fix
openclaw logs --follow
If openclaw logs never prints [gateway] listening on :3001, verify whether an orphaned process holds port 3001 and either kill the stale PID or reassign the gateway port:
# Inspect port 3001 listeners and rebind if occupied
lsof -i :3001
openclaw config set gateway.port 3002
openclaw gateway restart
Fixing Home Assistant 1006 Closure, EACCES, and ARM64 Symbols
Connecting OpenClaw to Home Assistant across containers or ARM64 single-board computers produces three frequent runtime errors. The runbook table below maps each exact error signature to its deterministic fix.
| Error Signature | Root Cause | Production Fix |
|---|---|---|
gateway start blocked: gateway.mode is unset |
Security guard blocks unbound network start | Run openclaw config set gateway.mode local && openclaw restart |
1006 Abnormal Closure to Home Assistant |
Container uses localhost:8123 inside isolated bridge |
Replace localhost with host LAN IP or Docker service name |
Error relocating /usr/bin/node: symbol not found (Exit 127) |
HAOS ARM64 Add-on compiled incompatible local Node binary | Set Add-on config install_mode: package to pull prebuilt GHCR image |
EACCES: permission denied on ~/.openclaw/identity |
Daemon process lacks write rights to identity folder | Run mkdir -p ~/.openclaw/identity && chmod -R 755 ~/.openclaw |
exec: node: not found on Windows WSL2 |
WSL2 resolves Windows host Node path instead of Linux | Install Node 22 inside WSL2 (which node -> /usr/bin/node) |
How to Uninstall Moltbot (Clawdbot) and Clean Background Daemons
Removing OpenClaw cleanly requires unloading active launchd or systemd background daemons before deleting global npm packages and state folders. Skipping the OS service unload step leaves orphaned processes respawning and holding port 3001.
Automated Teardown and Manual Package Removal
If the CLI binary is still installed, run the built-in non-interactive uninstaller first. It stops the running gateway, unregisters OS services, and cleans configuration directories automatically.
# Automated complete teardown
openclaw uninstall --all --yes
When manual removal is required, stop the daemon, remove all three legacy/current npm package names, and delete leftover configuration state directories:
# Stop service, remove global packages, and purge workspace state
openclaw daemon stop
openclaw daemon uninstall
npm rm -g openclaw moltbot clawdbot
rm -rf ~/.openclaw ~/.moltbot ~/.clawdbot ~/molt
Purging macOS launchd Plists, Linux systemd Units, and Bot Tokens
Complete the cleanup by unloading OS-level service manifests and revoking external messaging credentials so stale bot tokens cannot be reused.
# macOS: unload launchd agent and delete plist manifests
launchctl bootout gui/$UID/com.openclaw.gateway 2>/dev/null
rm -f ~/Library/LaunchAgents/com.openclaw.gateway.plist ~/Library/LaunchAgents/com.moltbot.gateway.plist
# Linux: disable systemd user unit and reload daemon
systemctl --user disable --now openclaw-gateway.service 2>/dev/null
rm -f ~/.config/systemd/user/openclaw-gateway.service ~/.config/systemd/user/moltbot-gateway.service
systemctl --user daemon-reload
Finally, open Telegram, message @BotFather, and run /deletebot to revoke your bot token permanently, or kick the bot application from your Discord server settings.
Real-World Use Cases: Home Assistant, Automation, and Messaging Gateways
Running a persistent local agent lets engineers unify smart home control, morning calendar briefings, and CI/CD alert triage inside encrypted chat threads. Keeping telemetry inside local infrastructure aligns directly with AI data privacy best practices.
Home Assistant Add-on vs External Docker REST Integration
As detailed in the Home Assistant Integrations Documentation, teams deploy clawdbot home assistant workflows using either the native Home Assistant OS (HAOS) Add-on on WebSocket port 18789 (with install_mode: package) or an external Docker container authenticating with a Long-Lived Access Token.
Running the HAOS Add-on simplifies local mDNS discovery on single-board servers like the Raspberry Pi 5, whereas running OpenClaw inside a dedicated Docker host separates GPU inference and MCP servers from home automation stability. In either topology, restrict exposed Home Assistant entities to a dedicated automation area rather than granting unrestricted homeassistant.turn_off control over security alarms or network routers.
| Home Assistant Integration Option | Transport & Port | Setup Complexity | Fault Isolation | Best For |
|---|---|---|---|---|
| HAOS Community Add-on | Local WebSocket (18789) |
Low (UI Add-on Store) | Shares HAOS host lifecycle | Dedicated Raspberry Pi / Yellow hubs |
| External Docker + REST Token | HTTP/HTTPS (8123) |
Moderate (Long-Lived Token) | Fully isolated container & GPU access | Mac mini, NUC, or homelab servers |
# External OpenClaw config (~/.openclaw/config.yaml) for Home Assistant REST control
channels:
homeassistant:
enabled: true
url: "http://homeassistant.local:8123"
token: "${HOMEASSISTANT_LONG_LIVED_TOKEN}"
[!NOTE] Example WhatsApp command flow: When an authorized user sends
"Set home to evening mode and lock front door", OpenClaw invokes the Home Assistantscene.turn_onandlock.lockservice endpoints over the local LAN and replies with state verification without touching external cloud relays.
Scheduled Morning Briefings and CI/CD Alert Loops
Cron-driven heartbeats automate daily calendar digests and GitHub Actions failure triage directly into Telegram or Discord.
// Weekday morning briefing task in ~/.openclaw/tasks/briefing.ts
export default {
schedule: '30 7 * * 1-5',
async execute(agent) {
const calendar = await agent.tools.calendar.getUpcomingEvents();
const emails = await agent.tools.email.getUnreadUrgent();
const summary = await agent.reason(
`Summarize these items in 4 concise bullets: ${JSON.stringify({ calendar, emails })}`
);
await agent.channels.telegram.send(summary);
}
};
Pricing and Cost Structure: Local Inference vs Cloud API Tokens
OpenClaw software carries an open-source $0 license fee, so monthly spend depends exclusively on whether inference runs on local hardware or metered cloud APIs. Choosing the cheapest way to run clawdbot starts with local Ollama execution on owned developer hardware.
Local Hardware Electricity vs Frontier Token Budgets
A 32GB unified-memory Apple Silicon workstation or desktop with a 24GB GPU runs Qwen 2.5 Coder 32B locally for roughly $1.50 to $3.00 per month in electricity. Teams routing multi-step coding tasks to cloud models should monitor system prompt size, since persistent tool schemas consume 1,500 to 4,000 input tokens per turn unless prompt caching is enabled.
| Deployment Profile | Infrastructure | Model Stack | Monthly Software | Est. Monthly API | Total Monthly Cost |
|---|---|---|---|---|---|
| Local Offline | Mac mini / 24GB GPU PC | Ollama (Qwen 2.5 Coder 32B) |
$0.00 | $0.00 | $0.00 |
| Budget Cloud | Local Workstation | Claude Haiku 5.5 / Gemini 4 Hydrogen |
$0.00 | $4.00 - $8.00 | $4.00 - $8.00 |
| Frontier Hybrid | Local Workstation | Claude Sonnet 5.5 + Ollama local |
$0.00 | $10.00 - $22.00 | $10.00 - $22.00 |
| 24/7 Hardened VPS | Small Linux VPS + Tailscale | GPT-6.2 Sol + cached prompts |
$8.50 | $12.00 - $20.00 | $20.50 - $28.50 |
For concrete automation templates covering inbox triage, repository monitoring, and scheduled reporting, explore our catalog of OpenClaw use cases.
Frequently Asked Questions
What happened to Clawdbot and why was it renamed to Moltbot and OpenClaw?
Anthropic issued a trademark request regarding the name Clawdbot in late January 2026, prompting creator Peter Steinberger to rename the project Moltbot briefly before establishing OpenClaw. The core codebase, gateway daemon, and local-first CLI remain backward-compatible across all three aliases.
Why do local Ollama models fail to execute tools in Clawdbot or OpenClaw?
Ollama’s OpenAI-compatible /v1 endpoint can drop streaming tool-call delta chunks, causing models to print narrative text instead of firing tools. Switching your provider configuration to Ollama’s native /api/chat endpoint and raising context length to at least 24K-64K tokens fixes tool execution.
How do I resolve the gateway did not become ready startup error?
This error occurs when the background daemon stalls during port binding on port 3001 or lacks an explicit gateway mode setting. Running openclaw doctor --fix and setting openclaw config set gateway.mode local clears stale state and restores daemon connectivity.
How do I connect Clawdbot to Home Assistant without connection errors?
Install the OpenClaw Gateway Add-on on Home Assistant OS with install_mode set to package, or connect an external container using a Long-Lived Access Token. When both run in Docker on one host, use your host LAN IP or Docker bridge alias instead of localhost to avoid 1006 abnormal closures.
Can I run Moltbot and Clawdbot completely offline with local models?
OpenClaw integrates natively with Ollama via ollama launch openclaw to run open-weight models like Qwen 2.5 Coder 32B or DeepSeek-V4.1-Flash on local GPUs or Apple Silicon. Local execution incurs zero API token charges and keeps all chat logs and workspace files off external networks.
How does Clawdbot connect to Model Context Protocol (MCP) servers?
OpenClaw acts as an MCP client to attach external database, filesystem, and GitHub servers over stdio or HTTP transports. It also runs in server mode via openclaw mcp serve so desktop IDEs can invoke its automation skills directly.
How do I completely uninstall Clawdbot and remove background daemons?
Run openclaw uninstall --all --yes or stop and unload the launchd plist on macOS and systemd unit on Linux before deleting ~/.openclaw and ~/.clawdbot. Finish by revoking your Telegram or Discord bot tokens through @BotFather or server settings.