NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CocoaBench: Evaluating unified digital agents in the wild

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

CocoaBench is a new benchmark designed to evaluate "unified digital agents"—AI systems that must fluidly combine vision, web search, and code execution to solve complex, long-horizon tasks. The results reveal a massive performance gap: even the most advanced systems (like GPT-5.4) fail more than half the time, primarily due to breakdowns in high-level reasoning and planning.

What Problem Does This Paper Address?

We are entering the era of the "universal agent." While we have specialized agents that excel at software engineering (SWE-bench) or navigating websites (WebArena), real-world human assistance is rarely so siloed. A simple request like "find the best snacks for my team based on these dietary PDFs and order them" requires an agent to see a GUI, search the web, parse documents, and perhaps write a quick script to calculate the best value.

Existing benchmarks typically test these skills in isolation. The authors argue that this "siloed" evaluation fails to capture the complexity of compositional tasks—where the agent must decide which tool to use and how to synthesize information across different modalities.

Methods

The researchers introduced two main components:

  1. CocoaBench: A suite of 153 human-authored tasks spanning nine domains (from Business to Logic & Puzzles). These tasks are "environment-agnostic," meaning they specify an instruction and an automated success-checker rather than forcing a specific path.
  2. Cocoa-Agent: A lightweight, modular scaffold that provides a level playing field for comparing different LLM backbones. It equips models with a "sandbox" containing a browser, a terminal, and a file system, allowing them to act as unified agents.

To ensure evaluation is both scalable and reliable, they use outcome-based proxy verifiers. For example, in a shopping task, the agent is judged on whether it returns the correct final price, a result that is highly unlikely to be reached without successful multi-step execution.

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 is the newly introduced CocoaBench. Unlike previous benchmarks that might rely on a single interaction mode (like CLI-only or GUI-only), CocoaBench tasks are designed to be multi-modal by default.

  • Diversity: Tasks involve 17 custom-hosted websites, Weights & Biases logs, and even real-world artifacts like Costco receipts.
  • Capability Requirements: As shown in the statistics below, the vast majority of tasks require a mix of search and vision, with over half also benefiting from 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 the "Secret Sauce": One of the most surprising findings is that top-performing agents use code execution not just for "coding tasks," but as a general-purpose reasoning tool. They use Python to process messy data scraped from the web, leading to higher accuracy in complex planning.
  • The Compositional Hurdle: 98% of the tasks require multiple capabilities. The difficulty isn't just in "seeing" or "searching," but in the co-occurrence of these needs.
Figure 3: Co-occurrence matrix of re- quired capabilities (Vision, Search, and Coding).
  • Semantic Mirages: Agents often fall victim to "missing visual perception." They might rely too heavily on the text-based DOM (Document Object Model) of a webpage and ignore visual elements like charts or canvas-rendered data, leading them to hallucinate answers based on incomplete information.
  • Scaffold Matters: Scaffolds originally designed for coding (like OpenAI's Codex) proved to be surprisingly robust general-purpose solvers, outperforming more generic agent frameworks.

Key Results

  • The Performance Gap: The best-performing system (GPT-5.4 under the Codex scaffold) achieved a success rate of only 45.1%.
  • Open Source Lag: Leading open-source models like Kimi-k2.5 and Qwen3.5 struggled significantly, reaching only 11.8% and 9.8% success rates, respectively.
  • Failure Analysis: The researchers categorized failures into three buckets:
  • Reasoning & Planning (54%): The most common failure, where agents lose track of the goal or choose a flawed strategy.
  • Visual Grounding (29%): Misinterpreting UI elements or failing to notice fine-grained visual details.
  • Tool & Execution (17%): Getting stuck in infinite loops or failing to handle anti-bot barriers.

Limitations and Future Work

The authors acknowledge that while CocoaBench is high-quality, the "live" nature of some web resources introduces a risk of "drift" over time (though they've mitigated this by hosting many resources themselves).

The most promising direction for future work is using the Cocoa-Agent scaffold as a training environment for Reinforcement Learning. By providing a unified sandbox, researchers can train agents to better plan and switch between vision, search, and coding, moving closer to the goal of a truly reliable digital assistant.

Summary updated

BibTeX
@inproceedings{hao2026cocoabench,
  author = {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