OpenClaw Mem0 Plugin for Openclaw

A sophisticated memory integration that enables AI agents to remember user preferences, facts, and conversation history across multiple sessions.

xray2016
v1.0.2
Feb 12, 2026
4
3.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install openclaw-mem0

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install openclaw-mem0 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is OpenClaw Mem0 Plugin?

The OpenClaw Mem0 plugin provides a robust long-term memory layer for AI agents, allowing them to transcend the limitations of short-term context windows. By leveraging this integration within the Openclaw Skills framework, developers can build personalized assistants that learn and evolve based on continuous user interaction. It effectively bridges the gap between ephemeral chats and persistent intelligence by storing key facts and retrieving them exactly when they are needed.

This plugin is essential for developers looking to create more human-like agents that recognize returning users and remember specific project details or personal preferences. Whether using the managed cloud platform or a self-hosted local instance, this tool ensures that your agents maintain a consistent and growing knowledge base of user-specific data.

OpenClaw Mem0 Plugin Use Cases

  • Personalizing agent interactions by remembering user roles, names, and specific workplace preferences.
  • Implementing infinite context by automatically retrieving relevant historical facts during active conversations.
  • Building long-term research assistants that track project progress and decisions over several weeks or months.
  • Developing privacy-focused assistants that store memory locally using open-source vector databases.

How OpenClaw Mem0 Plugin Works

  1. The plugin initializes and connects to the Mem0 backend (cloud or local) during the agent startup process.
  2. Before the agent generates a response, the Auto-Recall system searches the memory store for data relevant to the current user query.
  3. Found memories are automatically injected into the system prompt to provide the agent with deep historical context.
  4. During the conversation, the agent can use specialized manual tools to store high-priority facts or search for specific past information.
  5. Upon completion of the turn, the Auto-Capture feature analyzes the dialogue, extracts significant new facts, and persists them to the memory store for future sessions.

OpenClaw Mem0 Plugin Setup

To activate these capabilities within your Openclaw Skills setup, add the plugin to your configuration file.

For the recommended Platform Mode (Cloud):

{
  "plugins": {
    "entries": {
      "openclaw-mem0": {
        "enabled": true,
        "config": {
          "mode": "platform",
          "apiKey": "your-mem0-api-key",
          "userId": "default-user"
        }
      }
    }
  }
}

For Open-Source Mode (Self-Hosted), ensure the mem0ai package is installed and configure your local vector store:

{
  "plugins": {
    "entries": {
      "openclaw-mem0": {
        "enabled": true,
        "config": {
          "mode": "open-source",
          "oss": {
            "vectorStore": {
              "provider": "chroma",
              "config": {
                "collectionName": "memories",
                "path": "./chroma_db"
              }
            }
          }
        }
      }
    }
  }
}

OpenClaw Mem0 Plugin Data Schema & Taxonomy

The plugin manages memory through a set of structured tools that allow the agent to interact with the underlying vector database.

Tool Name Purpose Key Parameters
memory_store Explicitly saves a new fact text (string), longTerm (bool)
memory_search Queries the memory database query (string), scope (session/long-term)
memory_get Retrieves memory by unique ID memoryId (string)
memory_list Shows all memories for a user userId (string)
memory_forget Deletes specific memories memoryId (string) or query (string)

OpenClaw Mem0 Plugin Advanced Features

  • Zero-Shot Auto-Recall: Seamlessly injects context into system prompts without requiring manual agent logic.
  • Intelligent Auto-Capture: Automatically extracts facts from conversational noise to minimize manual memory management.
  • Hybrid Storage Options: Support for both managed cloud APIs and local ChromaDB instances for data sovereignty.
  • Granular Memory Controls: Allows agents to programmatically delete or update facts via the memory_forget and memory_store tools.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*