Harness Hub
All papers

GameDojo: Benchmarking Real-Time Interactive Agents in Video Games

Kuan Zhang, Zhihao Yang, Yukun Chen, Xingyilang Yin, Mingyu Ouyang, Yue Su, Xiangnan Wu, Jiaming Li, Longze Chen, Run Luo, Zirong Chen, Lu Wang, + 1 more

Verdict: Useful

The environment suite is controllable, deterministic and has released code, and the paused-versus-real-time collapse is a clear, reusable diagnostic. The abstract's model claims are weaker than stated. They rest on in-distribution SFT compared against low-reasoning zero-shot baselines, and on real-time numbers where the proposed model trails Random in win rate. The environments are built and verified by a coding agent with no human check.

  • Novelty

    3 out of 5
  • Rigor

    2 out of 5
  • Reproducibility

    3 out of 5
  • Relevance to harnesses

    2 out of 5

TL;DR

GameDojo is a Gymnasium benchmark of 120 boss fights from 20 games. Claude Code reconstructed the fights from videos and wikis. It comes with 600 hours of scripted demonstrations and a fine-tuned Qwen3.5-4B. When the game keeps running during inference, frontier models score below Random on progress. The fine-tuned 4B model's 'strongest real-time' result is a few PG points above Random, and its real-time win rate is below Random's.

Adversarial review by Harness Hub · Nov 26, 2026 · read full text (truncated) · Suggest a correction

Original abstract (authors’ text, select to expand)

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 .

Authors’ note

28 pages. Project page: https://gamedojo-benchmark.github.io/ , and code: https://github.com/THUSI-Lab/GameDojo

Filed underharnessevaluationcoding-agentsagents

Summary

GameDojo reconstructs 120 boss encounters, six per game across 10 2D and 10 3D titles. Each is a standalone, deterministic 60 Hz environment built by Claude-Opus-5.5 through Claude Code. The benchmark varies three things: - **Action interface.** CUA uses 200 ms keyboard and mouse chunks. Semantic uses multi-head discrete JSON actions. - **Timing mode.** Time-paused freezes the simulation during inference. Real-time keeps it running. - **Difficulty.** Three levels, calibrated against state-reading behavior-tree controllers that Claude also wrote. Those controllers generate GameDojo-Data, 600 hours of demonstrations. The evaluation covers: - eleven frontier and open models; - two game-specialist models; - PPO policies trained from scratch on Terraria and Doom; - GameDojo-4B, which is Qwen3.5-4B after SFT on 240 hours of the data. Headline claims: - frontier models have near-zero win rates at medium difficulty; - their progress drops below Random in real time; - GameDojo-4B is comparable to GPT-6.1-Sol in paused mode and leads the learned agents in real time; - joint training and transfer help within Terraria and Doom.

Key findings

  • Medium difficulty, paused mode, averaged over Semantic and CUA (Table 3): GPT-6.1-Sol reaches 4.6 / 44.8 WR/PG. In real time it drops to 0.0 / 2.7. Random scores 0.0 / 7.7 in real time.
  • In a one-episode-per-boss medium CUA diagnostic (Sec. 4.2), real time cuts recorded decisions per episode from 222.3 to 6.7 for GPT-6.1-Sol and from 229.1 to 5.4 for Claude-Opus-5.5.
  • CUA averages across difficulties (Table 4): GameDojo-4B scores 21.4 / 42.9 WR/PG paused, against 20.6 / 45.3 for GPT-6.1-Sol. In real time GameDojo-4B scores 2.2 / 12.3, GPT-6.1-Sol 0.8 / 5.8 and Random 3.1 / 9.4.
  • For Qwen3.5-4B, SFT raises the share of decisions that pass CUA format validation from 8.94%–11.88% to 99.96%–99.98% (Sec. 4.3).
  • Joint training across the twelve Terraria and Doom bosses (Sec. 5.2) raises mean PG from 47.7% to 64.7% with PPO and from 69.5% to 87.5% with SFT.
  • Joint Terraria+Doom SFT raises PG on unseen 2D and 3D games by 15.39 and 14.48 points (Sec. 5.3). Terraria-only models lose 1.05–5.10 points on other 3D games.

The paper at a glance

