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. The built-in side is described in full in the OpenClaw memory guide. Sources: the OpenClaw memory docs and the Hindsight OpenClaw plugin page, 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.mdgrows past the bootstrap budget, the file on disk stays whole but the copy sent to the model is cut short./context listandopenclaw doctorshow 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.mdif a fact you wanted is missing fromMEMORY.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_searchandmemory_getare no longer offered. Allowhindsight_recallin tool lists instead. - Recall fills its budget.
recallMaxTokensdefaults to 1,024. On a small bank, a narrow question can return most of that budget. Lower it, or cut weak matches withrecallMinScores. - Recall reads observations only by default.
recallTypesdefaults to["observation"]. Facts that are not consolidated yet stay out of recall until you addworldandexperience. - 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.mdandUSER.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
agentBankMaplets 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.
Setup
1openclaw plugins install npm:@vectorize-io/hindsight-openclaw --force
2npx --package @vectorize-io/hindsight-openclaw hindsight-openclaw-setup
3openclaw 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: the built-in files, search and embedding models in detail.
- OpenClaw guide: install, onboarding and the Gateway.
- OpenClaw config reference: the main config keys.
- OpenClaw vs Hermes Agent memory: the same question across the two agents.
- Hermes built-in memory vs Hindsight: the same comparison for Hermes Agent.
- Agent memory leaderboard: the published benchmark rows.