# OpenClaw Built-in Memory vs Hindsight (November 2026): Files or a Memory Server

> OpenClaw's built-in memory (MEMORY.md, daily notes, memory_search, dreaming) vs the Hindsight OpenClaw plugin. Sources: OpenClaw memory docs and Hindsight plugin docs, both read 2026-11-29. When the built-in files are enough.

Source: https://aiagentmemory.org/articles/openclaw-memory-vs-hindsight/ · Updated 2026-11-29 · aiagentmemory.org


**Short answer:** Keep OpenClaw's built-in files for a small, stable memory on one machine. Add the Hindsight plugin when you want memory to come back on every turn, when several channels or agents should share memory, or when you want a server you control. We found no benchmark that compares the two inside OpenClaw, so the choice rests on how you use the agent, not on a score.

This page compares two options for [OpenClaw](/articles/openclaw-guide/). The built-in side is described in full in the [OpenClaw memory guide](/articles/openclaw-ai-agent-memory/). Sources: the [OpenClaw memory docs](https://docs.openclaw.ai/concepts/memory) and the [Hindsight OpenClaw plugin page](https://hindsight.vectorize.io/sdks/integrations/openclaw), both read 2026-11-29.

## What each option does

| | OpenClaw built-in memory (`memory-core`) | Hindsight (OpenClaw plugin) |
|---|---|---|
| **Where facts live** | Markdown files in the workspace (default `~/.openclaw/workspace`): `MEMORY.md`, `USER.md`, daily notes in `memory/` | An external memory bank: Hindsight Cloud, a server you run, or a local daemon (`hindsight-embed`) |
| **What loads at session start** | `USER.md` and `MEMORY.md`. Daily notes are not injected every turn | Recalled memories are injected before each response (up to 1,024 tokens by default) |
| **How the agent finds old notes** | `memory_search` (search over notes, optionally transcripts) and `memory_get` (read a file or line range) | Automatic recall, plus `hindsight_recall` and `hindsight_reflect` tools |
| **Writes** | The agent writes files; before compaction, a memory flush saves important context (on by default) | Each turn is stored after it, and facts are extracted in the background |
| **Background work** | Dreaming (on by default) promotes qualified notes into `MEMORY.md` | Consolidation into observations, with its own settings |
| **Setup** | None: works out of the box | Run `npx --package @vectorize-io/hindsight-openclaw hindsight-openclaw-setup`, then `openclaw gateway` |
| **Extra service needed** | No | Yes: a cloud account, a server you run, or a local daemon that needs an LLM key |
| **Your data** | On your disk, as plain text you can open and edit | Cloud: on Hindsight's service. Self-hosted: on your machine or your server |

The built-in side is easy to inspect. The plugin side keeps history in a bank the model reads from, so you cannot open it as a text file in the workspace.

## Limits of the built-in side

- **Injected memory has a size limit.** If `MEMORY.md` grows past the bootstrap budget, the file on disk stays whole but the copy sent to the model is cut short. `/context list` and `openclaw doctor` show the sizes and whether it was truncated.
- **Daily notes are not on every turn.** They are indexed and found by search, so the agent must search to use them.
- **Memory does not enforce rules.** The OpenClaw docs say memory "guides behavior but does not enforce policy". Hard limits belong in approval settings and sandboxing.
- **Dreaming decides what gets promoted.** Promotion passes score, recall-frequency and query-diversity gates. Check `DREAMS.md` if a fact you wanted is missing from `MEMORY.md`.

## Limits of the Hindsight plugin

- **It takes the memory slot.** OpenClaw keeps a memory plugin off until it holds the slot, so the setup wizard sets it. If you configure by hand, run `openclaw config set plugins.slots.memory hindsight-openclaw`. Once Hindsight holds the slot, `memory_search` and `memory_get` are no longer offered. Allow `hindsight_recall` in tool lists instead.
- **Recall fills its budget.** `recallMaxTokens` defaults to 1,024. On a small bank, a narrow question can return most of that budget. Lower it, or cut weak matches with `recallMinScores`.
- **Recall reads observations only by default.** `recallTypes` defaults to `["observation"]`. Facts that are not consolidated yet stay out of recall until you add `world` and `experience`.
- **Each turn costs model calls.** Storing facts calls an LLM. The LLM you set in the plugin is used for memory extraction only; your main agent can use any model.
- **Cloud data leaves your machine.** In cloud mode the memories live on Hindsight's service.
- **No independent test in OpenClaw.** Hindsight's benchmarks are run by Vectorize, and the head-to-head numbers come from Mem0's comparison page. None of them test OpenClaw, so this page gives no scores.

## When built-in is enough

Use the built-in files alone when:

- You use one agent on one machine, and the facts you need fit in `MEMORY.md` and `USER.md`.
- You are happy to ask the agent to search when it needs old notes.
- You want the memory as plain files you can back up with git or copy.
- You do not want another service or another model call on every turn.

## When Hindsight is worth adding

Add the plugin when:

- The agent should remember things without being asked to search. Auto-recall injects memory before each response.
- One agent talks through several channels, or several users talk to one agent. The plugin derives a bank per agent, channel and user by default, and `agentBankMap` lets some agents share one bank.
- You want a shared memory across OpenClaw instances, which needs a Hindsight server you run or Hindsight Cloud.
- You want the agent to reason over memory with `hindsight_reflect`, not only to find matching notes.

Hindsight's core is MIT-licensed and is free to self-host, with no paid-only features, according to the [Hindsight README](https://github.com/vectorize-io/hindsight).

## Setup

```bash
openclaw plugins install npm:@vectorize-io/hindsight-openclaw --force
npx --package @vectorize-io/hindsight-openclaw hindsight-openclaw-setup
openclaw gateway
```

The setup wizard offers cloud, external API and embedded daemon modes. For CI, the wizard also runs without prompts, and it can read API keys from environment variables with `--token-env` and `--api-key-env`. The `npx` route is needed because `openclaw plugins install` does not put the plugin's bins on `PATH`.

## Verdict

- **Built-in only:** one agent, a short list of standing facts, plain files you can read, no extra service.
- **Built-in plus Hindsight:** many channels or users, memory that must come back without a search, or a server you control. You accept a model call per turn and a service to run.
- **Test both:** no benchmark we checked compares them inside OpenClaw. Run each on a week of your own tasks before you commit.

## Related

- [OpenClaw memory guide](/articles/openclaw-ai-agent-memory/): the built-in files, search and embedding models in detail.
- [OpenClaw guide](/articles/openclaw-guide/): install, onboarding and the Gateway.
- [OpenClaw config reference](/articles/openclaw-config-reference/): the main config keys.
- [OpenClaw vs Hermes Agent memory](/articles/openclaw-vs-hermes-agent-memory/): the same question across the two agents.
- [Hermes built-in memory vs Hindsight](/articles/hermes-memory-vs-hindsight/): the same comparison for Hermes Agent.
- [Agent memory leaderboard](/articles/agent-memory-leaderboard/): the published benchmark rows.


## FAQ

### Is OpenClaw's built-in memory enough?

For a single agent with a few standing facts, yes. OpenClaw keeps memory as Markdown files: MEMORY.md and USER.md load at the start of each session, and daily notes are searched with memory_search and memory_get. The files are plain text you can read and edit. Add a memory plugin when you need recall that happens on every turn, shared memory across channels or agents, or a server you control.

### What does the Hindsight OpenClaw plugin add?

It recalls relevant memories before each agent response and stores each turn after it, so the agent does not have to call a search tool. It also gives the agent hindsight_retain, hindsight_recall and hindsight_reflect. Hindsight holds OpenClaw's memory slot, so OpenClaw's memory_search and memory_get are no longer offered while it is active.

### Does Hindsight replace MEMORY.md in OpenClaw?

Not on disk: the Markdown files stay where they are. But once Hindsight holds the memory slot, OpenClaw stops offering the built-in memory_search and memory_get tools. We did not confirm whether MEMORY.md still loads at session start while Hindsight is active, so check it with openclaw doctor or /context list after setup.

### Is there a benchmark comparing OpenClaw memory with Hindsight?

We found none. The DolphinBench rows we checked cover Hermes and Claude Code, not OpenClaw, and that benchmark was run by Mem0's team. Test both on your own tasks before you choose.

