NTH

MAI-Gym: An Open All-in-One Platform for GUI Agent Evaluation and RL Training across Mobile and Computer Environments

AuthorsPanrong Tong, Quyu Kong, Pengxiang Li, Tianyu Xia, Hanzhang Zhou, Lei Wang, Chenglin Cai, Long Li, Long Chen, Jianan Zhang, Zhengwen Zeng, Xu Zhang, Gongjie Zhang, Yue Wang, Steven Hoi

AffiliationsAlibaba Token Hub, Alibaba Group

October 18, 2026 2 min read
Watch on YouTube
The one-line take

MAI-Gym is an open platform for training and testing GUI agents at scale, with reported gains that transfer from simulated apps to a physical phone.

Key results

10
Supported benchmarks

Existing mobile, computer, and web benchmarks supported by the platform.

20K
Parallel environments

Maximum parallel environment instances demonstrated.

78.4%
MobileWorld success

MAI-Gym-9B benchmark score.

76.2%
OSWorld-Verified success

MAI-Gym-9B benchmark score.

48.1%
Real-app success after clone training

Success on the physical 12306 app, increased from 28.8%.

84.7%
Training input-token reduction

Reduction per trajectory using window-wise history packing.

What the paper found

Alibaba’s MAI-Gym unifies GUI-agent evaluation, data collection, and online reinforcement learning across 10 benchmarks, using the same agent harness and rollout pipeline for each. It scales to 20K parallel environments and pairs that infrastructure with resettable mock applications, coherent cross-app task worlds, and code verifiers tested against initial, completed, and reset states. Failure diagnoses can guide new task synthesis, with coding-agent tools such as Anthropic’s Claude Code and OpenAI’s Codex available for trajectory analysis. Using GRPO, the team jointly trains the 9B MAI-Gym-9B agent from Qwen3.5-9B on mobile and computer tasks. It achieves 78.4% on MobileWorld and 76.2% on OSWorld-Verified, leading open GUI agents under 10B parameters; its MobileWorld score also exceeds reported results for Claude Opus 4.8 and GPT-5.5. The release includes 2,000 verified tasks. In a sim-to-real test, training in a resettable 12306 train-ticketing clone raises success on the real app, tested on a physical phone, from 28.8% to 48.1%. For screenshot-heavy histories, window-wise packing cuts training input tokens per trajectory by 84.7% and update time by 62.6%.

Original abstract

Online reinforcement learning (RL) with verifiable rewards has driven rapid progress in mathematics, coding, and tool use, but scaling this success to GUI agents remains challenging due to the high cost of interactive environments and the scarcity of realistic training tasks. We introduce MAI-Gym, an open all-in-one platform that unifies GUI agent evaluation, data collection, and online RL training across mobile, computer, and web environments. Through a shared rollout pipeline, MAI-Gym ensures consistent agent behavior across evaluation and training, supports ten established benchmarks, and scales to 20,000 parallel environment instances. Beyond scalable infrastructure, MAI-Gym enables automated synthesis of diverse GUI applications and challenging tasks, including resettable mocked apps and coherent cross-app worlds with execution-validated task verifiers. Using MAI-Gym, we train MAI-Gym-9B, a unified 9B agent for mobile and computer use, achieving state-of-the-art performance among open GUI agents under 10B parameters: 78.4% on MobileWorld and 76.2% on OSWorld-Verified. Importantly, RL in a mocked train-ticketing app transfers to its real-world counterpart, improving task success on a phys- ical phone from 28.8% to 48.1%. We release the framework, synthesis skills, mocked apps, 2,000 verified tasks, and the model checkpoint to support repro- ducible research and further advances in scalable GUI agent training.

Read the original paper

More in AI Agents

Browse all 62 papers →
01Agent

CUAWright: A Minimal Unified Interface for Digital Agents

Yadong Lu, Theodore Lee, Yifei Li, Lawrence Keunho Jang, Tianci Xue, Yu Su, Huan Sun, Ahmed Hassan Awadallah

CUAWright argues that giving computer-use agents a simple programmable terminal instead of GUI-specific tools makes them substantially more capable, efficient, and adaptable.

Read analysis
02Agent

Stateless Language Agents: Scaling Long-Horizon Automated Research

Qizheng Zhang, Changxiu Ji, Isaac Sun, Yuetai Li, Shubhangi Upasani, Sherry Ruan, Boyuan Ma, Fenglu Hong, Vamsidhar Kamanuru, Yoonho Lee, Yuzhen Mao, Genghan Zhang, Rulin Shao, Qiuyang Mang, Andy Dimnaku, Changran Hu, Radha Poovendran, Kunle Olukotun

This paper shows how LLM research agents can make longer-term progress by keeping shared research state outside their conversations and assigning focused experiments.

Read analysis
03Agent

DAEDALUS: Bootstrapping Agent Memory from Self-Generated Tasks

Antoine Edy, Max Conti, Victor Xing, Marc-Antoine Allard, Nawfal Benhamdane, Gautier Viaud

DAEDALUS lets AI agents invent practice tasks, learn from their failures, and build reusable memories that improve performance in new environments.

Read analysis