EASYTOOL: Enhancing LLM-based Agents with Concise Tool Instruction

Siyu Yuan, Kaitao Song, Jiangjie Chen, Xu Tan, Yongliang Shen +3 more
1/11/2024
cs.CL

Official code: microsoft/JARVIS (25,076 stars, MIT, PyTorch, last commit 2025-07-29). 1 more implementation below.

Abstract

To address intricate real-world tasks, there has been a rising interest in tool utilization in applications of large language models (LLMs). To develop LLM-based agents, it usually requires LLMs to understand many tool functions from different tool documentation. But these documentations could be diverse, redundant or incomplete, which immensely affects the capability of LLMs in using tools. To solve this, we introduce EASYTOOL, a framework transforming diverse and lengthy tool documentation into a unified and concise tool instruction for easier tool usage. EasyTool purifies essential information from extensive tool documentation of different sources, and elaborates a unified interface (i.e., tool instruction) to offer standardized tool descriptions and functionalities for LLM-based agents. Extensive experiments on multiple different tasks demonstrate that EasyTool can significantly reduce token consumption and improve the performance of tool utilization in real-world scenarios. Our code will be available at \url{https://github.com/microsoft/JARVIS/} in the future.

View on arXivView PDF

Code Implementations(2)

microsoft/JARVISOfficial100%
PyTorchMIT

JARVIS, a system to connect LLMs with ML community. Paper: https://arxiv.org/pdf/2303.17580.pdf

25,0762,189CSS, VueMar 30, 20231 years agoMIT
deep-learningplatformpytorch

一个有用的Agent策略,参考了一部分关于EASYTOOL: Enhancing LLM-based Agents with Concise Tool Instruction逻辑,代码实现基于微软提供的EASYTOOL。

62PythonJul 4, 20251 years ago

Similar Papers

Cite this paper

@article{yuan2024easytool,
  title  = {EASYTOOL: Enhancing LLM-based Agents with Concise Tool Instruction},
  author = {Siyu Yuan and Kaitao Song and Jiangjie Chen and Xu Tan and Yongliang Shen and Ren Kan and Dongsheng Li and Deqing Yang},
  year   = {2024},
  eprint = {2401.06201},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.06201v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.06201.svg)](https://codeofpaper.com/paper/2401.06201)

Discussion