arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.24429cs.SEcs.AI
收藏

检测开源中的AI编码代理:对1.8亿个仓库的多方法普查验证

Detecting AI Coding Agents in Open Source: A Validated Multi-Method Census of 180 Million Repositories

Arsham Khosravani, Audris Mockus

AI总结:

提出多层面检测框架,整合配置扫描、提交消息分析等四种方法,发现单一信号低估AI代理活动达30倍,揭示不同检测渠道捕获的代理群体几乎不重叠。

摘要:

生成式AI编码代理正在进入开源供应链,但其多样且往往不可见的痕迹使得其流行程度难以理解。我们引入了一个多层面检测框架,该框架整合了配置文件扫描、提交消息分析、作者身份匹配以及机器人签名查找,覆盖World of Code(1.8亿+ Git仓库),将代理痕迹分为四种行为类型。没有单一方法能捕获超过一小部分活动:多方法检测在一次快照中识别出850,157个Claude Code提交,而大多数采用研究所依赖的机器人账户查找仅恢复28,154个(3.3%),相对召回差距达30倍,因此单信号流行度估计至少被低估了这一因子。每个检测模式都经过手动验证(495个标签),并计算了每类精度和Wilson置信区间。在2024年12月至2026年4月的快照中,提交归因的代理每月生成超过32万次提交;Claude Code领先(17,295个项目中共886,122次提交),并在仅配置文件的静默采用中占主导地位(21,078个项目)。与独立的拉取请求普查(AIDev)相比,这两个渠道捕获的代理群体几乎不重叠——拉取请求普查遗漏了79%的提交检测到的Claude Code采用者和几乎所有Codex采用者,并且捕获不同类型的工作:拉取请求部署的云代理(Codex, Cursor)表现为功能工作,而提交部署的编辑器内代理(Claude Code, OpenHands, Aider)表现为维护工作。观察到的工作概况遵循部署和检测模式而非工具本身,因此没有单一渠道具有代表性。

英文摘要:

Generative AI coding agents are entering the open-source supply chain, yet their diverse and often invisible traces leave their prevalence poorly understood. We introduce a multi-layered detection framework that integrates configuration-file scanning, commit-message analysis, author-identity matching, and bot-signature lookup across World of Code (180M+ Git repositories), classifying agent traces into four behavioral types. No single method captures more than a fraction of activity: multi-method detection identifies 850,157 Claude Code commits in one snapshot, of which bot-account lookup_the signal most adoption studies rely on_recovers only 28,154 (3.3%), a 30x relative-recall gap, so single-signal prevalence estimates are biased low by at least this factor. Every detection pattern is hand-validated (495 labels) with per-cell precision and Wilson confidence intervals. Across snapshots from December 2024 to April 2026, commit-attributed agents generate over 320,000 commits per month; Claude Code leads (886,122 commits across 17,295 projects) and dominates silent, configuration-file-only adoption (21,078 projects). Compared against an independent pull-request census (AIDev), the two channels capture nearly disjoint agent populations_a PR census misses 79% of commit-detected Claude Code adopters and essentially all Codex adopters_and different kinds of work: PR-deployed cloud agents (Codex, Cursor) surface as feature work, while commit-deployed in-editor agents (Claude Code, OpenHands, Aider) surface as maintenance. The observed work profile follows deployment and detection mode rather than the tool itself, so no single channel is representative.

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

↑