HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Face

Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu +1 more
2/12/2026

No official code found. Best implementation: microsoft/JARVIS (25,076 stars, MIT, PyTorch, last commit 2025-07-29).

Abstract

Solving complicated AI tasks with different domains and modalities is a key step toward artificial general intelligence. While there are numerous AI models available for various domains and modalities, they cannot handle complicated AI tasks autonomously. Considering large language models (LLMs) have exhibited exceptional abilities in language understanding, generation, interaction, and reasoning, we advocate that LLMs could act as a controller to manage existing AI models to solve complicated AI tasks, with language serving as a generic interface to empower this. Based on this philosophy, we present HuggingGPT, an LLM-powered agent that leverages LLMs (e.g., ChatGPT) to connect various AI models in machine learning communities (e.g., Hugging Face) to solve AI tasks. Specifically, we use ChatGPT to conduct task planning when receiving a user request, select models according to their function descriptions available in Hugging Face, execute each subtask with the selected AI model, and summarize the response according to the execution results. By leveraging the strong language capability of ChatGPT and abundant AI models in Hugging Face, HuggingGPT can tackle a wide range of sophisticated AI tasks spanning different modalities and domains and achieve impressive results in language, vision, speech, and other challenging tasks, which paves a new way towards the realization of artificial general intelligence.

View on arXivView PDF

Code Implementations(1)

microsoft/JARVISCommunity100%
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

Similar Papers

Cite this paper

@article{shen2026hugginggpt,
  title  = {HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Face},
  author = {Yongliang Shen and Kaitao Song and Xu Tan and Dongsheng Li and Weiming Lu and Y. Zhuang},
  year   = {2026},
  eprint = {2303.17580},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2303.17580},
  journal = {NEURIPS 2023 2023}
}

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

Discussion