CLI 参考 • 5 分钟阅读
内存
“openclaw memory”的 CLI 参考(状态/索引/搜索)
管理语义记忆的索引与搜索。
由启用中的 memory 插件提供(默认:memory-core;通过 plugins.slots.memory = "none" 禁用)。
相关:
- 内存概念:内存
- 插件:插件
Tutorial.step
示例
Bash
openclaw memory status openclaw memory status --deep openclaw memory status --deep --index openclaw memory status --deep --index --verbose openclaw memory index openclaw memory index --verbose openclaw memory search "release checklist" openclaw memory status --agent main openclaw memory index --agent main --verbose
Tutorial.step
选项
常见:
- --agent <id>:限定到单个 agent(默认:所有已配置的 agent)。
- --verbose:在探测与索引期间输出详细日志。
注意事项:
- memory status --deep 探测向量与 embedding 的可用性。
- 如果存储脏了,memory status --deep --index 会运行重新索引。
- memory index --verbose 打印每个阶段的详细信息(provider、模型、来源、批处理活动)。
- memory status 包括通过 memorySearch.extraPaths 配置的任何额外路径。