GameDojo: Benchmarking Real-Time Interactive Agents in Video Games
Authors: Kuan Zhang, Zhihao Yang, Yukun Chen, Xingyilang Yin, Mingyu Ouyang, Yue Su, Xiangnan Wu, Jiaming Li, Longze Chen, Run Luo, Zirong Chen, Lu Wang, Yiming Li
Organizations: Tsinghua University · University of the Chinese Academy of Sciences · University of Macau · National University of Singapore · University of Hong Kong
Interactive intelligence requires agents to act on observations and adapt to the consequences of actions. Studying these abilities calls for diverse, challenging tasks under controlled conditions. We introduce GameDojo, a controllable interactive gameplay benchmark of 120 boss encounters across 20 games for evaluating model capabilities, learning algorithms, and agent harnesses. Coding agents reconstruct the environments and write gameplay scripts, producing GameDojo-Data with 600 hours of gameplay trajectories. Experiments reveal substantial challenges for frontier models, especially in real-time interaction. Training on GameDojo-Data brings GameDojo-4B to frontier performance, with the strongest real-time performance. We also find joint training improves individual tasks, and learned policies transfer across bosses. Together, these findings establish GameDojo as a challenging and valuable interactive gameplay benchmark for the community. Our project page is at https://gamedojo-benchmark.github.io/ , and our code is at https://github.com/THUSI-Lab/GameDojo .
Figures & tables
Figure 1: GameDojo : a controlled and challenging arena for interactive agents. The benchmark spans 20 games and 120 boss encounters in diverse interaction patterns, supporting the study of model capabilities, algorithms, and agent harnesses.
Figure 2: Overview of GameDojo . (1) Human-selected games and bosses guide coding agents that build environments and behavior-tree controllers from videos, wikis, and mechanics descriptions. (2) Scripts, LLM agents, and policy networks interact through configurable action interfaces, timing modes, and difficulty settings. (3) Parallel rollouts produce high-quality GameDojo -Data efficiently without any manual gameplay. (4) The suite supports learning from generalist models and training specialist policies from scratch. (5) Shared tasks evaluate model capabilities, algorithms, and agent harnesses.
Table 2: Task coverage: nine interaction patterns and reference games used in environment design. The grid shows one boss encounter from each of the 20 reconstructed environments.
Figure 3: PPO learning with single-boss and six-boss training. Terraria and Doom occupy the top and bottom rows, respectively. Blue denotes a policy trained on the plotted boss, and orange denotes a policy trained jointly on all six bosses in the same game. Both settings allocate 100K steps per boss (600K steps for the joint policy). The axes show training progress and the fraction of boss health removed.
Figure 4: Effect of joint training on individual bosses. For each target boss in Terraria and Doom, we compare training on that boss alone (blue) with joint training on all six bosses in the same game (orange). Solid curves show PPO evaluated with greedy argmax, and dashed curves show SFT. Each curve interpolates six evaluations from 0% to 100% of training in 20% increments. The vertical axis shows the fraction of boss health removed.
Figure 6: Evaluation on the performance of 6 models on 5 boss sets. Mean progress gains (percentage points) over Qwen3.5-4B after SFT on GameDojo -Data, evaluated with time-paused CUA on easy difficulty. Training uses one or six bosses from Terraria or Doom, both games, or all 120 bosses ( GameDojo -4B); single-boss sources are Queen Bee and Cyberdemon, respectively. The five target groups contain 6, 6, 54, 54, and 108 bosses; the last three exclude Terraria and Doom. All settings use the same 2-hour training data per boss.
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Model
Reasoning Effort
Avg. Out Tok/Step
Avg. Latency
GPT-6.1-Sol
low
42.9
-
GPT-6-Luna
low
227.9
-
Claude-Opus-5.5
low
67.9
-
Claude-Haiku-5.5
low
183.4
-
Claude-Haiku-4.5
low (thinking on)
478.3
-
Gemini-3.8-Flash
low
75.6
-
Appendix
Table S5 : Closed-Source Model Evaluation Settings. Average output tokens per step include emitted reasoning tokens measured on time-paused CUA runs. - denotes fields not recorded in the aggregated API logs.
Games, especially modern AAA games, challenge language models to perceive complex scenes, control actions, and make decisions over long horizons. Existing game benchmarks primarily test language models as computer-use agents that query a language model throughout play, incurring repeated inference cost and, in real-time games, acting while the environment continues to evolve. We ask whether coding agents can learn from game interaction to develop standalone game-playing programs that run without language model inference. We thus introduce Coding4Games, a benchmark for evaluating whether coding agents can develop standalone programs that play modern games through visual observations and standard game inputs. Coding4Games has three defining features: 1) Diverse Modern Games, covering 15 games with diverse visual, strategic, and control demands; 2) Development-Test Separation, in which a coding agent uses a sandbox and the standard player interface to iteratively develop a program, after which the selected program is frozen and independently tested without language-model inference; and 3) Outcome and Process Evaluation, which measures not only game performance and reliability but also how agents use feedback, revise programs, and resolve problems during development. Across 15 games, the best program per game outscores the strongest GUI baseline on 13 and ties it on one. The human player outscores all agents on 10 games. We additionally examine the effects of development budgets. Coding4Games evaluates whether coding agents can turn their understanding of complex interactive environments into programs that work reliably on their own.
Recent advances in multimodal foundation models yield strong performance on static perception and reasoning benchmarks, yet such evaluations largely overlook a central aspect of intelligence: acting competently in dynamic environments over extended time horizons. We introduce PlaySuite, a large-scale benchmark for evaluating interactive visual intelligence across more than 5K open-source video games curated from PyWeek and itch.io. Spanning diverse genres and engines, including Pygame, HTML5, Godot, and Unity, these independent games are largely out-of-distribution for current models, reducing the likelihood that success can be achieved by retrieving memorized walkthroughs or web-scale training artifacts. To enable scalable evaluation across heterogeneous titles, we develop a unified closed-loop interaction framework optimized for HPC clusters alongside a Video-LLM-as-a-judge protocol that maps observable gameplay milestones to standardized progress levels. We evaluate fourteen recent open models spanning vision-language models, computer-use agents, and vision-language-action models. Our results yield strong evidence of a perception-action gap: despite strong reasoning capabilities, current models struggle to make sustained progress and exhibit recurring failures in spatial grounding, action execution, and self-correction. PlaySuite provides a reproducible and extensible testbed for measuring progress from visual perception to goal-directed interaction, and a foundation for developing models that can act, adapt, and generalize in dynamic visual environments.
Dheeraj Varghese, Anna Vettoruzzo, Walter Simoncini +5
University of Amsterdam · Eindhoven University of Technology · Eberhard Karls Universität Tübingen
AI agents have made substantial progress in domains where they have a non-trivial amount of time to deliberate between actions, such as mathematics, software engineering, and performing tasks on desktop applications. It is less clear how such models fare in settings that demand real-time interaction, such as playing a video game or operating a physical device. In these settings, the environment state may evolve as the agent is reasoning, or even as the underlying model is performing a forward pass. To gain insight into the real-time interaction capabilities of vision-language agents, we introduce Gym-Anything-RT. Our key idea is to construct visual minigames that demand a portfolio of capabilities required for interactive real-time settings. Gym-Anything-RT uses an agentic pipeline to automatically generate such environments based on a taxonomy of six capabilities required for real-time interaction, including the ability to perceive the environment and act under an evolving environment state. A key feature of Gym-Anything-RT is that it allows for controlled comparison of real-time interaction capabilities: we can run the same minigame in real time, or pause or slow down the environment to relax the requirement for real-time actions. We use Gym-Anything-RT to construct 100 real-time minigames and evaluate AI agents on them. We find large capability gaps in real-time interaction. For example, GPT-6 Astra (xHigh) achieves a pass rate of only 9.0% on the real-time minigames, which rises to 75.0% when the environment is paused. We also identify intriguing behaviors by the most powerful frontier agents: for instance, when given the ability to write code, these agents write code that bypasses the need to perceive and act in real time. We publicly release Gym-Anything-RT and the generated minigames to spur further research on AI agents in real-time interactive settings.