← Back to Plugins
Tools

Yomemo Openclaw

yomemoai By yomemoai 👁 19 views ▲ 0 votes

YoMemo plugin for OpenClaw / Clawdbot / Moltbot — encrypted memory as agent tools (memo_save_memory, memo_load_memories).

GitHub

Install

npm install

#

Configuration Example

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

README

# YoMemo OpenClaw Plugin

Plugin for OpenClaw / Clawdbot / Moltbot that exposes YoMemo encrypted memory as agent tools (`memo_save_memory`, `memo_load_memories`). Uses the same encryption/decryption as [python-yomemo-mcp](https://github.com/yomemoai/python-yomemo-mcp).

## Prerequisites

- [OpenClaw](https://docs.openclaw.ai/) (or Clawdbot / Moltbot) installed with Gateway configured
- YoMemo API key
- RSA private key (PEM); you can use the same key pair as the Python MCP

## Installation

### Option 1: Install from a local clone (recommended)

```bash
# Clone this repo
git clone https://github.com/yomemoai/yomemo-openclaw-plugin.git
cd yomemo-openclaw-plugin

# Install dependencies
npm install

# Install the plugin into OpenClaw (link mode)
openclaw plugins install -l "$(pwd)"
```

Then edit `~/.openclaw/openclaw.json` and set `apiKey`, `privateKeyPath`, and `baseUrl` under `plugins.entries.yomemo` (see config example below). Restart the gateway:

```bash
openclaw gateway restart
openclaw plugins list
```

### Option 2: Install from a GitHub Release zip

1. Go to [Releases](https://github.com/yomemoai/yomemo-openclaw-plugin/releases) and download the latest `yomemo-openclaw-plugin.zip`.
2. Run:

```bash
openclaw plugins install /path/to/yomemo-openclaw-plugin.zip
```

3. Add `plugins.entries.yomemo` with your `apiKey`, `privateKeyPath`, and `baseUrl`, then restart the gateway.

### Config example

In `~/.openclaw/openclaw.json` (or your Clawdbot/Moltbot config):

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

With Option 1, `plugins.load.paths` is set by `openclaw plugins install -l`. With Option 2, the installer usually sets it; you only need to fill in `entries.yomemo.config`.

### Allow tools for your agent

Add `memo_save_memory` and `memo_load_memories` (or `group:plugins`) to `agents.list[].tools.allow`, for example:

```json
"agents": {
  "list": [
    {
      "id": "main",
      "tools": {
        "allow": ["memo_save_memory", "memo_load_memories", "group:plugins"]
      }
    }
  ]
}
```

## Tools

- **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.

## License

MIT (see [LICENSE](LICENSE) in this repo).
tools

Comments

Sign in to leave a comment

Loading comments...