评估代理AI生态系统中的工具克隆
Evaluating Tool Cloning in Agentic-AI Ecosystems
AI总结:
研究通过大规模测量分析代理AI生态系统中工具克隆现象,发现高相似性区域普遍存在,60%的高Jaccard候选和85%的高ssdeep候选被验证为克隆,揭示工具克隆对生态系统多样性的影响。
摘要:
Agent tools正成为LLM代理访问外部数据、服务和执行环境的核心接口。随着这些工具通过公共市场分散,原始工具数量可能显著高估生态系统多样性,如果许多仓库被克隆、轻微修改或源自共享模板。这种隐藏的重复可能污染基准分割、传播脆弱实现、偏测量工具使用泛化能力,并引发归属、属性和知识产权问题。我们提出了迄今为止对代理AI生态系统中工具克隆的首次大规模测量研究。我们从多个公共平台整理了一个统一的数据集,涵盖7,508个Model Context Protocol (MCP)仓库,包含87,564个提取工具和1,353个Skills仓库,包含12,447个工具,总计8,861个仓库和100,011个工具条目。为了测量实施层面的重复,我们构建了一个仓库级别的审计流水线,使用互补的词汇和模糊结构相似性度量,并计算MCP到MCP、Skills到Skills以及MCP到Skills仓库对之间的相似性。我们进一步手动验证了每个MCP和Skills生态系统中100对样本,以校准高相似性反映真实代码克隆的频率。我们的分析显示,克隆不是孤立的产物:高相似性区域出现在所有比较设置中,且MCP生态系统中60%的高Jaccard候选和85%的高ssdeep候选被手动验证为克隆。这些结果表明,工具克隆是代理工具生态系统中普遍且严重的隐藏重复源。它们进一步表明,代理工具数据集和基准应考虑仓库归属和实现相似性来测量工具多样性或构建评估分割。
英文摘要:
Agent tools are becoming a core interface through which LLM agents access external data, services, and execution environments. As these tools are distributed through public marketplaces, raw tool counts may substantially overstate ecosystem diversity if many repositories are cloned, lightly modified, or derived from shared templates. Such hidden duplication can contaminate benchmark splits, propagate vulnerable implementations, bias measurements of tool-use generalization, and raise provenance, attribution, and intellectual-property concerns. We present, to our knowledge, the first large-scale measurement study of tool cloning in agentic AI ecosystems. We curate a unified dataset from multiple public platforms, covering 7,508 Model Context Protocol (MCP) repositories with 87,564 extracted tools and 1,353 Skills repositories with 12,447 tools, for a total of 8,861 repositories and 100,011 tool entries. To measure implementation-level duplication, we build a repository-level auditing pipeline using complementary lexical and fuzzy-structural similarity metrics, and compute pairwise similarity across MCP-to-MCP, Skills-to-Skills, and MCP-to-Skills repository pairs. We further manually verify 100 sampled pairs per MCP and Skills ecosystem across similarity-score buckets to calibrate how often high similarity reflects true code cloning. Our analysis shows that cloning is not an isolated artifact: high-similarity regions appear across comparison settings, and 60\% of high-Jaccard candidates and 85\% of high-ssdeep candidates in the MCP ecosystem are manually verified as clones. These results indicate that tool cloning is a pervasive and severe source of hidden duplication in agent-tool ecosystems. They further suggest that agent-tool datasets and benchmarks should account for repository provenance and implementation similarity when measuring tool diversity or constructing evaluation splits.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。