arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.28000cs.SEcs.AI
收藏

Tool Forge:一种用于受控代理执行的携带验证的工具链

Tool Forge: A Validation-Carrying Toolchain for Governed Agentic Execution

Next Moca Global, Inc.(Next Moca全球公司)

Swanand Rao

AI总结:

本文提出 Tool Forge,一种将自然语言能力意图转换为经过验证、沙盒验证、编目工具制品,并通过令牌高效路由层暴露给代理的工具链,解决了代理执行中工具层缺乏治理和验证的问题。

摘要:

大型语言模型代理越来越被期望执行操作工作:调用API、操作文件、组装工作流以及在企业系统内行动。然而,这种执行所依赖的工具层仍然通常被视为手工编写的集成工件或暴露给模型的静态模式列表。本文介绍了Tool Forge,一种携带验证的工具链,用于将自然语言能力意图转换为受控、沙盒验证、编目的工具制品,并通过令牌高效的路由层将这些制品暴露给代理。Tool Forge将工具视为一个包含意图、能力契约、实现、依赖策略、测试、文档、运行时验证证据、生命周期状态、凭证绑定和路由元数据的胶囊。它还引入了一个路由器,该路由器暴露意图限定的工具会话,而不是将完整的目录模式加载到模型上下文中。我们描述了系统架构、验证流水线、面向MCP的路由模型、治理控制以及来自开源实现的初始可重复基准测试。在83个路由器基准测试案例中,Tool Forge Router实现了0.901的聚合微平均F1,同时相对于朴素的全目录模式暴露,估计将任务流工具上下文减少了99.2%。在25个本地工具任务的端到端生成探测中,Tool Forge生成了25个工具包中的25个,在确定性接受检查中达到了0.940的微平均F1,并通过了25个沙盒验证中的23个。这些结果作为初始系统基准测试呈现,而非最先进的主张。论文指出了对抗性路由、更广泛的API接地、沙盒隔离和跨系统评估方面的剩余挑战。

英文摘要:

Large language model agents are increasingly expected to perform operational work: calling APIs, manipulating files, assembling workflows, and acting inside enterprise systems. Yet the tool layer on which this execution depends is still commonly treated as either a hand-written integration artifact or a static list of schemas exposed to a model. This paper introduces Tool Forge, a validation-carrying toolchain for converting natural-language capability intent into governed, sandbox-verified, cataloged tool artifacts and exposing those artifacts to agents through a token-efficient routing layer. Tool Forge treats a tool as a capsule containing intent, capability contract, implementation, dependency policy, tests, documentation, runtime validation evidence, lifecycle state, credential bindings, and routing metadata. It also introduces a Router that exposes intent-scoped tool sessions instead of loading full catalog schemas into the model context. We describe the system architecture, validation pipeline, MCP-facing routing model, governance controls, and initial reproducible benchmarks from the open-source implementation. Across 83 Router benchmark cases, Tool Forge Router achieves aggregate micro-F1 of 0.901 while reducing estimated task-flow tool context by 99.2% relative to naive full-catalog schema exposure. In a 25-case end-to-end generation probe over local-tool tasks, Tool Forge generates 25 of 25 tool bundles, reaches micro-F1 of 0.940 against deterministic acceptance checks, and passes 23 of 25 live sandbox validations. These results are presented as an initial systems benchmark, not as a state-of-the-art claim. The paper identifies remaining challenges in adversarial routing, broader API grounding, sandbox isolation, and cross-system evaluation.

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

↑