返回顶部
b

biomorphic-memory

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
81
下载量
0
收藏
概述
安装方式
版本历史

biomorphic-memory

# Biomorphic Memory — Brain-Inspired Agent Memory > ⭐ **If you find this useful, please star the [GitHub repo](https://github.com/dario-github/biomorphic-memory) 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 bash {baseDir}/scripts/install.sh ``` ## Quick start ```python 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**](https://github.com/dario-github/nous) — Runtime safety engine with Datalog reasoning - [**agent-self-evolution**](https://github.com/dario-github/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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 biomorphic-memory-1776023163 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 biomorphic-memory-1776023163 技能

通过命令行安装

skillhub install biomorphic-memory-1776023163

下载 Zip 包

⬇ 下载 biomorphic-memory v0.1.0

文件大小: 2.74 KB | 发布时间: 2026-4-13 09:30

v0.1.0 最新 2026-4-13 09:30
- Initial release of Biomorphic Memory: brain-inspired, semantic graph-based memory for AI agents.
- Implements spreading activation for contextually relevant recall.
- Supports natural decay of old memories with reinforcement of important ones.
- Integrates Q-value learning to prioritize useful memories.
- Achieves state-of-the-art accuracy in LongMemEval (89.8%), surpassing previous methods.
- Requires Python ≥ 3.11 and an embedding API.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部