Skip to main content

What is OpenClaw?

OpenClaw (formerly ClawdBot/Moltbot) is a popular open-source AI agent project that reached over 68,000 GitHub stars in 2026. Unlike a conventional chatbot, it is a personal assistant that can carry out tasks. Local execution
  • Your data stays on your device; you don’t have to upload it to the cloud.
  • You retain control of privacy and data security.
Taking action
  • OpenClaw can operate your computer, not just talk about what to do.
  • It can automate email, calendar, and file management tasks.
Cross-platform messaging
  • Connect more than ten platforms, including WhatsApp, Telegram, Discord, and Slack.
  • Manage your communications from one place.
Persistent memory
  • Keep context and preferences across sessions.
  • As the assistant learns your habits, it can handle recurring tasks more efficiently.
Free and open source
  • The software is open source. Bring your own model API key.
  • You can run it for free and control it yourself.
OpenClaw versus a conventional AI assistant A conventional assistant such as ChatGPT:
  • You: “Organize the files on my desktop.”
  • Assistant: “I suggest creating folders, then sorting the files by type…”
OpenClaw:
  • You: “Organize the files on my desktop.”
  • OpenClaw renames, sorts, and moves the files: “Done! I sorted 47 files into five folders by file type.”
This illustrates the difference between a chatbot that suggests steps and an agent that performs them.

Getting started

Step 1: Check the prerequisites

System requirements:
  • Operating system: macOS, Linux, or Windows with WSL.
  • Node.js: v22 or later.
  • Model API key: use a key for Claude, GPT, or Gemini, or a key from an aggregator such as GeekAI.
Check your environment:

Step 2: Install OpenClaw

On macOS or Linux, install OpenClaw with npm:

Step 3: Run the setup wizard

OpenClaw setup wizard The wizard walks you through these settings:
  • Select a provider (Anthropic, OpenAI, or custom). For GeekAI, select the custom provider and enter the GeekAI base URL.
  • Enter your API key: paste your GeekAI API key.
  • Enter a GeekAI chat model ID, such as gpt-5.3-codex, claude-sonnet-4-6, or gemini-3.1-pro-preview. Copy the exact ID from the model marketplace.
  • Select a messaging platform, such as Telegram, Discord, or WhatsApp.
  • Configure system permissions. Start in sandbox mode.
Configure a custom provider in OpenClaw Set the provider base URL and API key

Step 4: Start your first conversation

Start OpenClaw:
Chatting in OpenClaw through GeekAI If chat returns Model context window too small (4096 tokens), edit ~/.openclaw/openclaw.json. Add contextWindow and maxTokens to the model configuration, as in this example:
Save the settings and retry the chat. For help with installation or configuration, join the GeekAI user group: GeekAI user group QR code

Step 5: Understand the core concepts

Gateway A gateway connects OpenClaw to the outside world:
  • Messaging gateways: Telegram, Discord, and WhatsApp.
  • API gateway: the HTTP API.
  • CLI gateway: command-line interaction.
Skills Skills extend OpenClaw’s capabilities, much like plugins or apps:
  • Each skill defines a set of tasks.
  • Install third-party skills from ClawHub.
  • You can also write custom skills.
Memory OpenClaw remembers:
  • Your preferences and habits.
  • Context from previous conversations.
  • Important information and tasks.
Sandbox Sandbox mode protects your computer by limiting OpenClaw’s system access:
  • Sandbox Mode restricts access to the filesystem, network, and shell.
  • Full Access Mode grants full permissions. Use it with care.
Explore the workspace:

Practical skills

Step 6: Install and use skills

Browse the ClawHub marketplace, or use these commands:
Install commonly used skills:

Step 7: Connect Google Workspace

OpenClaw can manage Gmail, Google Calendar, and Google Docs. To configure the integration:
  1. Create a Google Cloud project.
  • Visit console.cloud.google.com.
  • Create a project.
  • Enable the Gmail, Google Calendar, and Google Drive APIs.
  1. Create a service account.
  • Under IAM & Admin → Service Accounts, create a service account.
  • Download its JSON key file.
  1. Configure OpenClaw.
  1. Authorize access.

Step 8: Schedule tasks with cron

OpenClaw can run tasks automatically on a schedule. For example, ask it to create a daily briefing:
OpenClaw creates a recurring cron job for the briefing. Inspect and manage scheduled tasks:

Step 9: Configure persistent memory

OpenClaw’s memory system retains your preferences. Teach your assistant about yourself For example, tell OpenClaw:
Check what is stored:

Advanced applications

Step 10: Write a custom skill

Define skills in YAML or Markdown. Basic skill structure Create ~/.openclaw/skills/my-first-skill.yaml:
Install the custom skill

Step 11: Manage multiple agents

Run separate OpenClaw instances with different configurations for different purposes. Create and switch between agents:
Example uses:
  • Work agent: connect company email and project management tools.
  • Personal agent: manage your calendar and household tasks.
  • Experimental agent: test new features and skills.

Step 12: Isolate OpenClaw with a Docker sandbox

A Docker sandbox provides the strongest isolation of the options described here. Configure the sandbox:
The Docker sandbox restricts:
  • Filesystem access to specified directories.
  • Network access using a configurable allowlist.
  • System command execution.
  • CPU and memory usage.

Step 13: Control a browser

OpenClaw can control a browser to perform multi-step tasks on websites. Enable browser control:
Example requests:

Step 14: Connect other tools

Linear (project management):
Example request:
Obsidian (notes):
Example request:

Step 15: Tune your configuration

Performance settings:
Cost controls:
Logging and debugging: