AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agents

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Trivedi, Harsh, Khot, Tushar, Hartmann, Mareike, Manku, Ruskin, Dong, Vinty, Li, Edward, Gupta, Shashank, Sabharwal, Ashish, Balasubramanian, Niranjan
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910543917350912
author Trivedi, Harsh
Khot, Tushar
Hartmann, Mareike
Manku, Ruskin
Dong, Vinty
Li, Edward
Gupta, Shashank
Sabharwal, Ashish
Balasubramanian, Niranjan
author_facet Trivedi, Harsh
Khot, Tushar
Hartmann, Mareike
Manku, Ruskin
Dong, Vinty
Li, Edward
Gupta, Shashank
Sabharwal, Ashish
Balasubramanian, Niranjan
contents Autonomous agents that address day-to-day digital tasks (e.g., ordering groceries for a household), must not only operate multiple apps (e.g., notes, messaging, shopping app) via APIs, but also generate rich code with complex control flow in an iterative manner based on their interaction with the environment. However, existing benchmarks for tool use are inadequate, as they only cover tasks that require a simple sequence of API calls. To remedy this gap, we built $\textbf{AppWorld Engine}$, a high-quality execution environment (60K lines of code) of 9 day-to-day apps operable via 457 APIs and populated with realistic digital activities simulating the lives of ~100 fictitious users. We then created $\textbf{AppWorld Benchmark}$ (40K lines of code), a suite of 750 natural, diverse, and challenging autonomous agent tasks requiring rich and interactive code generation. It supports robust programmatic evaluation with state-based unit tests, allowing for different ways of completing a task while also checking for unexpected changes, i.e., collateral damage. The state-of-the-art LLM, GPT-4o, solves only ~49% of our 'normal' tasks and ~30% of 'challenge' tasks, while other models solve at least 16% fewer. This highlights the benchmark's difficulty and AppWorld's potential to push the frontiers of interactive coding agents. The project website is available at https://appworld.dev/.
format Preprint
id arxiv_https___arxiv_org_abs_2407_18901
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agents
Trivedi, Harsh
Khot, Tushar
Hartmann, Mareike
Manku, Ruskin
Dong, Vinty
Li, Edward
Gupta, Shashank
Sabharwal, Ashish
Balasubramanian, Niranjan
Software Engineering
Artificial Intelligence
Computation and Language
Machine Learning
Autonomous agents that address day-to-day digital tasks (e.g., ordering groceries for a household), must not only operate multiple apps (e.g., notes, messaging, shopping app) via APIs, but also generate rich code with complex control flow in an iterative manner based on their interaction with the environment. However, existing benchmarks for tool use are inadequate, as they only cover tasks that require a simple sequence of API calls. To remedy this gap, we built $\textbf{AppWorld Engine}$, a high-quality execution environment (60K lines of code) of 9 day-to-day apps operable via 457 APIs and populated with realistic digital activities simulating the lives of ~100 fictitious users. We then created $\textbf{AppWorld Benchmark}$ (40K lines of code), a suite of 750 natural, diverse, and challenging autonomous agent tasks requiring rich and interactive code generation. It supports robust programmatic evaluation with state-based unit tests, allowing for different ways of completing a task while also checking for unexpected changes, i.e., collateral damage. The state-of-the-art LLM, GPT-4o, solves only ~49% of our 'normal' tasks and ~30% of 'challenge' tasks, while other models solve at least 16% fewer. This highlights the benchmark's difficulty and AppWorld's potential to push the frontiers of interactive coding agents. The project website is available at https://appworld.dev/.
title AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agents
topic Software Engineering
Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2407.18901