---
title: "OpenClaw memory and the Mem0 plugin | Bombos"
description: "OpenClaw remembers in Markdown files with built-in search. The Mem0 plugin replaces that memory slot with automatic fact extraction and recall each turn."
image: "https://bombos.ai/assets/og-en-v2.png"
---

# Does OpenClaw have memory, and what does the Mem0 plugin add?

Short answer

Yes. OpenClaw keeps memory as plain Markdown files in its workspace, such as MEMORY.md and daily notes, and searches them with memory\_search. The Mem0 plugin (@mem0/openclaw-mem0) takes over OpenClaw's memory slot: it extracts durable facts after each turn, recalls relevant ones before the next, and stores them in Mem0's cloud or in a self-hosted open source setup.

*Piet Baudoin · published November 17, 2026 · November 17, 2026*

## How OpenClaw remembers on its own

OpenClaw is an open source, MIT-licensed personal AI assistant from the OpenClaw Foundation. It runs as a self-hosted gateway that connects chat apps such as WhatsApp and Telegram to AI agents. Its memory has no hidden state: everything it remembers is a Markdown file in the workspace (by default `~/.openclaw/workspace`).

| File | What it holds | When the agent sees it |
| --- | --- | --- |
| `MEMORY.md` | Long-term, curated facts and decisions | Loaded at the start of a session |
| `USER.md` (optional) | Stable preferences and profile of the user | Loaded with its own small budget |
| `memory/YYYY-MM-DD.md` | Detailed daily notes | Indexed for search, not injected every turn |
| `DREAMS.md` (optional) | Consolidation summaries for a human to review | For review |

The agent reaches this memory through tools from the active memory plugin, by default `memory-core`: `memory_search` finds notes by meaning, `memory_get` reads a file or line range. With an embedding provider configured, search is hybrid, vectors plus keywords. Two background habits keep it useful. Before compaction summarizes a long conversation, a silent turn asks the agent to write important context to durable memory. And “dreaming” promotes qualifying items from short-term recall into `MEMORY.md`. Both are on by default.

## What the Mem0 plugin changes

The `@mem0/openclaw-mem0` plugin (version 1.1.0 in Mem0’s documentation) replaces the memory slot. Instead of the agent writing notes to files, Mem0 handles three jobs:

1.  **Triage**: after each turn it extracts durable facts from recent messages and earlier work summaries, not from every message.
2.  **Auto-recall**: before each turn it retrieves the relevant memories and injects them into the context.
3.  **Tools**: the agent gets `memory_search`, `memory_add`, `memory_get`, `memory_list`, `memory_update` and `memory_delete`, plus two event tools in platform mode.

Setting it up:

1.  Install with `openclaw plugins install @mem0/openclaw-mem0`.
2.  Activate it in `openclaw.json` with `"plugins": { "slots": { "memory": "openclaw-mem0" } }`.
3.  Choose a mode. Platform mode (the default) sends conversations to `api.mem0.ai` and needs a Mem0 API key. Open source mode needs no Mem0 key and runs on your own models and vector store.
4.  Run `openclaw mem0 init`; auto-recall, auto-capture and skills mode are then on, and each can be switched off.

Memories are scoped by `userId`, which defaults to your operating system username. Session memories are scoped by run, long-term memories persist across sessions, and recall searches both, long-term first.

## Built-in or Mem0: the honest difference

|  | Built-in memory | Mem0 plugin |
| --- | --- | --- |
| Where memory lives | Markdown files you can open and edit | Mem0 cloud, or your own vector store |
| Who decides what is stored | The agent writes notes; dreaming promotes them | Mem0 extracts facts after each turn |
| Recall | The agent searches when it chooses to | Relevant memories injected before every turn |
| Readable by a human | Yes, plain files | Through the memory tools, or the Mem0 dashboard in platform mode |

## The misunderstanding: OpenClaw needs Mem0 to remember

