arXiv:2507.06229cs.CLcs.AI2025-07被引 80

构建跨框架智能体共享记忆库,让不同系统经验互通,提升问题解决能力。

Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solving

  • 构建通用记忆库,聚合多框架轨迹并提供轻量API支持
  • 混合检索与反馈机制使跨域知识迁移提升准确率18.7个百分点
  • 无需重训练,适用于多种模型和任务,适合追求智能体协作的研究者

当前智能体框架相互孤立,导致重复试错。尽管smolagents、OpenHands、OWL等框架积累了丰富经验,但知识被封闭在单一系统中。现有记忆系统仅支持单个智能体或特定框架,无法实现跨架构知识迁移。本文提出AGENT KB,一种通用记忆基础设施,可在不重新训练的前提下实现异构框架间经验共享。它将轨迹结构化存储,并提供轻量级API。推理时采用两阶段混合检索:先用跨域工作流生成规划种子,再通过定向诊断修复反馈。争议门机制防止知识干扰,保障推理稳定性。在GAIA、Humanity's Last Exam、GPQA和SWE-bench上验证,结果显著提升:smolagents在pass@3上从55.2%增至73.9%(+18.7pp),OpenHands在SWE-bench pass@1上从24.3%升至28.3%(+4.0pp)。所有基座模型均获益。消融实验确认混合检索与反馈环节关键作用,自动生成经验媲美人工标注。这为构建集体智能体奠定了共享记忆基础。

原文摘要 · Abstract (English)

AI agent frameworks operate in isolation, forcing agents to rediscover solutions and repeat mistakes across different systems. Despite valuable problem-solving experiences accumulated by frameworks like smolagents, OpenHands, and OWL, this knowledge remains trapped within individual systems, preventing the emergence of collective intelligence. Current memory systems focus on individual agents or framework-specific demonstrations, failing to enable cross-architecture knowledge transfer. We introduce AGENT KB, a universal memory infrastructure enabling seamless experience sharing across heterogeneous agent frameworks without retraining. AGENT KB aggregates trajectories into a structured knowledge base and serves lightweight APIs. At inference time, hybrid retrieval operates through two stages: planning seeds agents with cross-domain workflows, while feedback applies targeted diagnostic fixes. A disagreement gate ensures retrieved knowledge enhances rather than disrupts reasoning, addressing knowledge interference in cross-framework transfer. We validate AGENT KB across major frameworks on GAIA, Humanity's Last Exam, GPQA, and SWE-bench. Results show substantial improvements across diverse model families: compared to baseline pass@1, smolagents with AGENT KB achieve up to 18.7pp gains at pass@3 (55.2% -> 73.9%), while OpenHands improves 4.0pp on SWE-bench pass@1 (24.3% -> 28.3%). Similar improvements are observed across all base model families. Ablations confirm that hybrid retrieval and feedback stages are essential, with automatically generated experiences matching manual curation. This establishes the foundation for collective agent intelligence through shared memory infrastructures.

智能体知识共享跨框架记忆库

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。