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

H. Trivedi, Tushar Khot, Mareike Hartmann, R. Manku, Vinty Dong, Edward Li, Shashank Gupta, Ashish Sabharwal, Niranjan Balasubramanian

arXiv:2407.18901 · 2026-07-27 공개 · arXiv · PDF

llm-evaluation code-generation autonomous-agents appworld interactive-coding collateral-damage api-calls task-simulation

Abstract

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/.

한국어 요약

한 줄 요약

AppWorld는 일상 디지털 작업 자동화를 위한 대규모 API 기반 인터랙티브 코딩 에이전트 벤치마크 및 실행 환경을 제공한다.

핵심 기여도

핵심 아이디어

기존 벤치마크는 단순한 API 호출 시퀀스만 다루며, 복잡한 제어 흐름과 반복적 환경 상호작용을 요구하는 작업을 처리하지 못한다. AppWorld는 이 문제를 해결하기 위해 실제 디지털 환경을 시뮬레이션하는 AppWorld Engine과 이를 기반으로 한 AppWorld Benchmark를 제시한다. 특히, AppWorld Benchmark는 다양한 해결 방법을 허용하면서도 부작용을 체계적으로 평가하는 **상태 기반 단위 테스트**(state-based unit tests)를 도입하여, 기존의 단순한 과정 비교 방식과 차별화된다. 예를 들어, "운동 시간에 맞는 플레이리스트 생성" 작업은 여러 API를 사용한 반복적 코드 생성과 제어 흐름을 요구하며, 이는 기존 시스템이 처리하지 못하는 복잡한 작업이다.

기술적 접근법

주요 결과

의의 및 한계

AppWorld는 디지털 환경에서 자율 에이전트를 평가하기 위한 **통합적이고 재현 가능한 실행 환경**을 제공하며, 기존 벤치마크가 부족했던 복잡성과 상호작용성을 충족한다. 특히, 상태 기반 평가 방식은 다양한 해결 방법을 허용하면서 부작용을 체계적으로 평가할 수 있어, 실제 세계에서의 안정성과 신뢰성을 평가하는 데 유용하다. 그러나 AppWorld는 아직 UI 기반 제어나 다중 에이전트 협업을 지원하지 않으며, 프라이버시 및 안전성 문제를 연구하기 위한 확장 가능성은 제시되었으나 구현은 미흡하다.

실용적 활용

AppWorld는 가정용 디지털 작업 자동화, 스마트 홈 관리, 개인화된 콘텐츠 추천 시스템 등에서 자율 에이전트의 성능을 평가하는 데 활용될 수 있다. 또한, 디지털 보조 서비스의 안정성과 신뢰성을 테스트하는 데 사용할 수 있으며, LLM 기반 자동화 시스템의 개선 방향을 제시하는 연구 도구로도 활용 가능하다.