OpenClaw Guide: Install, Onboarding, Gateway and Memory

6 min read

How to install OpenClaw, finish onboarding, open the Control UI and connect a chat app, plus where its memory lives and how the Hindsight plugin works. Sourced from the OpenClaw README and docs.

OpenClaw is an open-source AI assistant that runs on your own computer and talks to you through chat apps such as Telegram, Discord, Slack and WhatsApp. One process, the Gateway, runs the sessions, tools and chat connections. Its memory is plain Markdown files in the agent workspace. For months of history, you can add an external memory plugin such as Hindsight.

This guide covers the install, first run, the Gateway, and memory. The official docs are at docs.openclaw.ai. Checked on 9 November 2026, with the latest release at v2026.11.2 (8 November 2026).

What is OpenClaw?

OpenClaw is a personal AI assistant you host yourself, with no paid tier or hosted service. Its README says state, memory and credentials stay on your hardware. Models and agent harnesses, such as Claude, Codex or a local model, are plugins you can swap without changing the rest of the setup.

PartWhat it doesWhere it runs
GatewayControl plane for sessions, tools, events and channel connectionsYour machine or a server
Control UI, CLI, TUIWays to talk to and manage the GatewayYour machine
ChannelsChat apps such as WhatsApp, Telegram, Slack, Discord, Signal, iMessageConnected to the Gateway
Apps and nodesVoice, camera, screen and device actions on supported platformsPhones, desktops

How do you install OpenClaw?

The installer supports macOS, Linux, WSL2 and Windows. It sets up a supported Node.js version when needed.

  1. macOS, Linux or WSL2: curl -fsSL https://openclaw.ai/install.sh | bash
  2. Windows PowerShell: iwr -useb https://openclaw.ai/install.ps1 | iex
  3. If you already manage Node.js: npm install -g openclaw@latest. The README asks for Node 24.16.0 or newer on the 24.x line, or 26.1.0 or newer, and recommends 24.22.1+ or 26.12.1+ for security fixes. On npm 11.15 and older, leave out the --allow-scripts=openclaw flag that newer npm versions use.
  4. Finish onboarding: the installer starts it. After a package install, run openclaw onboard --install-daemon. Onboarding checks model access, creates the workspace and sets up the Gateway.
  5. Check and open the UI: run openclaw gateway status, then openclaw dashboard. Send a message in the Control UI to confirm the assistant answers.

For Docker, Nix and other paths, see the installation guide.

How do you connect a chat app?

Each chat service is a channel. Set one up with the channel steps in the channels guide. Then message the assistant from that app.

Chat senders you do not know are not trusted by default. In a direct-message channel, OpenClaw asks you to approve each new sender with openclaw pairing approve <channel> <code>. Keep this on unless you know who can reach the bot.

Tools run on the host machine for the main session unless you turn on sandboxing. Read the security guide before you connect other people or expose the Gateway over the network.

What does OpenClaw send over the network?

Your prompts go to the model provider and chat platforms you configure. By default, OpenClaw also checks for a new version once a day. Anonymous usage statistics are opt-in. Setting update.checkOnStart: false turns off both the daily check and the statistics. The README links to a page that lists exactly what is sent.

How does OpenClaw memory work?

OpenClaw keeps memory as files you can read and edit. The default workspace is ~/.openclaw/workspace.

LayerStored asHow it is used
Durable factsMEMORY.mdLoaded at the start of each session
PreferencesUSER.mdLoaded at the start of each session
Daily notesDated files under memory/Indexed and found with the memory_search tool
Memory pluginPlugin store, such as HindsightRecalled through the plugin’s own tools and settings

The search over daily notes can use an embedding model. OpenAI is the default provider, and you can switch it to another provider or to a local model. If the provider fails, OpenClaw falls back to keyword search. The details are in OpenClaw memory: files, search and embedding models.

Memory in these files is guidance for the model, not a hard rule. OpenClaw’s docs say so. Use the approval and sandbox settings for rules that must hold.

How do you add Hindsight to OpenClaw?

Hindsight is an open-source memory server under the MIT license. The full server is in the open-source version, including graph recall, consolidation and reflect.

  1. Install the plugin: openclaw plugins install @vectorize-io/hindsight-openclaw.
  2. Choose where it runs: Hindsight Cloud, your own Hindsight server, or a local embedded daemon. The embedded daemon can run on a local model such as Ollama.
  3. Pick a memoryMode: hybrid (the default) adds memory context automatically and gives the agent tools; context only adds context; tools only gives the tools.
  4. The agent gets hindsight_retain, hindsight_recall and hindsight_reflect. Since v1.2.0 (3 November 2026) these have the same names and parameters as the Hermes plugin, so one bank can move between the two agents.
  5. Cron, heartbeat and sub-agent sessions are skipped by default. Set skipOperationalSessions: false if you want them to use memory.

Where Hindsight fits: OpenClaw’s file memory is easy to read but search depends on the embedding setup. When an agent runs for months and the notes stop fitting, Hindsight keeps a larger store that the agent searches on demand. On the long-history BEAM benchmark, Hindsight scored 64.1 at 10M tokens against 48.6 for Mem0. Mem0 ran that comparison on its own site, so treat it as vendor-run.

Limits to know:

  • Each save calls an LLM, so writes cost more than file notes.
  • Each recall adds context. Hindsight returns more per recall than Mem0 does by default, so set max_tokens lower if prompt cost matters.
  • Saves that fail are held in memory, so a crash while the server is down loses them.
  • The OpenClaw plugin’s delete tools only work with allowKnowledgeDelete: true.

For how OpenClaw and Hermes compare on memory, see OpenClaw vs Hermes Agent memory. For the Hermes side, see Hermes Agent guide.

What to check first

  1. Run openclaw gateway status and send one message in the Control UI.
  2. Pair only the chat senders you trust.
  3. Look at the files in ~/.openclaw/workspace now and then. They are plain Markdown, so you can fix a wrong note by hand.
  4. Add Hindsight only when the file memory stops being enough. Test it on a copy of your notes first.
  5. Update OpenClaw and the Hindsight plugin on their own schedules. Check the release notes, since memory behavior changed in the 2026.10 and 2026.11 releases.

FAQ, for quick reference:

  • How do I install OpenClaw? Run the install script for your system. Onboarding starts after it.
  • Where is its memory? In ~/.openclaw/workspace: MEMORY.md, USER.md and dated notes under memory/.
  • Does it work with Hindsight? Yes. Install @vectorize-io/hindsight-openclaw and pick a Hindsight server or cloud account.