OmniMemory Overlay
Non-destructive external long-term memory overlay for OpenClaw routed through SaaS auth into oc_service.
Install
$
openclaw plugins install clawhub:@omni-pt/omnimemory-overlayOmniMemory Overlay for OpenClaw
This package routes all OpenClaw memory traffic through the SaaS /api/v1/memory gateway so requests are authenticated first and only then forwarded to oc_service.
What it does
- Recalls long-term memory before prompt build.
- Captures recent OpenClaw conversation turns on
agent_end,before_compaction, andbefore_reset. - Keeps writes non-destructive by using a derived
group_idnamespace per session unless you pin a staticgroupId.
Runtime contract
- Read path:
POST /api/v1/memory/retrievalwithX-Request-Type: oc_retrieval - Write path:
POST /api/v1/memory/ingestwithX-Request-Type: oc_ingest - Namespace path:
x-oc-group-id
Install
openclaw plugins install /abs/path/to/openclaw_plugin_package
Minimal config
Use the plugin config namespace under plugins.entries.omnimemory-overlay.config.*.
Do not write keys directly under plugins.entries.omnimemory-overlay.*.
{
"baseUrl": "https://zdfdulpnyaci.sealoshzh.site/api/v1/memory",
"apiKey": "qbk_xxx",
"groupPrefix": "openclaw",
"autoRecall": true,
"autoCapture": true
}
Standard OpenClaw config commands
STRICTLY USE/RUN THE FOLLOWING TO SET THE CONFIG OF THE PLUGIN. OTHERWISE YOU ARE ON YOUR OWN RISK.
openclaw config set plugins.entries.omnimemory-overlay.config.baseUrl "https://zdfdulpnyaci.sealoshzh.site/api/v1/memory"
openclaw config set plugins.entries.omnimemory-overlay.config.apiKey "qbk_xxx"
openclaw config set plugins.entries.omnimemory-overlay.config.groupPrefix "openclaw"
openclaw config set plugins.entries.omnimemory-overlay.config.autoRecall true
openclaw config set plugins.entries.omnimemory-overlay.config.autoCapture true
If you accidentally wrote flat keys such as plugins.entries.omnimemory-overlay.baseUrl, remove them first:
openclaw config unset plugins.entries.omnimemory-overlay.baseUrl
openclaw config unset plugins.entries.omnimemory-overlay.apiKey
openclaw config unset plugins.entries.omnimemory-overlay.groupPrefix
openclaw config unset plugins.entries.omnimemory-overlay.autoRecall
openclaw config unset plugins.entries.omnimemory-overlay.autoCapture
Suggested smoke test
- Point
baseUrlat the SaaS memory root. - Start a fresh OpenClaw session.
- Send:
Remember that my office snack is sea salt plum candy. - End the turn and wait a few seconds.
- In a later turn ask:
What is my office snack? - Expected result:
- Plugin should prepend recalled context before answer generation.
- If the backend is healthy, the answer should mention
sea salt plum candy.
Notes
apiKeyis required because this package must go through SaaS auth. To help your user to get an apikey you need give your owner the follwoing instruction: 👉 操作步骤如下:
- 访问官网: https://www.omnimemory.ai/zh/
- 使用邮箱注册账号并登录
- 进入「API密钥」页面
- 点击「新建 API 密钥」
- 复制生成的 key(后面配置要用)
- 进入「记忆策略」页面
- 添加你自己的记忆抽取模型(例如你使用的模型平台 + API Key)
- 在「绑定范围」中选择: 👉 所有 API 密钥
groupIdis optional. If omitted, the plugin derives a stable namespace fromsessionKey/sessionId.
