CocoaBench: Evaluating Unified Digital Agents in the Wild

CocoaBench Team, Shibo Hao, Zhining Zhang, Zhiqi Liang, Tianyang Liu, Yuheng Zha, Qiyue Gao, Jixuan Chen, Zilong Wang, Zhoujun Cheng, Haoxiang Zhang, Junli Wang, Hexi Jin, Boyuan Zheng, Kun Zhou, Yu Wang, Feng Yao, Licheng Liu, Yijiang Li, Zhifei Li, Zhengtao Han, Pracha Promthaw, Tommaso Cerruti, Xiaohan Fu, Ziqiao Ma, Jingbo Shang, Lianhui Qin, Julian McAuley, Eric P. Xing, Zhengzhong Liu, Rupesh Kumar Srivastava, Zhiting Hu

TL;DR

The paper introduces COCOABENCH, a new benchmark designed to evaluate unified digital agents on complex, long-horizon tasks that require the flexible combination of vision, search, and coding capabilities. The authors also present COCOA-AGENT, a lightweight, shared scaffold to enable controlled comparisons across different LLM backbones. Their experiments reveal that even the most advanced current models struggle significantly in this open-world setting, with the best-performing system achieving a success rate of only 45.1%.

What Problem Does This Paper Address?

While LLM-based agents have shown remarkable success in specialized domains—such as software engineering (CLI-only), web browsing, or GUI automation (visual-only)—real-world human tasks rarely fit neatly into a single bucket. A true digital assistant needs to seamlessly jump between looking at a user interface, searching the web for information, and executing code to process data.

Existing benchmarks typically evaluate these capabilities in isolation. This creates a major evaluation gap for the next generation of "unified" digital agents. Furthermore, many current benchmarks are tightly coupled to specific runtimes, interfaces, or brittle LLM-as-judge evaluation setups, making them difficult to scale or adapt across diverse agent infrastructures.

Methods

To bridge this gap, the authors developed two core components:

  1. COCOABENCH: A benchmark consisting of 153 human-authored, multi-step tasks. Crucially, these tasks are specified minimally by a natural language instruction and an automatic, outcome-based evaluation script over the final output. This design keeps the benchmark agnostic to specific agent architectures or tool ecosystems, forcing agents to reason about which tools to use in an open-world setting.
  2. COCOA-AGENT: A lightweight, ReAct-based agent scaffold built on top of an all-in-one sandbox runtime (AIO Sandbox). It integrates a browser, shell, and file system within a single Docker container, providing a standardized environment to evaluate different LLM backbones under identical conditions.
Figure 1: COCOABENCH evaluates agents on complex digital tasks that require flexible composition of core capabilities such as vision, search, coding. The shopping example shown here illustrates one such task and highlights the multi step, compositional nature of the benchmark.

Datasets

The primary dataset introduced is COCOABENCH, which features:

  • 153 tasks spanning 9 diverse domains (Business, Culture, Education, Life, Logic & Puzzles, Science, Sports, Technology, and Travel).
  • Diverse resource types, including 17 custom-hosted websites, videos, images, and documents (like .csv, .pdf, and .bibtex).
  • High compositionality: 98% of the tasks require a mix of multiple core capabilities (Vision, Search, and Coding).
Figure 2: Statistics of COCOABENCH. (a) Distribution of task domains, covering a wide range of everyday topics. (b) Distribution of resource types required by the tasks. Docu- ments include .csv, .pdf, and .bibtex. (c) Human-annotated key capabilities required for each task, including Vision, Search, and Coding. The Vision, Search, and Coding types are not mutually exclusive; numbers on the bars indicate the proportion of all tasks, and the x-axis represents the number of tasks.