01Select referencegames and bosses;gather videos,wikis, mechanicsnotes02Claude Code writesspec, engine andboss statemachines; threetest-and-fix rounds03Claude Code writesstate-readingbehavior-treecontroller per boss04CalibrateEasy/Medium/Hardagainst controllerdefeat times05Parallel rolloutsproduce 600hGameDojo-Data06Evaluate LLMs(Semantic/CUA xpaused/real-time),SFT Qwen3.5-4B, PPOfrom scratch
  1. Select reference games and bosses; gather videos, wikis, mechanics notes
  2. Claude Code writes spec, engine and boss state machines; three test-and-fix rounds
  3. Claude Code writes state-reading behavior-tree controller per boss
  4. Calibrate Easy/Medium/Hard against controller defeat times
  5. Parallel rollouts produce 600h GameDojo-Data
  6. Evaluate LLMs (Semantic/CUA x paused/real-time), SFT Qwen3.5-4B, PPO from scratch
Fig. 1 — How the paper works, step by step (arXiv:2611.30771).
Boss-specific script (privileged)97.7%GameDojo-4B (this paper)12.3%Random9.4%GPT-6.1-Sol5.8%Gamer-35B-A3B3.1%GPT-6-Luna3%GameScaling-9B-S32.6%Qwen3.5-4B1.5%
Fig. 2 — Real-time CUA average progress across Easy/Medium/Hard (PG), higher is better. Source: Table 4, arXiv:2611.30771.
Data table
Real-time CUA average progress across Easy/Medium/Hard (PG)
Method%
Boss-specific script (privileged)97.7%
GameDojo-4B (this paper)12.3%
Random9.4%
GPT-6.1-Sol5.8%
Gamer-35B-A3B3.1%
GPT-6-Luna3%
GameScaling-9B-S32.6%
Qwen3.5-4B1.5%

Why it matters

For harness builders, the useful result is the diagnostic, not the leaderboard. When the world keeps moving during inference, a strong model in a standard observe-reason-act loop records 6.7 decisions per episode instead of 222.3, and its progress falls below random button presses. This puts a number on a known problem: latency is a harness design concern, not only a model concern. Agents for games, robotics or live UIs need some mix of fast local policies, asynchronous action queues or action chunking. The paper tests none of these designs. It evaluates a single loop (two recent frames plus actions, low reasoning effort) while describing GameDojo as a testbed for agent harnesses. The construction pipeline is relevant to anyone using coding agents to build eval environments: Claude Code builds the environments, writes the reference controllers and calibrates difficulty against them. There is no independent check of that pipeline. For coding-agent, tool-loop or memory harness work, the paper has little direct relevance.

Issues (7)

  • High severity

    The abstract claims GameDojo-4B has 'the strongest real-time performance'. That claim holds only against other learned agents, not against Random: - Real-time CUA PG is 8.2 on medium (Random 6.8) and 2.5 on hard (Random 2.3). - Its real-time average WR is 2.2, below Random's 3.1. On easy, Random's WR is 9.4 against GameDojo-4B's 6.4. One plausible explanation is that a local 4B model issues far more decisions than API models; GPT-6.1-Sol records 6.7 per real-time episode. The paper reports no decision count for GameDojo-4B. It also reports no inference latency, hardware or network conditions, so the gain cannot be attributed to interactive skill rather than speed.

  • High severity

    The GameDojo-4B versus frontier comparison is not like-for-like: - GameDojo-4B is fine-tuned on 240 hours from the same 120 encounters at all three difficulties it is tested on. The headline claim has no held-out encounter split. - Frontier models run zero-shot at 'low reasoning where supported'. - Table 4 includes only GPT-6.1-Sol and GPT-6-Luna among closed models, and only the CUA interface. - Base Qwen3.5-4B passes CUA format validation on only 8.94%–11.88% of decisions, and malformed actions execute as no-ops. Much of the SFT gain over the base model may therefore be learned action syntax. - No format-error rates are reported for the frontier models, so format failures are not ruled out as a factor in their CUA scores either.

  • Medium severity

    Paused-mode win rates are confounded by the time budget. Paused episodes allow 300 steps, or 1 gameplay minute, while Medium is calibrated to a script defeat time of about 60 seconds. As a result, the privileged script wins only 19.8 (Semantic) / 29.0 (CUA) at medium paused, against 99.2 / 99.8 in real time with 3 minutes. On hard paused it wins 0.0. Paused WR is largely an artifact of the budget, and 'strong models make progress but rarely win' partly reflects it.

  • Medium severity

    One coding agent, Claude-Opus-5.5, produced the environments, the reference controllers, the difficulty calibration and therefore the training data. Claude-Opus-5.5 is also one of the evaluated models. The only verification described is the agent's own three-round test-and-fix loop, with no human check of fidelity or winnability. Even so, Table 1 marks GameDojo as covering 'Modern AAA', and the data is called 'high-quality'. The Limitations section concedes that reconstructions may omit implicit rules.

  • Medium severity

    Statistical support is thin: - Models get three episodes per boss and the script five. - No variance, confidence intervals or seed counts are reported for any table or for the PPO and SFT curves. - The joint-training and transfer claims rest on two games and one fixed source boss each. - Some transfer is negative: Terraria-only loses 1.05–5.10 points on other 3D games. This only partly supports the abstract's general claim that learned policies transfer across bosses.

  • Low severity

    GameDojo is presented as supporting harness studies, but no harness variants are compared. There is no ablation of history length, memory, reflection, reasoning effort, action chunking or asynchronous acting. Every LLM gets the same two-frame history and low reasoning effort.

  • Low severity

    There are internal inconsistencies: - Sec. 5.2 attributes the joint-training results to Figure 5, but Figure 4 shows joint training. - Sec. 5.3 opens with fixed-source SFT numbers (73.65%, 63.81%) that belong to the Sec. 5.2 analysis. - The abstract says 'all models win 0 score' in real time. That holds only at medium: Table 4 shows real-time easy WR of 2.5 for GPT-6.1-Sol and 6.4 for GameDojo-4B.

