@phenomenoner

OpenClaw Mem

Sidecar-first OpenClaw memory capture bundle for openclaw-mem. Installs the lightweight observation plugin; advanced engine setup is documented on GitHub.

当前版本
v1.9.1
bundle-plugin社区source-linked

OpenClaw Mem

Sidecar-first memory capture for OpenClaw.

This ClawHub bundle installs the lightweight openclaw-mem observation plugin, not the optional memory-slot engine. It is the safest default adoption path: capture OpenClaw activity into local JSONL, ingest it into the openclaw-mem SQLite sidecar, and keep your current OpenClaw memory backend untouched.

What this bundle includes

  • extensions/openclaw-mem/, the sidecar capture plugin.
  • Operator docs for setup, deployment, auto-capture, and the optional engine path.
  • No forced memory-slot migration.
  • No schema migration.
  • No remote service requirement for the sidecar path.

What the sidecar does

  • Captures tool results into append-only JSONL for later ingest.
  • Optionally spools bounded episodic events, including conversation/tool/ops events.
  • Redacts common secrets by default before persistence.
  • Annotates memory-tool activity so retrieval and backend behavior remain auditable.
  • Lets you run local recall, timeline, graph, drift, provenance, and optimization review workflows from the GitHub repo.

Install from ClawHub

openclaw bundles install clawhub:openclaw-mem-lyria

Then enable the plugin entry in your OpenClaw config and restart/reload your gateway using your normal OpenClaw deployment path.

Minimal config shape:

{
  "plugins": {
    "entries": {
      "openclaw-mem": {
        "enabled": true,
        "config": {
          "outputPath": "memory/openclaw-mem-observations.jsonl",
          "captureMessage": false,
          "redactSensitive": true,
          "backendMode": "auto",
          "annotateMemoryTools": true,
          "excludeAgents": ["cron-watchdog", "healthcheck"],
          "episodes": {
            "enabled": false,
            "outputPath": "memory/openclaw-mem-episodes.jsonl"
          }
        }
      }
    }
  }
}

Recommended adoption path

  1. Install this sidecar bundle. Keep your existing OpenClaw memory slot.
  2. Capture to local JSONL. Start with captureMessage: false and redactSensitive: true.
  3. Run a local proof from GitHub. Clone the repo and ingest a small sample into SQLite.
  4. Schedule harvest / review only after the proof passes. Keep outputs in directories you control.
  5. Consider the engine later. Only promote to openclaw-mem-engine when you want it to own the OpenClaw memory slot.

Local proof, no OpenClaw config change

git clone https://github.com/phenomenoner/openclaw-mem.git
cd openclaw-mem
uv sync --locked

DB=/tmp/openclaw-mem.sqlite
python3 ./scripts/make_sample_jsonl.py --out /tmp/openclaw-mem-sample.jsonl

uv run --python 3.13 --frozen -- python -m openclaw_mem --db "$DB" --json status
uv run --python 3.13 --frozen -- python -m openclaw_mem --db "$DB" --json ingest --file /tmp/openclaw-mem-sample.jsonl
uv run --python 3.13 --frozen -- python -m openclaw_mem --db "$DB" --json search "OpenClaw" --limit 5
uv run --python 3.13 --frozen -- python -m openclaw_mem --db "$DB" --json timeline 2 --window 2
uv run --python 3.13 --frozen -- python -m openclaw_mem --db "$DB" --json optimize review --limit 200

Engine path

The optional openclaw-mem-engine is intentionally not the default marketplace install path. It is a stronger posture because it can become the active memory-slot backend and enable hybrid recall / controlled automation.

Install it from GitHub after reading the docs:

Rollback

Disable or remove the plugins.entries.openclaw-mem entry. Because this bundle is sidecar-only, your native memory backend remains untouched.

Version

This ClawHub release tracks openclaw-mem v1.9.1, including the runtime latency improvements in sidecar-adjacent retrieval workflows and the current sidecar plugin contract.

源码与版本

源码仓库

phenomenoner/openclaw-mem

打开仓库

源码提交

5bb408a305c65bdc8e49b6e6aa1bfbcdaddc352d

查看提交

安装命令

openclaw plugins install clawhub:openclaw-mem-lyria

元数据

  • 包名: openclaw-mem-lyria
  • 创建时间: 2026/03/24
  • 更新时间: 2026/04/27
  • 执行代码:
  • 源码标签: v1.9.1

兼容性

  • 构建于 OpenClaw: 1.9.1
  • 插件 API 范围: -
  • 标签: latest
  • 文件数: 20