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.
| Part | What it does | Where it runs |
|---|---|---|
| Gateway | Control plane for sessions, tools, events and channel connections | Your machine or a server |
| Control UI, CLI, TUI | Ways to talk to and manage the Gateway | Your machine |
| Channels | Chat apps such as WhatsApp, Telegram, Slack, Discord, Signal, iMessage | Connected to the Gateway |
| Apps and nodes | Voice, camera, screen and device actions on supported platforms | Phones, desktops |
How do you install OpenClaw?
The installer supports macOS, Linux, WSL2 and Windows. It sets up a supported Node.js version when needed.
- macOS, Linux or WSL2:
curl -fsSL https://openclaw.ai/install.sh | bash - Windows PowerShell:
iwr -useb https://openclaw.ai/install.ps1 | iex - 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=openclawflag that newer npm versions use. - 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. - Check and open the UI: run
openclaw gateway status, thenopenclaw 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.
| Layer | Stored as | How it is used |
|---|---|---|
| Durable facts | MEMORY.md | Loaded at the start of each session |
| Preferences | USER.md | Loaded at the start of each session |
| Daily notes | Dated files under memory/ | Indexed and found with the memory_search tool |
| Memory plugin | Plugin store, such as Hindsight | Recalled 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.
- Install the plugin:
openclaw plugins install @vectorize-io/hindsight-openclaw. - 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.
- Pick a
memoryMode:hybrid(the default) adds memory context automatically and gives the agent tools;contextonly adds context;toolsonly gives the tools. - The agent gets
hindsight_retain,hindsight_recallandhindsight_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. - Cron, heartbeat and sub-agent sessions are skipped by default. Set
skipOperationalSessions: falseif 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_tokenslower 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
- Run
openclaw gateway statusand send one message in the Control UI. - Pair only the chat senders you trust.
- Look at the files in
~/.openclaw/workspacenow and then. They are plain Markdown, so you can fix a wrong note by hand. - Add Hindsight only when the file memory stops being enough. Test it on a copy of your notes first.
- 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.mdand dated notes undermemory/. - Does it work with Hindsight? Yes. Install
@vectorize-io/hindsight-openclawand pick a Hindsight server or cloud account.