Skip to main content
OpenClaw’s memory is local. This plugin makes it universal. Sync your AI context across OpenClaw, ChatGPT, Claude, Gemini, Manus, and many more, so you never re-explain yourself again.

Features

  • Long-term memory: Saves what is relevant for personalizing your OpenClaw and other AI app experiences as memories from your OpenClaw usage; in a private cloud-vault with encryption-at-rest and secure interfaces. Auto-consolidates and forgets stale information. Securely stores facts, preferences, episodes, goals, constraints, and more.
  • Short-term memory: Determines short-term memory needs from OpenClaw usage such as conversation summaries, tasks, facts, preferences, procedures, and more. Auto-converts them to long-term memory periodically.
  • Data privacy & security: You own all your data and only you can read your information. All LLM calls are made in secure mode. You have granular control to forget or delete what you need to.
  • Cross-platform sync: Save context from ChatGPT, Claude, Gemini, Manus, Perplexity, and other flows into your cloud-vault and use in OpenClaw automatically.
  • Cross-channel memory: Memories persist across Telegram, Slack, WhatsApp, Discord, and all supported channels.
  • Auto-recall: Automatically injects relevant memories before each LLM turn.
  • Auto-capture: Automatically stores conversation context after each turn.
  • Slash commands: /remember and /recall for direct memory interaction.
  • Agent tools: maximem_store, maximem_search, maximem_forget for agent-driven memory operations.
  • CLI commands: Terminal-based memory management with openclaw maximem.

API key

You’ll need a Maximem API key to use this plugin.
  1. Sign up or log in at app.maximem.ai.
  2. Navigate to Settings → API Keys.
  3. Click Generate New Key.
  4. Copy your key (starts with mx_...).
Keep this key secure. It grants access to your memory vault.

Installation

That’s it. The plugin is now installed.

Verify installation

You should see memory-plugin in the list with status enabled.
If something isn’t working:

Configuration

Set your API key as an environment variable. This keeps it out of config files.
Then restart your terminal.

Option 2: Config file

Edit ~/.openclaw/openclaw.json:

Configuration options

Usage

Quick start

Once installed and configured, the plugin works automatically:
  1. You chat with OpenClaw on any channel (WhatsApp, Slack, Telegram, etc.).
  2. Vity recalls relevant context from your AI history, including past ChatGPT, Claude, and Perplexity conversations.
  3. OpenClaw responds with full awareness of your cross-platform context.
  4. Vity captures new information for future sessions.
No manual action needed. It just works. Use the commands below when you want direct control.

Slash commands

Use these commands directly in any supported chat channel.

/remember [text]

Manually save information to long-term memory.
Response:

/recall [query]

Search your long-term memory.
Response:

CLI commands

Manage memories from your terminal.

Search memories

Options:
  • -l, --limit <n>: Maximum results (default: 10)
  • --json: Output as JSON for scripting

Agent tools

Enable these tools in your agent configuration to let OpenClaw manage memory autonomously:
With these enabled, your agent can: Example interaction:

Troubleshooting

”API key not found” error

Ensure your API key is set correctly:
This should output your key (starting with mx_...). If it’s empty:
  1. Re-run the export command from the Configuration section.
  2. Restart your terminal.
  3. Try again.

Memories not being recalled

  1. Check config: ensure autoRecall is true.
  2. Check prompt length: messages shorter than minPromptLength (default: 5 characters) won’t trigger recall.
  3. Verify plugin status:
    Confirm memory-plugin shows as enabled.

Plugin not loading

Run diagnostics:
This checks for common configuration issues and missing dependencies.

Context not syncing from other platforms

Make sure you have:
  1. The Maximem Vity Chrome extension installed for web-based LLMs.
  2. Logged into the same Maximem account in both the extension and this plugin.
  3. Enabled sync for the platforms you want (ChatGPT, Claude, etc.) in your Vity settings.

Coming soon

  • openclaw maximem stats: view memory statistics and usage.
  • openclaw maximem wipe: bulk delete memories with filters.
  • Category-based filtering in search.

Support