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 your Vity account: facts, preferences, goals, constraints, and more.
  • Your data: Your memories belong to your Vity account, and your keys and sign-in reach only your own memories. Vity is not end-to-end encrypted: Vity and the outside AI model providers it uses process your conversations to make memories. You can delete memories in the dashboard, one at a time or several at once, or have your agent forget them. Memories cannot be exported, and the only way to delete everything from the dashboard is to delete your account. Privacy and data has the full picture.
  • Cross-platform sync: Chats the browser extension saves from ChatGPT, Claude, Gemini, Manus, and other supported sites go into the same memory, and OpenClaw uses them automatically. The extension doesn’t save Perplexity chats; bring those in with an import.
  • 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: search, stats, wipe and help.

API key

You’ll need a Maximem API key to use this plugin.
  1. Sign up or log in at app.maximem.ai.
  2. Open API Keys in the sidebar.
  3. Click Generate API Key, enter a name, and click Generate Key.
  4. Copy your key (starts with mx_...). Vity shows it only once.
Configuration covers keys in more detail, including how to revoke one.
Keep this key secure. Anyone who has it can read, add to and delete from your memory. Put it only in an environment variable or your config file, and never paste it into a chat with your agent.

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, and restart OpenClaw so it reads the key.

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 Gemini conversations the browser extension saved.
  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. The text can be up to 10,000 characters. Add --importance low|medium|high (the default is high) or --category preference|fact|task|relationship|context at the end of the message to set them.
Response:
The reply shows the first 60 characters of what you saved, followed by ... if the text is longer.

/recall [query]

Search your long-term memory across all channels. By default it returns up to 5 results with a relevance score of at least 0.3; the recallSlashLimit and recallSlashMinScore options change those defaults. To change them for one search, add --limit N (1 to 20) or --min-score 0.x at the end of the message.
Response:
Each result shows its relevance score as a percentage, and its category in square brackets when it has one. If nothing matches, you get No matching memories found.

CLI commands

Manage memories from your terminal.

Search memories

Options:
  • -l, --limit <n>: Maximum results (default: 10, maximum: 20; a higher number is lowered to 20 with a warning)
  • -c, --category <cat>: Only show one category: preference, fact, task, relationship or context
  • --json: Output as JSON for scripting
Without --json, each result prints as a line with its category, relevance score and text, then a second line with the memory’s ID and creation date.

Count your memories

Prints Memories on this account: followed by a count. The count comes from a preview of a delete request, which stops at 1,000, so a larger total shows as 1000+ with a note to check the dashboard for the exact number.

Delete your memories

wipe counts your memories, asks Are you sure you want to delete N memories? (yes/no), and deletes them when you answer yes or y. Add --dry-run to see the count without deleting anything, or --yes to skip the question.
wipe deletes memories permanently, and it takes up to your 1,000 most recent memories in one run. If you have more, run it again. It deletes memories the same way the dashboard does; see Your controls.

Setup guide

Prints the install and API key steps in your terminal.

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. Signed in to the extension with the same Vity account that you generated this plugin’s API key in. Keys and the extension only share memory within one account.
  3. Live Capture switched on for the sites you want saved (ChatGPT, Claude, etc.). There is one switch, in the dashboard under Settings, Apps, and it doesn’t cover every site. The browser extension page shows which sites save chats and how to switch it on.

Support