Questions for the authors

  • What are the per-call inference latencies and decisions per real-time episode for GameDojo-4B, compared with GPT-6.1-Sol's 6.7?
  • How does GameDojo-4B perform on encounters or games withheld from SFT?
  • What are the CUA format-error rates for the frontier models in Tables 3 and 4?
  • How do frontier models perform in real time with an asynchronous or action-chunking harness?
  • Was any reconstruction checked by humans for fidelity, bugs or unwinnable configurations beyond the coding agent's self-verification?
  • Why is the paused budget 1 gameplay minute when Medium is calibrated to about 60 seconds for the reference script?

Related in the directory

Open-source projects

Claude Code with Claude-Opus-5.5 built all 20 environments, wrote the behavior-tree controllers and calibrated difficulty against them.

More tools on the same problem

Products and open-source projects in the directory closest in meaning to this paper.

Code and data for Tau-Bench
Framework for evaluating AI agent skills and plugins.
Skills for coding agents to build games and engine-rendered projects
A bundle of 24 plugins, 49 agents and 44 skills that automates the non-coding parts of development.
Lightweight agent harness for checkpointed coding.
Long-horizon computer-use harness with durable state for coding agents.

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.

Shifang Zhao, Haoyu Wang +11

Multimodal foundation models can play video games well when the game waits for them, but often fail when it keeps running. We find that much of this gap lies in the harness, which decides what the model sees, what it remembers, and how its outputs become actions over time. Existing harnesses such as VISTA improve the first two, yet turn each model call into at most one action, so the agent acts only as often as its model thinks. We introduce AutoPILOT, which changes the third: in each model call, the model can send a primitive action, start an open-loop macro, or write a closed-loop controller that keeps playing from the screen without further model calls until it hands control back. To evaluate agents in real-time games, we build AFK-Bench, 120 diverse browser games grouped by how they respond to inaction and playable in real time or with the clock paused. With GPT-6.1 Sol under the same budgets, AutoPILOT reaches 68.6% real-time success against 38.3% for VISTA, and on GameWorld it keeps 80.0% in real time while VISTA drops from 84.1% to 42.9%. Its gains hold across closed and open-source models, and it reaches VISTA's final success rate at a fifth of its API cost. Our results suggest that how a harness turns model outputs into actions over time is a central yet underexplored part of agent design, and we hope AutoPILOT and AFK-Bench will serve as a foundation for agents in a world that does not wait.

Mark Zhao, Pengcheng Wang +10

