ModelScope-Agent: Building Your Customizable Agent System with Open-source Large Language Models

Chenliang Li, Hehong Chen, Ming Yan, Weizhou Shen, Haiyang Xu +9 more
9/2/2023
cs.CL

No official code found. Best implementation: modelscope/ms-agent (4,342 stars, Apache-2.0, last commit 2026-04-15).

Abstract

Large language models (LLMs) have recently demonstrated remarkable capabilities to comprehend human intentions, engage in reasoning, and design planning-like behavior. To further unleash the power of LLMs to accomplish complex tasks, there is a growing trend to build agent framework that equips LLMs, such as ChatGPT, with tool-use abilities to connect with massive external APIs. In this work, we introduce ModelScope-Agent, a general and customizable agent framework for real-world applications, based on open-source LLMs as controllers. It provides a user-friendly system library, with customizable engine design to support model training on multiple open-source LLMs, while also enabling seamless integration with both model APIs and common APIs in a unified way. To equip the LLMs with tool-use abilities, a comprehensive framework has been proposed spanning over tool-use data collection, tool retrieval, tool registration, memory control, customized model training, and evaluation for practical real-world applications. Finally, we showcase ModelScopeGPT, a real-world intelligent assistant of ModelScope Community based on the ModelScope-Agent framework, which is able to connect open-source LLMs with more than 1000 public AI models and localized community knowledge in ModelScope. The ModelScope-Agent library\footnote{https://github.com/modelscope/modelscope-agent} and online demo\footnote{https://modelscope.cn/studios/damo/ModelScopeGPT/summary} are now publicly available.

View on arXivView PDF

Code Implementations(1)

modelscope/ms-agentCommunity100%
Apache-2.0

MS-Agent: a lightweight framework to empower agentic execution of complex tasks

4,342512HTML, ShellAug 3, 20236 months agoApache-2.0
agentic-insightagentic-searchchat-botcode-generationdeep-research+1 more

Similar Papers

Cite this paper

@article{li2023modelscopeagent,
  title  = {ModelScope-Agent: Building Your Customizable Agent System with Open-source Large Language Models},
  author = {Chenliang Li and Hehong Chen and Ming Yan and Weizhou Shen and Haiyang Xu and Zhikai Wu and Zhicheng Zhang and Wenmeng Zhou and Yingda Chen and Chen Cheng and Hongzhu Shi and Ji Zhang and Fei Huang and Jingren Zhou},
  year   = {2023},
  eprint = {2309.00986},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.00986v1}
}

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/2309.00986.svg)](https://codeofpaper.com/paper/2309.00986)

Discussion