Many guides present Mem0 as the way to give OpenClaw memory, as if it had none. It already remembers, in files you can read, fix and put under version control. What Mem0 adds is automation: you no longer depend on the agent deciding to write something down or to search for it. The trade is visibility. A file you can open is easy to correct; extracted facts in a store need tools to inspect. When something wrong gets remembered, that difference matters (see [how to manage AI agent memory](https://bombos.ai/en/questions/ai-memory/ai-agent-memory-management/)).

## What this means for a team

OpenClaw is built as a personal assistant, and its memory follows that: one workspace, one `MEMORY.md`, and in Mem0 one `userId` per namespace. Mem0’s documentation does not describe a general way to share memories across separate agents; subagents can recall their parent’s memories, and that is it. A colleague’s OpenClaw will not know what yours learned, and neither will the Claude or ChatGPT seat next to it. If a team wants one memory, the sharing has to live outside any single agent. For the wider landscape, see [Mem0 vs Graphiti vs Cognee vs Honcho](https://bombos.ai/en/questions/alternatives/mem0-vs-graphiti-vs-cognee-vs-honcho/) and [How can a team share one AI memory?](https://bombos.ai/en/questions/ai-memory/how-to-share-ai-memory-across-a-team/)

## Where Bombos fits

OpenClaw and the Mem0 plugin give one agent a memory. Bombos is a plugin that puts one shared memory layer underneath all the AI a team uses: Claude, ChatGPT, Copilot, Grok, Codex, Cursor and your own agents. It learns how your team works, draws on what already sits in mail, documents and repos, and shows with every answer what it rests on. It runs in the cloud in Europe or standalone on your own server, and one person can try it first with their own agents.

## Related questions

Why does Mem0 not work right after installing the plugin?

OpenClaw treats memory plugins as an exclusive slot, so installing is not enough. You also set plugins.slots.memory to "openclaw-mem0" in openclaw.json, using the plugin ID rather than the npm package name.

Can I use the Mem0 plugin without sending data to Mem0?

Yes. Set mode to "open-source". No Mem0 key is needed then; by default it uses OpenAI models, so you need an OpenAI key, or you configure Ollama for a fully local setup with a vector store such as Qdrant or PGVector.

Which OpenClaw version does the Mem0 plugin need?

Mem0's documentation says OpenClaw 2026.4.25 or later is fully supported. Check yours with openclaw --version.

Are there other memory plugins for OpenClaw?

Yes. OpenClaw's own docs list the builtin SQLite-based memory as the default, plus Honcho and LanceDB as plugins. The bundled memory-wiki plugin adds a knowledge layer next to the active memory plugin instead of replacing it.

## Sources

1.  [Memory (OpenClaw docs)](https://docs.openclaw.ai/concepts/memory)
2.  [OpenClaw documentation](https://docs.openclaw.ai/)
3.  [OpenClaw integration (Mem0 docs)](https://docs.mem0.ai/integrations/openclaw)

## What does your AI forget?

1.  01You tell us which AI you use and where it keeps starting over.
2.  02We show what a shared memory changes there, on your own examples.
3.  03You keep the plan, with or without Bombos.

![Piet Baudoin](https://bombos.ai/assets/team/piet-klein.jpg)

**Piet Baudoin**You talk to Piet, from the Bombos teamDutch team from Utrecht and Nijmegen · data in Europe

## More questions about AI memory

-   [Mem0 vs Zep vs Supermemory vs Letta: which agent memory tool should I use?](https://bombos.ai/en/questions/ai-memory/mem0-vs-zep-vs-supermemory-vs-letta/)
-   [Is RAG the same as AI memory?](https://bombos.ai/en/questions/ai-memory/rag-vs-ai-memory/)
-   [How does memory work in an n8n AI agent?](https://bombos.ai/en/questions/ai-memory/how-does-memory-work-in-n8n-ai-agents/)
-   [What are the types of memory in AI agents?](https://bombos.ai/en/questions/ai-memory/types-of-ai-agent-memory/)
-   [What is Hindsight agent memory and how does it work?](https://bombos.ai/en/questions/ai-memory/what-is-hindsight-agent-memory/)
-   [How does Anthropic's memory tool for Claude agents work?](https://bombos.ai/en/questions/ai-memory/how-does-the-claude-memory-tool-work/)
-   [How do you evaluate the memory of an LLM agent?](https://bombos.ai/en/questions/ai-memory/how-to-evaluate-llm-agent-memory/)
-   [How do you give an LLM long-term memory?](https://bombos.ai/en/questions/ai-memory/how-to-give-an-llm-long-term-memory/)

[All questions about AI memory →](https://bombos.ai/en/questions/ai-memory/)


---

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://bombos.ai/#organization","name":"Bombos","url":"https://bombos.ai/","logo":"https://bombos.ai/assets/bombos-bee.png","description":"Bombos is the memory layer under every AI your team uses. One shared memory for Claude, ChatGPT, Copilot, Cursor and your own agents, that learns how you work.","sameAs":["https://www.linkedin.com/company/bombos-ai","https://www.youtube.com/@truebombos","https://www.instagram.com/truebombos/","https://bsky.app/profile/bombostrue.bsky.social","https://www.threads.com/@truebombos","https://mastodon.social/@Bombos","https://www.tiktok.com/@truebombos","https://t.me/truebombos","https://www.pinterest.com/truebombos/","https://github.com/bombos-ai","https://linktr.ee/bombos.ai","https://bombosai.substack.com","https://hashnode.com/@bombosai","https://hackernoon.com/u/bombos","https://dev.to/bombos"],"email":"info@bombos.ai","areaServed":["NL","Europe"],"knowsLanguage":["nl","en"],"contactPoint":{"@type":"ContactPoint","email":"info@bombos.ai","contactType":"sales","url":"https://bombos.ai/en/contact/","availableLanguage":["nl","en"]}},{"@type":"WebSite","@id":"https://bombos.ai/#website","name":"Bombos","url":"https://bombos.ai/","inLanguage":["nl-NL","en"],"publisher":{"@id":"https://bombos.ai/#organization"}}]}

{"@context":"https://schema.org","@type":"Article","headline":"Does OpenClaw have memory, and what does the Mem0 plugin add?","description":"OpenClaw remembers in Markdown files with built-in search. The Mem0 plugin replaces that memory slot with automatic fact extraction and recall each turn.","abstract":"Yes. OpenClaw keeps memory as plain Markdown files in its workspace, such as MEMORY.md and daily notes, and searches them with memory_search. The Mem0 plugin (@mem0/openclaw-mem0) takes over OpenClaw's memory slot: it extracts durable facts after each turn, recalls relevant ones before the next, and stores them in Mem0's cloud or in a self-hosted open source setup.","datePublished":"2026-11-17T00:00:00.000Z","dateModified":"2026-11-17T00:00:00.000Z","author":{"@type":"Person","name":"Piet Baudoin"},"publisher":{"@type":"Organization","@id":"https://bombos.ai/#organization","name":"Bombos","logo":{"@type":"ImageObject","url":"https://bombos.ai/assets/bombos-bee.png"}},"image":"https://bombos.ai/assets/og-en-v2.png","mainEntityOfPage":"https://bombos.ai/en/questions/ai-memory/does-openclaw-have-memory-mem0/","inLanguage":"en-US","isPartOf":{"@type":"CollectionPage","name":"AI memory","url":"https://bombos.ai/en/questions/ai-memory/"},"citation":[{"@type":"CreativeWork","name":"Memory (OpenClaw docs)","url":"https://docs.openclaw.ai/concepts/memory"},{"@type":"CreativeWork","name":"OpenClaw documentation","url":"https://docs.openclaw.ai/"},{"@type":"CreativeWork","name":"OpenClaw integration (Mem0 docs)","url":"https://docs.mem0.ai/integrations/openclaw"}]}

{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Bombos","item":"https://bombos.ai/en/"},{"@type":"ListItem","position":2,"name":"Questions","item":"https://bombos.ai/en/questions/"},{"@type":"ListItem","position":3,"name":"AI memory","item":"https://bombos.ai/en/questions/ai-memory/"},{"@type":"ListItem","position":4,"name":"Does OpenClaw have memory, and what does the Mem0 plugin add?","item":"https://bombos.ai/en/questions/ai-memory/does-openclaw-have-memory-mem0/"}]}

{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Why does Mem0 not work right after installing the plugin?","acceptedAnswer":{"@type":"Answer","text":"OpenClaw treats memory plugins as an exclusive slot, so installing is not enough. You also set plugins.slots.memory to \"openclaw-mem0\" in openclaw.json, using the plugin ID rather than the npm package name."}},{"@type":"Question","name":"Can I use the Mem0 plugin without sending data to Mem0?","acceptedAnswer":{"@type":"Answer","text":"Yes. Set mode to \"open-source\". No Mem0 key is needed then; by default it uses OpenAI models, so you need an OpenAI key, or you configure Ollama for a fully local setup with a vector store such as Qdrant or PGVector."}},{"@type":"Question","name":"Which OpenClaw version does the Mem0 plugin need?","acceptedAnswer":{"@type":"Answer","text":"Mem0's documentation says OpenClaw 2026.4.25 or later is fully supported. Check yours with openclaw --version."}},{"@type":"Question","name":"Are there other memory plugins for OpenClaw?","acceptedAnswer":{"@type":"Answer","text":"Yes. OpenClaw's own docs list the builtin SQLite-based memory as the default, plus Honcho and LanceDB as plugins. The bundled memory-wiki plugin adds a knowledge layer next to the active memory plugin instead of replacing it."}}]}
```
