让大模型统一调用各种工具,减少开发工作量。
Unified Tool Integration for LLMs: A Protocol-Agnostic Approach to Function Calling
- 用通用协议抽象替代多种接口,自动生成调用规范。
- 代码量减少60%-80%,并发执行性能提升3.1倍。
- 兼容现有标准,适合开发复杂工具链的工程师。
工具增强型大语言模型的兴起导致生态系统碎片化,开发者需应对多种协议、手动定义模式和复杂的执行流程。本文提出一种统一的工具集成方法,通过抽象协议差异来优化执行性能。该方案实现自动化模式生成、双模式并发执行和无缝多源工具管理。实验表明,在各类集成场景中代码量减少60%-80%,通过优化并发性实现最高3.1倍的性能提升,并完全兼容现有函数调用标准。本工作不仅为工具集成架构提供了理论洞见,也给出了面向真实大模型应用开发的实用解决方案。
原文摘要 · Abstract (English)
The proliferation of tool-augmented Large Language Models (LLMs) has created a fragmented ecosystem where developers must navigate multiple protocols, manual schema definitions, and complex execution workflows. We address this challenge by proposing a unified approach to tool integration that abstracts protocol differences while optimizing execution performance. Our solution demonstrates how protocol-agnostic design principles can significantly reduce development overhead through automated schema generation, dual-mode concurrent execution, and seamless multi-source tool management. Experimental results show 60-80% code reduction across integration scenarios, performance improvements up to 3.1x through optimized concurrency, and full compatibility with existing function calling standards. This work contributes both theoretical insights into tool integration architecture and practical solutions for real-world LLM application development.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。