AI-driven game development holds the potential to transform diverse human inspirations into interactive experiences. However, existing systems and benchmarks primarily focus on explicit development specifications, with limited support for adapting multimodal references and evaluating actual gameplay experiences. We introduce GameAnything, an open-source agentic platform that transforms multimodal inspirations into playable extensions of existing games through iterative development. GameAnything integrates coding agents with an independent playtesting critic, persistent development state, and reusable experience memory to support continuous refinement. We further present GameAnything-Bench, a benchmark spanning diverse reference modalities, game creation objectives, and gaming environments, with exploratory gameplay testing to assess both functional correctness and gameplay quality. Evaluations of nine coding agent configurations reveal that current agents can adapt reference content but still struggle with playable interactions and precise modifications. Moreover, multimodal references improve content fidelity, while iterative refinement yields substantial but varying improvements across agents. These findings highlight both the potential and remaining challenges of inspiration-driven game development.

Wenyi Wu, Siqi Liu +6

Coding agents now resolve repository issues and generate compact playable games, but whether they can build a large 3D game from scratch remains open. Such games tightly couple mechanics, scenes, assets, and interaction logic, and their quality rests on player enjoyment, which existing benchmarks rarely assess. Thus, we introduce 3D GameDev Arena, a first extreme long-horizon benchmark of 108 from-scratch game-development tasks across 14 genres. Given only a text specification and UI/UX reference images, a fully automated plan--implement--test--repair pipeline builds each task into a self-contained browser game. Runs average $\sim$1,000 LLM calls ; the longest uses 14,407 calls, 2.13B tokens, and 608 assets. Evaluation spans (1) objective code-level functional acceptance against the game specification, (2) agent-based QA and playtesting of 3D presentation and playability, and (3) blind pairwise Bradley-Terry human preference in a public arena. The preliminary findings indicate that long-horizon 3D game development remains far from solved, and code-level correctness alone does not dictate player preference. The public arena is hosted online.

Bizhe Bai, Jiliang Jian +3

Long horizon agentic tasks are now pushing LLM agents past their context window. To continue the task, the agent scaffold has to free up the context window, a process known as context compaction. Compaction is generally lossy by design: agents can silently lose task constraints, instructions, or their reasoning behind earlier decisions. Although compaction is a standard component of coding agent scaffolds, it has not been studied systematically with frontier models on realistic, long horizon agentic tasks. Previous work evaluate smaller open weight models on toy or synthetic trajectories. We fix the agent scaffold (OpenCode), implement five compaction strategies inside it, and evaluate three frontier models on three long horizon benchmarks (PaperBench, ProgramBench, PostTrainBench). For the two 1M context models, the compaction threshold does not measurably affect the task performance, whereas GPT-5.3-Codex, the model with the smallest context window, performs worse at lower thresholds on PaperBench and, less clearly, on PostTrainBench. No compaction method outperforms default self-summarization, and methods that discard more content cost some models up to 20 points while leaving other models the same. Compaction can, however, silently remove task constraints: on ProgramBench, the first compaction summary already drops about one third of the task's anticheating rules on average, and this rises monotonically with the number of compactions. On real user-agent sessions from SWE-chat, instructions about how the agent should work and what it should not do are dropped around 6 times more than specifications of what to build. We argue that current benchmarks are compaction-friendly: i.e., the objective is fixed and the agent's progress stays on disk, so most of what compaction discards can be recovered, except constraints that don't exist anywhere else.

Jeanne Salle, Hardik Bhatnagar +3

Can AI agents design robots that work in the real world? We introduce RoboBuilder, a benchmark in which coding agents co-design a robot's hardware and program from standard parts, motors and a custom 3D-printed part, and every design that passes in simulation is built and tested on a physical course. Simulation alone is not enough: under public part data, none of 15 initial passing designs crossed the real course, so an agent learns the simulator from measurements it requests and videos of real runs. Across four frontier coding agents, ten obstacles at three difficulty levels, 16,427 simulations of 12,774 distinct robots and 135 physical robots built in an estimated 240 hours, agents solve nearly all easy obstacles and invent mechanisms our search baselines do not reach, but falter at harder levels, when one robot must cross every obstacle, and in the real world, where 66% of simulated passes hold across all levels. Closing the loop helps: shown a video of its real failure, an agent redesigns the robot, sometimes correcting its simulator, and removes 72% of level-1 and level-2 failures. RoboBuilder measures progress toward agents that engineer real machines. Project Page: https://ghadinehme.com/robobuilder.github.io/

Ghadi Nehme, Dahyun Nam +2

The Harness Hub newsletter

New harness companies, projects, releases and the monthly State of Harness report, in your inbox.