社区实战:把 Hebbian Memory System 接入 OpenClaw 做“语义+激活”混合检索
问题/场景:记忆文件增大后,纯语义相似度常把“相关但不常用”的内容排在前列,难反映真实使用频率。前置条件:可运行 Node + SQLite + 本地 embedding(Ollama)。实施步骤:部署 Hebbian memory 服务→全量导入历史记忆→在查询链路加入 semantic+activation 重排→观察命中稳定性。关键点:频繁使用的记忆会被激活强化。验证:同类问题更稳定命中高价值记忆。风险:该方案来自社区项目,生产可用性需自行压测(需验证)。
REDDITDiscovered 2026-02-19Author u/avisual
Prerequisites
- Host can run SQLite + Node stack and has local embedding runtime (e.g., Ollama nomic-embed-text).
- You have exportable memory/session corpus to bootstrap initial indexing.
Steps
- Clone and deploy the Hebbian memory system repository in an isolated environment.
- Run full indexing/import for memory corpus, then execute sample semantic queries as baseline.
- Enable activation/co-occurrence scoring and set initial weight ratios conservatively.
- Wire retrieval output into OpenClaw memory recall workflow and compare answer consistency over repeated prompts.
Commands
openclaw gateway statusgit clone https://github.com/avisual/hebbian-memory-systemopenclaw statusVerify
Across repeated domain-specific prompts, top retrieved memory items become more stable and align with frequently-used operational knowledge.
Caveats
- Community post metrics are self-reported; benchmark with your own workload and privacy policy before adoption(需验证).
- Activation-heavy ranking can overfit recent usage if decay parameters are not tuned.
Source attribution
This tip is aggregated from community/public sources and preserved with attribution.
Open original source ↗