Skip to content

OpenClaw Plugin

YoMemo integrates with OpenClaw via a plugin that exposes encrypted memory as agent tools (memo_save_memory, memo_load_memories). Once installed, your OpenClaw assistant can save and recall YoMemo memories on any connected channel (WhatsApp, Telegram, Slack, Discord, and more). The plugin uses the same encryption as the Python MCP server.

Before you begin:

  • OpenClaw installed with the Gateway configured (Node ≥22)
  • A YoMemo API key
  • An RSA private key (PEM); you can use the same key pair as the Python MCP
  1. Clone the plugin and install dependencies

    Terminal window
    git clone https://github.com/yomemoai/yomemo-openclaw-plugin.git
    cd yomemo-openclaw-plugin
    npm install
  2. Install the plugin into OpenClaw

    Use link mode so the plugin runs from your clone (no copy):

    Terminal window
    openclaw plugins install -l "$(pwd)"
  3. Configure the plugin

    Edit ~/.openclaw/openclaw.json and add plugins.entries.yomemo with your API key, private key path, and base URL:

    {
    "plugins": {
    "entries": {
    "yomemo": {
    "enabled": true,
    "config": {
    "apiKey": "your_YoMemo_API_KEY",
    "privateKeyPath": "/absolute/path/to/private.pem",
    "baseUrl": "https://api.yomemo.ai"
    }
    }
    }
    }
    }

    Then restart the gateway:

    Terminal window
    openclaw gateway restart
    openclaw plugins list

    You should see yomemo listed and loaded.

  4. Allow tools for your agent

    Add the YoMemo tools to your main agent’s allowlist:

    {
    "agents": {
    "list": [
    {
    "id": "main",
    "tools": {
    "allow": [
    "memo_save_memory",
    "memo_load_memories",
    "group:plugins"
    ]
    }
    }
    ]
    }
    }
  5. Use YoMemo from OpenClaw

    Once configured, your OpenClaw assistant can call:

    • memo_save_memory — encrypt and store content in YoMemo (parameters: content required, handle, description optional)
    • memo_load_memories — load memories by handle (optional; omit to load all) and return decrypted content

    Use them from any connected channel (WhatsApp, Telegram, Slack, Discord, WebChat, etc.).

If you prefer not to clone the repo:

  1. Go to Releases and download the latest yomemo-openclaw-plugin.zip.

  2. Run:

    Terminal window
    openclaw plugins install /path/to/yomemo-openclaw-plugin.zip
  3. Add plugins.entries.yomemo with your apiKey, privateKeyPath, and baseUrl, then restart the gateway.

ToolDescription
memo_save_memoryEncrypt and store content in YoMemo. Parameters: content (required), handle, description (optional).
memo_load_memoriesLoad memories by handle (optional; omit to load all) and return decrypted content.