用DNS实现海量AI工具的高效发现,速度提升十倍以上
AI Tool Discovery at Scale: All You Need is DNS

- 将工具功能与信任信息嵌入DNS域名,实现分级快速定位
- 在3.37万工具数据集上查询空间缩小95.26%,准确率媲美顶尖方案
- 无需中央注册,支持去中心化治理,适合大规模智能体系统
自主AI代理时代需要能应对数百万工具的发现机制,但现有方案因复杂度达O(N)且依赖中心化管理而失效。我们提出ToolDNS,将语义工具发现重构至互联网最稳固的基础设施——域名系统(DNS)之上。通过在分层命名空间中嵌入功能意图与组织信任,将高成本的语义搜索转化为一系列轻量级、复杂度为O(log N)的域名解析。引入三项协议兼容增强:部分展开名称、EDNS0意图载荷和逻辑子域名,以支持去中心化治理与语义裁剪。为全面评估该方法在碎片化工具生态中的表现,我们构建并发布了包含33,688个真实世界工具的大规模异构基准,涵盖MCP、A2A、RESTful及Skill协议。实验表明,ToolDNS将每查询搜索空间缩减95.26%,同时保持与当前最优检索精度相当;其基于UDP的设计相较HTTP注册表显著降低发现延迟。本工作证明,可扩展的AI互操作性不在于增加中间件,而在于更聪明地利用现有底层基础设施。
原文摘要 · Abstract (English)
The coming era of autonomous AI agents demands a discovery mechanism capable of navigating millions of tools, yet existing solutions buckle under O(N) complexity and centralized governance. Instead of building another fragile overlay, we propose ToolDNS, a radical framework that retrofits semantic tool discovery onto the Internet's most resilient substrate: the Domain Name System (DNS). By embedding functional intent and organizational trust into a hierarchical namespace, ToolDNS transforms an expensive semantic search into a series of lightweight, O(log N) name resolutions. We introduce three protocol-compliant enhancements to enable decentralized governance and semantic pruning: partially unfolded names, EDNS0 intent payloads, and logical subdomains. To rigorously evaluate this approach across the fragmented tooling landscape, we construct and release a large-scale heterogeneous benchmark comprising 33,688 real-world tools spanning MCP, A2A, RESTful, and Skill protocols. On this dataset, ToolDNS slashes the per-query search space by 95.26% while matching state-of-the-art retrieval accuracy. Furthermore, its UDP-native design reduces discovery latency by orders of magnitude compared to HTTP-based registries. Our work demonstrates that scalable AI interoperability requires not more middleware, but a smarter utilization of the infrastructure already beneath our feet.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。