Your Assistant. Your Machine. Your Rules.
OpenClaw aka (Clawdbot, MoltBot) is an open agent platform that runs on your machine and works from the chat apps you already use. WhatsApp, Telegram, Discord, Slack, Teams—wherever you are, your AI assistant follows.
Unlike SaaS assistants where your data lives on someone else’s servers, OpenClaw runs where you choose—laptop, homelab, or VPS. Your infrastructure. Your keys. Your data.
- Open your Coolify Dashboard.
- Navigate to Project > New.
- Select Public Repository.
- Enter the URL:
https://github.com/essamamdani/openclaw-coolify - Click Continue.
Once the container is running and healthy:
- Access the Dashboard:
- Open the Service Logs in Coolify.
- Look for:
🦞 OPENCLAW READY. - You will see a Dashboard URL with a token (e.g.,
https://.../?token=xyz). - Click that link to access your OpenClaw Gateway UI.
- Approve Your Device:
- You will see an "Unauthorized" or pairing screen (this is normal).
- Open the Service Terminal in Coolify.
- Run:
openclaw-approve -
[!WARNING]
-
Security Note:
openclaw-approveis a break-glass utility that auto-accepts ALL pending pairing requests. Only run this immediately after accessing the URL yourself. Do not leave it running or use it when you don't recognize a request.
- Guided Onboarding: To configure your agent's personality and skills:
- In the terminal, run:
openclaw onboard - Follow the interactive wizard.
- In the terminal, run:
- Configure Channels: Go to the Channels tab in the dashboard to link WhatsApp, Telegram, etc.
OpenClaw lives where you work. You can connect it to WhatsApp, Telegram, Discord, etc.
Fastest setup.
- Talk to @BotFather on Telegram.
- Create a new bot (
/newbot) and get the Token. - Add
TELEGRAM_BOT_TOKENto your Coolify Environment Variables. - Redeploy (or just restart).
- DM your new bot. It will ask for a Pairing Code.
- Go to your OpenClaw Dashboard > Pairing to approve it.
- Docs: Telegram Channel Guide
Requires scanning a QR code.
- Go to your OpenClaw Dashboard (from the logs).
- Navigate to Channels > WhatsApp.
- Open WhatsApp on your phone > Linked Devices > Link a Device.
- Scan the QR code shown on the dashboard.
- Done! You can now chat with OpenClaw.
- Docs: WhatsApp Channel Guide
You can verify status or manage other channels (Discord, Slack) via the dashboard or CLI.
- CLI Docs: Channel Management
ClawHub is the public skill registry for OpenClaw. It allows you to easily find, install, and share capabilities for your agent.
- Search for a skill:
clawhub search "calendar" - Install it:
clawhub install <skill-slug>
- Use it: Restart your session, and the agent will have the new capabilities.
The clawhub CLI is pre-installed in your container.
| Command | Description |
|---|---|
clawhub search "query" |
Find skills by name or tag. |
clawhub install <slug> |
Install a skill into your workspace. |
clawhub update --all |
Update all installed skills to the latest version. |
clawhub login |
Login to publish your own skills. |
clawhub publish |
Publish a skill from the current directory. |
A skill is a folder containing a SKILL.md (instructions) and supporting files. When you install a skill, it is downloaded to your workspace. OpenClaw automatically loads these skills, giving your agent new powers without writing code.
Think of this Docker container not as an app, but as an Office Building.
- The Manager (Gateway): The main
openclawprocess. It hires "staff" to do work. - The Workers (Sandboxes): When you ask for a complex coding task, the Manager spins up isolated Docker containers (sub-agents).
- They have their own Linux tools (Python, Node, Go).
- They work safely in a sandbox, then report back.
- Managed via: Docker Socket Proxy (Secure Sidecar).
Your office never forgets, thanks to a 3-tier memory architecture:
- The Filing Cabinet (
openclaw-workspace): A persistent Docker Volume where agents write code, save files, and store heavy data. Survives restarts. - The Brain (Internal SQLite): OpenClaw's native transactional memory for conversations and facts.
- Web Search (SearXNG): A private, tracking-free search engine (
searxng:8080) for the agent's research.
Your agent can securely manage credentials without leaking them:
- Bitwarden (
rbw): Securely fetch secrets from your Bitwarden vault. - Pass: Local GPG-encrypted password storage for the agent's exclusive use.
Need to show a client your work?
- The agent can start a web server (e.g., Next.js on port 3000).
- It uses
cloudflaredto instantly create a secure public URL (e.g.,https://project-viz.trycloudflare.com). - No router port forwarding required.
- Universal Scraper: 5-stage fallback engine (Curl -> AI Browser -> Anti-Detect) to read any website.
- Research Tools:
hackernews-cli,tuir(Reddit),newsboat(RSS),sonoscontrol.
- Pre-installed Tools:
gh(GitHub),vercel,bun,python,ripgrep. - Office Suite:
pandoc(Docs),marp(Slides),csvkit(Excel),qmd(Local AI Search). - Secure: All sub-agents are firewalled.
- Self-Healing: Docker volumes ensure
openclaw-configandopenclaw-workspacepersist forever.
- Authentication: Dashboard is token-protected. New chat users must be "paired" (approved) first.
- Docker Proxy: This setup uses a Sockety Proxy (Sidecar) pattern.
- OpenClaw talks to a restricted Docker API proxy (
tcp://docker-proxy:2375). - Blocked: Swarm, Secrets, System, Volumes, and other critical host functions.
- Allowed: Only what's needed for sandboxing (Containers, Images, Networks).
- OpenClaw talks to a restricted Docker API proxy (
- Isolation: Sub-agents run in disposable containers.
SOUL.mdrules forbid the agent from touching your other Coolify services.
- Q: How do I install extra tools like
nmaporffmpeg?- A: Don't edit the Dockerfile! Use Skills.
- Create a folder
skills/my-toolswith aSKILL.mdfile instructing the agent to "Use apt-get to install ffmpeg". - Or install a pre-made skill:
clawhub install web-utils.
- Q: How much space do I need on my Coolify server to install openclaw-coolify ?
- A: Make sure to have approximately 13 GB of free space, even if all are not used, this is what is required in docker build cache during the install process.
-
Q: "No available server" or "502 Bad Gateway" on Coolify?
- A: Ensure your
docker-compose.yamlhasexpose: ["18789"](fixed in latest version). - A: Check logs for
OpenClaw listening on 18789. If it says127.0.0.1, Traefik cannot reach it. It must listen on0.0.0.0orlan(default).
- A: Ensure your
-
Q: I can't connect from my Mac/PC?
- A: Use the Public URL generated by Coolify (e.g.,
https://openclaw.my-server.com). - A: DO NOT try to connect to
http://<server-ip>:18789directly unless you manually opened that port in your server's firewall (UFW/AWS Security Group). The default setup uses reverse proxying for security.
- A: Use the Public URL generated by Coolify (e.g.,
-
Q:
minimax-portal-authfailed to load?- A: This is a known warning from an optional plugin. You can safely ignore it; it does not affect the agent's core functionality.