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

在以代码为中心的软件工程任务上对智能体框架的综合实证评估

A Comprehensive Empirical Evaluation of Agent Frameworks on Code-centric Software Engineering Tasks

Institute of Al for Industries, Chinese Academy of Sciences(中国科学院工业人工智能研究所);Northeastern University(东北大学);University of Science and Technology of China(中国科学技术大学)

Zhuowen Yin, Cuifeng Gao, Chunsong Fan, Wenzhang Yang, Yinxing Xue, Lijun Zhang

AI总结:

该研究在软件开发、漏洞检测和程序修复三项任务上评估了七个通用智能体框架,从有效性、效率和开销三个维度系统分析其性能权衡,为未来高效软件工程智能体的研究和应用提供了实证指导。

摘要:

与传统的自动化工具或基于静态LLM的系统不同,智能体结合了决策制定和工具使用来完成复杂任务,在软件工程中展现出巨大潜力。然而,现有研究主要关注特定任务或孤立方面,未能全面反映智能体的实际能力。为此,我们开展了一项综合实证研究,在三个代表性的以代码为中心的任务上评估了七个通用智能体框架:软件开发、漏洞检测和程序修复。每个任务均采用标准的、广泛使用的基准进行评估,以确保评估的客观性和可比性。我们从三个互补的角度系统分析了智能体性能:有效性(任务成功率)、效率(执行过程)和开销(token消耗)。研究结果揭示了所评估框架之间明显的能力模式和权衡。在有效性方面,智能体取得了中等的总体性能。在效率方面,由于协调开销,AgentOrchestra倾向于表现出最长的轨迹和最多的纠正尝试,而OpenHands则展现出更强的反思推理能力。在开销方面,软件开发产生最高的货币成本,而GPTswarm保持最高的成本效益。此外,我们还对有效性和效率之间的关系进行了深入的交叉分析,探讨了它们相互作用的潜在原因。这些发现为实际应用和未来研究向更高效的软件工程智能体发展提供了指导。

英文摘要:

Unlike traditional automation tools or static LLM-based systems, agents combine decision-making and tool utilization to accomplish complex tasks, showing great potential in software engineering. However, existing studies largely focus on specific tasks or isolated aspects, providing an incomplete picture of agents' practical capabilities. To address this, we conduct a comprehensive empirical study evaluating seven general-purpose agent frameworks across three representative code-centric tasks: software development, vulnerability detection, and program repair. Each task is assessed using standard, widely adopted benchmarks to ensure objective and comparable evaluation. Agent performance is systematically analyzed from three complementary perspectives: effectiveness (task success), efficiency (execution process), and overhead (token consumption). Our findings reveal distinct capability patterns and trade-offs among the evaluated frameworks. In terms of effectiveness, agents achieve moderate overall performance. Regarding efficiency, AgentOrchestra tends to exhibit the longest trajectories and the most correction attempts due to coordination overhead, whereas OpenHands demonstrate stronger reflective reasoning abilities. For overhead, software development incurs the highest monetary cost, while GPTswarm remains the most cost-efficient. Furthermore, we conduct an in-depth cross-analysis of the relationship between effectiveness and efficiency, exploring the underlying reasons behind their interplay. These findings guide both practical adoption and future research toward more efficient software engineering agents.

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

↑