@big-dust/openclaw-mem0-agent-isolation
v1.0.10
Published
OpenClaw Mem0 plugin with per-agent memory isolation via userId + agentId scoping
Maintainers
Readme
OpenClaw Mem0 Agent Isolation
用火山引擎免费的 Mem0 给 OpenClaw 提供的长期记忆,并支持按 agent 做记忆隔离。
作用
启用 isolateByAgentUserId 后,插件会把默认记忆作用域从:
userId
变成:
userId::agent:<agentId>
这样同一用户下的不同 agent 不会串记忆。
安装
openclaw plugins install @big-dust/openclaw-mem0-agent-isolation使用
先去火山引擎 Mem0 控制台拿到:
- API Key
- Host 地址
然后在 ~/.openclaw/openclaw.json 里配置:
"openclaw-mem0-agent-isolation": {
"enabled": true,
"config": {
"mode": "platform",
"apiKey": "你的 Mem0 API Key",
"host": "你的 Mem0 Host",
"userId": "default-user",
"isolateByAgentUserId": true,
"autoRecall": true,
"autoCapture": true
}
}说明
isolateByAgentUserId: true:按 agent 隔离记忆autoRecall: true:自动召回相关记忆autoCapture: true:自动写入新记忆
