
OpenClaw (formerly Moltbot) is a personal AI assistant you can run on your own devices. It connects to popular messaging platforms like WhatsApp, Telegram, Slack, Discord, and many more, providing a unified assistant experience across channels. OpenClaw runs locally and includes a Gateway control plane that manages sessions, routes messages, executes tools, and maintains persistent memory.
This article explains how to deploy OpenClaw using Docker Compose with its interactive setup wizard. It covers model configuration, channel integration, gateway setup, the persistent memory system, and optional integration with Vultr Serverless Inference.
Before you begin, you need to:
sudo privileges.openclaw.example.com).The OpenClaw repository includes a setup script that handles building, onboarding, and starting the gateway. For the complete Docker setup guide, see the official Docker documentation.
The interactive wizard configures model providers, channel integrations, and security settings in one streamlined flow.
Create the project directory and navigate into it.
Clone the official OpenClaw repository and switch to the cloned directory.
Run the Docker setup script.
The interactive wizard walks you through:
Verify the gateway is running by checking the container logs.
The output shows a successful startup:
The wizard writes configuration and workspace data to:
~/.openclaw/: Configuration, credentials, and session data~/.openclaw/workspace: Agent workspace (memory files, skills, and so on)The Control UI provides a web interface for managing your OpenClaw installation.
For security, the Control UI requires either localhost access or HTTPS. It will not work over plain HTTP from a remote IP.
Retrieve your gateway token from the configuration file.
Output:
Choose one of the following access methods:
Explore the main interface sections:
Use the Chat interface to verify the installation works correctly.
OpenClaw supports custom model providers through OpenAI-compatible endpoints. Configure Vultr Serverless Inference as a model provider to access additional AI models.
OpenClaw requires a model that supports tool calling. Vultr model availability and tool-calling support can change over time, so verify the current supported models through the Inference API before selecting one for OpenClaw. At minimum, use a model that successfully returns tool_calls from the chat/completions endpoint during testing.
Enable Vultr Serverless Inference in the Vultr Console and copy your API key.
Edit the OpenClaw configuration file.
Add the Vultr provider to the models section. Replace YOUR-VULTR-API-KEY with your Vultr API key.
Save and close the file.
Restart the gateway to apply the new provider.
Select the Vultr model in the Control UI or via the chat command.
Verify the model responds correctly by sending a test message.
OpenClaw maintains persistent memory through local file storage, enabling continuous learning across conversations. The system stores session transcripts, conversation history, and long-term memories to provide context-aware assistance that improves over time.
The Gateway stores all session data locally on the host.
OpenClaw maintains two layers of memory through Markdown files in the agent workspace.
memory/YYYY-MM-DD.md): Append-only logs for day-to-day context. The assistant reads today's and yesterday's logs at the start of a session.MEMORY.md): Curated facts, preferences, and decisions that persist across sessions.To instruct OpenClaw to remember something, send a message like:
The assistant writes this to the appropriate memory file for future reference.
Control OpenClaw sessions directly from any connected chat.
/status: View current session status (model, tokens, cost)/new or /reset: Start a fresh session/compact: Summarize and compress session context/think <level>: Adjust thinking depth (off, minimal, low, medium, high)Back up your OpenClaw data.
Restore on a new server.
You have successfully deployed OpenClaw as a personal AI assistant with Docker Compose. The interactive setup wizard streamlines the setup process by configuring your model provider, messaging channels, and gateway in one flow. The memory database ensures continuity across sessions by building a personalized knowledge base that improves over time. With Vultr Serverless Inference, you can access additional AI models like Kimi K2 directly on Vultr's infrastructure. For more information, refer to the official OpenClaw documentation.
0 Comments
Be the first to comment and share your perspective with the community.