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

人工智能代理体系中的架构设计决策

Architectural Design Decisions in AI Agent Harnesses

Hu Wei

AI总结:

本文研究了人工智能代理系统中 reusable 非大语言模型工程基础设施的架构设计决策,通过分析70个公开项目,识别了五个常见设计维度和典型架构模式,为框架设计者和研究者提供证据支持。

摘要:

人工智能代理系统越来越多地依赖可重用的非大语言模型工程基础设施,该基础设施打包了工具调解、上下文处理、委托、安全控制和编排。然而,这种周围基础设施的架构设计决策仍然研究不足。本文提出了一种协议引导、源代码为基础的经验研究,分析了70个公开可用的代理系统项目,回答了三个问题:哪些设计决策维度在项目中反复出现,哪些共现结构这些决策,以及哪些典型的架构模式出现。方法上,我们贡献了一种透明的调查程序,通过源代码和技术材料阅读分析异构代理系统语料。实证上,我们识别了五个反复出现的设计维度(子代理架构、上下文管理、工具系统、安全机制和编排)并发现语料库更倾向于文件持久化、混合和分层的上下文策略;注册导向的工具系统仍然占主导地位,而MCP和插件导向的扩展正在兴起;中间隔离是常见的,但高保证审计是罕见的。跨项目共现分析揭示了更深的协调与更明确的上下文服务相关,更强的执行环境与更结构化的治理相关,以及正式化的工具注册边界与更广泛的生态系统野心相关。我们综合了五个反复出现的架构模式,涵盖轻量级工具、平衡CLI框架、多代理编排器、企业系统和场景垂直化项目。结果为代理系统工程的架构规律提供了基于证据的账户,并为框架设计者、选择者和研究者提供了扎根的指导。

英文摘要:

AI agent systems increasingly rely on reusable non-LLM engineering infrastructure that packages tool mediation, context handling, delegation, safety control, and orchestration. Yet the architectural design decisions in this surrounding infrastructure remain understudied. This paper presents a protocol-guided, source-grounded empirical study of 70 publicly available agent-system projects, addressing three questions: which design-decision dimensions recur across projects, which co-occurrences structure those decisions, and which typical architectural patterns emerge. Methodologically, we contribute a transparent investigation procedure for analyzing heterogeneous agent-system corpora through source-code and technical-material reading. Empirically, we identify five recurring design dimensions (subagent architecture, context management, tool systems, safety mechanisms, and orchestration) and find that the corpus favors file-persistent, hybrid, and hierarchical context strategies; registry-oriented tool systems remain dominant while MCP- and plugin-oriented extensions are emerging; and intermediate isolation is common but high-assurance audit is rare. Cross-project co-occurrence analysis reveals that deeper coordination pairs with more explicit context services, stronger execution environments with more structured governance, and formalized tool-registration boundaries with broader ecosystem ambitions. We synthesize five recurring architectural patterns spanning lightweight tools, balanced CLI frameworks, multi-agent orchestrators, enterprise systems, and scenario-verticalized projects. The result provides an evidence-based account of architectural regularities in agent-system engineering, with grounded guidance for framework designers, selectors, and researchers.

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

↑