arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.25097cs.AI
收藏

ElephantBroker:一个基于知识的认知运行时用于可信AI代理

ElephantBroker: A Knowledge-Grounded Cognitive Runtime for Trustworthy AI Agents

Elephant Broker(大象经纪人)

Cristian Lupascu, Alexandru Lupascu

AI总结:

本文提出ElephantBroker,一个结合Neo4j知识图谱与Qdrant向量存储的认知运行时,通过Cognee SDK实现可信AI代理的记忆管理,包含认知循环、证据验证、安全防护等模块,支持多部署层级和安全审计。

摘要:

基于大语言模型的代理越来越多地在高风险、多轮对话环境中运行,其中事实基础至关重要,但其记忆系统通常依赖于扁平键值存储或简单向量检索,缺乏跟踪存储知识来源和可信度的机制。本文提出ElephantBroker,一个开源的认知运行时,通过Cognee SDK将Neo4j知识图谱与Qdrant向量存储结合,提供持久、可验证的代理记忆。系统实现了完整的认知循环(存储、检索、评分、组成、保护、学习),包含混合五源检索管道、十一维竞争评分引擎、四状态证据验证模型、五阶段上下文生命周期、六层安全防护管道、AI防火墙、九阶段整合引擎以及数字权威模型。通过涵盖2200多个测试用例的全面测试套件验证了架构正确性。模块化设计支持三个部署层级、五个配置预设、多网关隔离和管理仪表板,可配置从轻量级记忆代理到具有企业级安全性和可审计性的完整认知运行时。

英文摘要:

Large Language Model based agents increasingly operate in high stakes, multi turn settings where factual grounding is critical, yet their memory systems typically rely on flat key value stores or plain vector retrieval with no mechanism to track the provenance or trustworthiness of stored knowledge. We present ElephantBroker, an open source cognitive runtime that unifies a Neo4j knowledge graph with a Qdrant vector store through the Cognee SDK to provide durable, verifiable agent memory. The system implements a complete cognitive loop (store, retrieve, score, compose, protect, learn) comprising a hybrid five source retrieval pipeline, an eleven dimension competitive scoring engine for budget constrained context assembly, a four state evidence verification model, a five stage context lifecycle with goal aware assembly and continuous compaction, a six layer cheap first guard pipeline for safety enforcement, an AI firewall providing enforceable tool call interception and multi tier safety scanning, a nine stage consolidation engine that strengthens useful patterns while decaying noise, and a numeric authority model governing multi organization identity with hierarchical access control. Architectural validation through a comprehensive test suite of over 2,200 tests spanning unit, integration, and end to end levels confirms subsystem correctness. The modular design supports three deployment tiers, five profile presets with inheritance, multi gateway isolation, and a management dashboard for human oversight, enabling configurations from lightweight memory only agents to full cognitive runtimes with enterprise grade safety and auditability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