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

5 min read

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.

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 liveMarkdown 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 startUSER.md and MEMORY.md. Daily notes are not injected every turnRecalled memories are injected before each response (up to 1,024 tokens by default)
How the agent finds old notesmemory_search (search over notes, optionally transcripts) and memory_get (read a file or line range)Automatic recall, plus hindsight_recall and hindsight_reflect tools
WritesThe 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 workDreaming (on by default) promotes qualified notes into MEMORY.mdConsolidation into observations, with its own settings
SetupNone: works out of the boxRun npx --package @vectorize-io/hindsight-openclaw hindsight-openclaw-setup, then openclaw gateway
Extra service neededNoYes: a cloud account, a server you run, or a local daemon that needs an LLM key
Your dataOn your disk, as plain text you can open and editCloud: 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.

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.