|国家预印本平台
首页|ToolRegistry: A Protocol-Agnostic Tool Management Library for Function-Calling LLMs

ToolRegistry: A Protocol-Agnostic Tool Management Library for Function-Calling LLMs

ToolRegistry: A Protocol-Agnostic Tool Management Library for Function-Calling LLMs

来源:Arxiv_logoArxiv
英文摘要

Large Language Model (LLM) applications are increasingly relying on external tools to extend their capabilities beyond text generation. However, current tool integration approaches suffer from fragmentation, protocol limitations, and implementation complexity, leading to substantial development overhead. This paper presents Toolregistry, a protocol-agnostic tool management library that simplifies tool registration, representation, execution, and lifecycle management via a unified interface. Our evaluation demonstrates that \toolregistry achieves 60-80% reduction in tool integration code, up to 3.1x performance improvements through concurrent execution, and 100% compatibility with OpenAI function calling standards. Real-world case studies show significant improvements in development efficiency and code maintainability across diverse integration scenarios. \toolregistry is open-source and available at https://github.com/Oaklight/ToolRegistry, with comprehensive documentation at https://toolregistry.readthedocs.io/.

Peng Ding

计算技术、计算机技术

Peng Ding.ToolRegistry: A Protocol-Agnostic Tool Management Library for Function-Calling LLMs[EB/OL].(2025-07-11)[2025-07-23].https://arxiv.org/abs/2507.10593.点此复制

评论