RestGPT
Basic Information
This repository contains the code and data accompanying the paper RestGPT, which implements an autonomous agent that connects large language models with real-world RESTful APIs. The project demonstrates an iterative coarse-to-fine online planning framework composed of a Planner, an API selector, and an Executor that organizes API calls and parses responses. It includes example integrations with TMDB and Spotify, a configuration file for required API keys, and a benchmark dataset called RestBench with human-annotated instructions and gold solution paths. The codebase is intended for researchers and developers who want to reproduce the paper's experiments, experiment with LLM-driven API invocation workflows, and evaluate end-to-end planning, API calling, and response parsing in realistic web service scenarios.