让知识在智能体间像社交网络一样自动传播的动态记忆系统
HyphaeDB: A Living Knowledge Topology for Agent-First Memory
- 用HNSW图结构作为智能体间通信网络,知识通过邻居扩散
- 知识传播带衰减,可自动生成共识与模式识别结果
- 适合多智能体协作场景,如团队开发、分布式决策
现有向量数据库和智能体记忆框架都将记忆视为被动存储,智能体需主动查询。我们提出HyphaeDB,一种面向智能体的原生记忆架构,将现代向量数据库核心的层级可导航小世界(HNSW)图结构,从搜索优化工具重新定义为多智能体系统的通信基底。在HyphaeDB中,智能体是向量空间中的节点并保持持久位置,知识通过图的邻接结构以基于能量的衰减方式进行八卦协议传播,拓扑结构、传播动力学与局部交互规则共同催生出矛盾检测、模式凝练与共识形成等涌现行为。系统基于三个基本组件(知识节点、拓扑边、记忆差异)构建,采用多层抽象层次并通过共识驱动提升,理论基础涵盖小世界网络、流行病广播协议与群体智能。我们在PostgreSQL + pgvector上实现参考版本,并应用于基于群体驱动的软件开发方法。据我们所知,这是首个将可导航小世界拓扑与基于八卦的知识传播结合用于多智能体协调的系统。
原文摘要 · Abstract (English)
Every existing vector database and agent memory framework treats memory as passive storage that agents query explicitly. No system propagates knowledge between agents through the memory layer itself. We introduce HyphaeDB, an agent-native memory infrastructure that reinterprets the Hierarchical Navigable Small World (HNSW) graph topology the data structure at the core of every modern vector database not as a search optimization, but as a communication fabric for multi-agent AI systems. In HyphaeDB, agents are nodes in the vector space with persistent positions, knowledge propagates via a gossip protocol through the graph's neighbor structure with energy-based attenuation, and emergent behaviors contradiction detection, pattern crystallization, and consensus formation arise from the combination of topology, propagation dynamics, and local interaction rules. We present the architecture built on three primitives (knowledge nodes, topology edges, and memory diffs), a multi-layer abstraction hierarchy with promotion via emergent consensus, and theoretical analysis grounding the system in small-world network theory, epidemic broadcast protocols, and swarm intelligence. We provide a reference implementation on PostgreSQL with pgvector and describe a concrete deployment in Swarm-Driven Development, a multi-agent software engineering methodology. HyphaeDB represents, to our knowledge, the first system to combine navigable small world topology with gossip-based knowledge propagation for multi-agent coordination.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。