paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Engineering Practices in Open-Source Agent Frameworks: A Large-Scale Empirical Study

开源智能体框架中的工程实践:一项大规模实证研究
FSE Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering2026匹配度 4/10 · 论文关注开源 LLM Agent 框架的工程实践与缺陷模式,属于 Agentic 程序的软件工程实证研究,与研究画像中“Agentic 程序”场景有间接联系;但未涉及静态分析、形式化验证,也未利用 LLM/Agent 改进程序分析,因此不匹配核心方向。引用 0 inbox
Yibo Zhai, Junjun Si, Yan Wang, Weiguo Lin
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:对十大主流开源 LLM 智能体框架开展大规模实证研究,提炼五项最佳实践并揭示下游项目中的系统性缺陷模式。

随着大语言模型的发展,基于 LLM 的智能体被广泛用于软件工程、数据分析与自动决策,众多开源框架通过规划、工具调用与记忆管理等模块化抽象降低了开发门槛。然而已有研究多关注能力建模与架构创新,缺乏对工程实践与实际使用情况的系统分析。本文从工程视角对主流开源智能体框架开展大规模实证研究:首先识别开源社区中最流行的十个框架,考察其流行度与语言支持;通过分析官方文档、API 接口与源码实现,提炼出共同设计原则与五项最佳实践,并形式化相应的缺陷模式;随后对 73,014 个下游项目进行分层比例抽样,评估这些实践的实际落地情况。结果揭示出反复出现的问题,包括智能体描述不完整、记忆策略使用不当、监控与错误处理不足以及工具设计欠佳,且这些问题跨框架普遍存在,说明推荐抽象与实际采用之间存在结构性鸿沟,为框架设计选择与工程风险之间的关联提供了实证依据。

问题
现有研究主要聚焦智能体框架的能力建模与架构创新,缺乏对其工程实践与真实使用情况的系统分析,框架推荐的抽象与实际采用之间存在未知差距。
方法
识别开源社区十大最流行框架并分析其流行度与语言支持,通过官方文档、API 与源码提炼五项最佳实践并形式化对应缺陷模式,再对 73,014 个下游项目做分层比例抽样以评估实践落地情况。
评估
基于分层比例抽样的下游项目实证评估,发现智能体描述不完整、记忆策略不当、监控与错误处理不足、工具设计欠佳等跨框架反复出现的缺陷,揭示设计选择与工程风险之间的关联。
原文摘要(Abstract)

The rapid development of Large Language Models (LLMs) accelerates the adoption of LLM-based agents in software engineering, data analysis, and automated decision-making. To support agent development, various open-source frameworks provide modular abstractions for planning, tool invocation, and memory management, lowering the engineering barrier. Although widely used, research mainly emphasizes capability modeling and architectural innovation, while systematic analysis of engineering practices and real-world usage remains limited. This paper presents a large-scale empirical study of mainstream open-source agent frameworks from an engineering perspective. We first identify the ten most popular frameworks in the open-source community and examine their popularity and language support. By analyzing official documentation, API interfaces, and source-level implementations, we extract common design principles and distill five best practices. We then formalize corresponding defect patterns and perform stratified proportional sampling on 73,014 downstream projects to evaluate how these practices are implemented. The results reveal recurring issues, including incomplete agent description, improper memory Strategy, insufficient monitoring and error handling, and suboptimal tool design. These defects appear across frameworks, indicating structural gaps between recommended abstractions and practical adoption. Overall, this study provides empirical evidence linking framework design choices to engineering risks and highlights the need for stronger guidance and support in agent framework development.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{ZhaiSWL26,
  title = {Engineering Practices in Open-Source Agent Frameworks: A Large-Scale Empirical Study},
  author = {Yibo Zhai and Junjun Si and Yan Wang and Weiguo Lin},
  booktitle = {FSE},
  year = {2026},
  doi = {10.1145/3803437.3805533}
}