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

配置代理AI编码工具:探索性研究

Harness Engineering for Agentic AI Coding Tools: An Exploratory Study

University of Bamberg(班贝格大学);Heidelberg University(海德堡大学);Singapore Management University(新加坡管理大学)

Matthias Galster, Seyedmoein Mohsenimofidi, Jai Lal Lulla, Muhammad Auwal Abubakar, Christoph Treude, Sebastian Baltes

AI总结:

本文探讨了代理AI编码工具的配置机制,分析了多种工具的配置方法,发现Context Files主导配置,并提出AGENTS.md作为通用标准。

摘要:

代理AI编码工具越来越多地自动化软件开发任务。开发者可以通过版本化仓库级别的艺术品如Markdown和JSON文件来配置这些工具。本文系统分析了代理AI编码工具的配置机制,涵盖Claude Code、GitHub Copilot、Cursor、Gemini和Codex。我们识别了八个配置机制,从静态上下文到可执行和外部集成,并在对2,853个GitHub仓库的实证研究中,检验这些机制是否被采用以及如何被采用,详细分析了Context Files、Skills和Subagents。首先,Context Files主导配置景观,并且通常是仓库中的唯一机制,AGENTS.md在不同工具中成为互操作标准。其次,很少有仓库采用高级机制如Skills和Subagents。Skills主要依赖静态指令而不是可执行脚本。第三,围绕不同工具形成了不同的配置实践,Claude Code用户使用了最广泛的机制。这些发现为理解开发者如何配置代理工具提供了实证基础,表明AGENTS.md成为自然的起点,并激励长期和实验研究,探讨配置策略如何演变并影响代理性能。

英文摘要:

Agentic AI coding tools increasingly automate software development tasks. Developers can configure these tools through versioned repository-level artifacts such as Markdown and JSON files. We present a systematic analysis of configuration mechanisms for agentic AI coding tools, covering Claude Code, GitHub Copilot, Cursor, Gemini, and Codex. We identify eight configuration mechanisms spanning from static context to executable and external integrations and, in an empirical study of 2,853 GitHub repositories, examine whether and how they are adopted, with a detailed analysis of Context Files, Skills, and Subagents. First, Context Files dominate the configuration landscape and are often the sole mechanism in a repository, with AGENTS$.$md emerging as an interoperable standard across tools. Second, few repositories adopt advanced mechanisms such as Skills and Subagents. Skills predominantly rely on static instructions rather than executable scripts. Third, distinct configuration practices are forming around different tools, with Claude Code users employing the broadest range of mechanisms. These findings establish an empirical baseline for understanding how developers configure agentic tools, suggest that AGENTS$.$md serves as a natural starting point, and motivate longitudinal and experimental research on how configuration strategies evolve and affect agent performance.

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

↑