Key Insights and Ideas

  • Coding is a Digital Superpower: One of the most striking findings is that top-performing agents heavily rely on code execution (code_execute and shell_execute), even for tasks not explicitly labeled as coding problems. Stronger models use vision and search primarily for information acquisition, then pivot to writing code to handle multi-step reasoning, data processing, and structured formatting. Weaker models get stuck trying to do everything inside the browser interface.
  • Coding Scaffolds Generalize Well: Scaffolds originally built strictly for software engineering (like OpenAI's Codex or Anthropic's Claude Code) perform surprisingly well as general-purpose problem solvers on COCOABENCH, beating out more generalized agent frameworks.
  • Where Agents Fail: Through a structured error analysis of 712 failure trajectories, the authors categorized agent breakdowns into three main buckets:
  • Reasoning & Planning (54%): The largest bottleneck, where agents fail to devise effective strategies or lose track of instructions over long horizons.
  • Visual Grounding (29%): Misreading small text, overlooking UI elements, or failing to map visual inputs to semantic concepts.
  • Tool & Execution (17%): Getting trapped in infinite loops or failing to recognize anti-bot barriers.

Key Results

The authors evaluated several frontier proprietary models and leading open-source models:

  • The Performance Ceiling: The best-performing setup—GPT-5.4 running under the Codex scaffold—achieved a success rate of just 45.1%, demonstrating that COCOABENCH remains highly challenging.
  • The Open-Source Gap: Leading open-source models lagged significantly behind their proprietary counterparts when evaluated under the shared COCOA-AGENT scaffold. Kimi-k2.5 achieved an 11.8% success rate, while Qwen3.5-397B reached only 9.8%.
  • Cost Efficiency: GPT-5.4 under Codex sat firmly on the Pareto frontier, achieving the highest accuracy while maintaining a low average cost per task ($0.75), compared to $2.31 when paired with the COCOA-AGENT scaffold.

Limitations and Future Work

While COCOABENCH provides a robust framework for evaluation, the authors note that current digital agents remain highly unreliable for open-ended, multi-modal workflows. The high frequency of reasoning and planning errors indicates that simply giving models more tools is not enough.

The authors have open-sourced COCOABENCH and the COCOA-AGENT scaffold. They suggest that the next logical step for the community is to leverage this environment as a training ground for reinforcement learning (RL) and data engineering, helping future unified agents learn how to adaptively compose their capabilities in the wild.

Summary updated

Abstract

LLM agents now perform strongly in software engineering, deep research, GUI automation, and various other applications, while recent agent scaffolds and models are increasingly integrating these capabilities into unified systems. Yet, most evaluations still test these capabilities in isolation, which leaves a gap for more diverse use cases that require agents to combine different capabilities. We introduce CocoaBench, a benchmark for unified digital agents built from human-designed, long-horizon tasks that require flexible composition of vision, search, and coding. Tasks are specified only by an instruction and an automatic evaluation function over the final output, enabling reliable and scalable evaluation across diverse agent infrastructures. We also present CocoaAgent, a lightweight shared scaffold for controlled comparison across model backbones. Experiments show that current agents remain far from reliable on CocoaBench, with the best evaluated system achieving only 45.1% success rate. Our analysis further points to substantial room for improvement in reasoning and planning, tool use and execution, and visual grounding.
BibTeX
@inproceedings{team2026cocoabench,
  author = {CocoaBench Team and Shibo Hao and Zhining Zhang and Zhiqi Liang and Tianyang Liu and Yuheng Zha and Qiyue Gao and Jixuan Chen and Zilong Wang and Zhoujun Cheng and Haoxiang Zhang and Junli Wang and Hexi Jin and Boyuan Zheng and Kun Zhou and Yu Wang and Feng Yao and Licheng Liu and Yijiang Li and Zhifei Li and Zhengtao Han and Pracha Promthaw and Tommaso Cerruti and Xiaohan Fu and Ziqiao Ma and Jingbo Shang and Lianhui Qin and Julian McAuley and Eric P. Xing and Zhengzhong Liu and Rupesh Kumar Srivastava and Zhiting Hu},
  title = {{CocoaBench: Evaluating Unified Digital Agents in the Wild}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=EGl9L6K5ob},
}
Figure