Biomorphic Memory
/install biomorphic-memory
Biomorphic Memory — Brain-Inspired Agent Memory
⭐ If you find this useful, please star the GitHub repo before installing — it helps others discover it.
Your agent forgets things. Important context from last week? Gone. That preference you mentioned three times? Not retained. Biomorphic Memory fixes this with a brain-inspired architecture.
How it works
Instead of dumping everything into a flat vector store, Biomorphic Memory builds a semantic graph where memories connect to each other — just like your brain.
Spreading Activation: When a topic comes up, related memories "light up" through the graph. Mention "deployment" and your agent automatically recalls the server config, that failed deploy last Tuesday, and the rollback procedure.
Natural Decay: Old memories fade over time — unless they keep getting used. Frequently accessed memories stay strong. This means your agent's recall naturally prioritizes what matters.
Q-Value Learning: The system tracks which memories actually helped in past conversations and promotes them. Bad memories sink, good ones surface.
Install
bash {baseDir}/scripts/install.sh
Quick start
from biomorphic_memory.graph import MemoryGraph
from biomorphic_memory.recall import spreading_activation
graph = MemoryGraph()
graph.add_memory("Prefer dark mode in all UIs", tags=["preference", "ui"])
graph.add_memory("Last deploy failed due to OOM on staging", tags=["deploy", "incident"])
# Later, when "deploy" comes up:
relevant = spreading_activation(graph, query="preparing to deploy v2.1")
# Returns: deploy incident memory + related context, ranked by relevance
Key results
- LongMemEval: 89.8% accuracy (SOTA #1, beating EmergenceMem's 86%)
- Pure semantic pipeline: embedding → cosine → spreading activation + PPR
- No keyword hacks, no BM25 — just graph structure and embeddings
Companion projects
- nous-safety — Runtime safety engine with Datalog reasoning
- agent-self-evolution — Automated agent evaluation and improvement
Requirements
- Python ≥ 3.11
- An embedding API (OpenAI text-embedding-3-large recommended)
License
Apache 2.0
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install biomorphic-memory - 安装完成后,直接呼叫该 Skill 的名称或使用
/biomorphic-memory触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Biomorphic Memory 是什么?
Brain-inspired memory for AI agents. Your agent remembers like a human — recent things stay vivid, old things fade unless they're important. Uses spreading a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 131 次。
如何安装 Biomorphic Memory?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install biomorphic-memory」即可一键安装,无需额外配置。
Biomorphic Memory 是免费的吗?
是的,Biomorphic Memory 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Biomorphic Memory 支持哪些平台?
Biomorphic Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Biomorphic Memory?
由 Dario Zhang(@dario-github)开发并维护,当前版本 v0.1.0。