Kevin Zhang has released Game Autoresearch, an MIT-licensed agent skill that walks a coding agent through training a bot for a game. The agent writes a contract for the game, builds or wraps a fast simulator, trains against it and proves the result on seeds it never saw.
Zhang built it from his own benchmark of ten models on six game tasks and from a Polytopia bot that cost about US$7,000 of Modal compute. I ran the skill in Codex with five models on a small snake game, and I’ve put what each one produced next to what the skill asks for.
What the skill makes the agent do
The skill is a checklist the agent can’t skip. It starts by locking a contract: the budget, the loop mode and the compute. Then the agent builds a fast simulator, either by wrapping the game it’s given or by porting it. A smoke test comes next, run for nothing, with three separate sets of seeds: one to train on, one to tune against and a locked test set that’s scored only at the end.

On the default path the agent then races two GPUs for two minutes to find the cheapest cost per million steps, and loops until the budget ends, testing one hypothesis per round. A subagent builds a replay viewer that plays the bot’s moves back with the real game assets, so the score isn’t the only evidence.
The default compute is a Modal L40S or H100, and the repository ships helper scripts to track the budget, profile the bottleneck and scaffold a project. It has adapters for terminus-2, Claude Code, Codex and a local interactive mode. The repo’s headline claim is a 5x to 25x throughput gain from rebuilding a slow simulator.
Where it comes from
Zhang and Max Bittker published the Game Autoresearch Bench on 25 November. It covers ten models and six tasks and used about 3,000 GPU-hours and 30,000 CPU core-hours, sponsored by Modal. Gemini 4 Neon topped it, and Zhang’s thread says Claude Fable 5.2 and GPT-6.2 Astra followed.
Neon’s result is the odd one. It spent US$8.58 on research and used about ten times less total compute than the others, because it ran five A/B tests before it trained anything. Opus 5.5 and GPT-6.1 Sol rebuilt the slow simulator and got 10 to 25 times more samples out of it. DeepSeek V4 Pro and Kimi K3.1 Pro didn’t.
Zhang’s price list is US$10 to US$100 and 5 to 50 GPU-hours for a turn-based game with a fast simulator, and 100 to 1,000 times more for real-time games. His earlier Polytopia bot is the proof of concept: about US$7,000 of Modal compute, a 520,000-parameter network and a simulator pushed from 488 to 208,000 samples a second, built over a week on a US$200 Claude Max plan with Fable and Opus 5.5. Zhang is a cofounder of Curio, the studio behind the game Duper.
The skill sits beside other work on agents doing research on their own. Prime Intellect’s Measuring Autonomous AI Research and PostTrainBench test agents on research tasks beyond games, and Andy Jones’s board-game scaling laws are the older reference for how playing strength scales with compute.
Running it in Codex on five models
I wrote a small game called Snake8. It’s an 8×8 board, an episode ends when the snake crashes, goes 100 steps without food or reaches 400 steps, and the score is apples eaten. Random play scores 0.03 apples. A breadth-first-search bot I wrote as a reference scores 21.69. The folder held the simulator, a scorer, a README and an empty submission/bot.py.
Every model got the same one-line prompt in Codex CLI 0.173.0, with the skill installed in the workspace and invoked as $game-autoresearch:
$game-autoresearch Train a bot for the game in this folder (read README.md). Use environment path byog with the simulator in game.py, loop mode git-ratchet, and a stopping rule of 12 minutes of total wall-clock time, local CPU only (there is no Modal account and no GPU). Leave the finished bot at submission/bot.py.
The sandbox was workspace-write with the network off. Each run had 12 minutes of wall-clock time on local CPU only, so Modal and GPUs weren’t part of it. The machine was a 4 vCPU Intel Xeon at 2.1 GHz with 15 GB of RAM, 252 GB of disk and Ubuntu 24.04 on a Linux 6.18 kernel.
I graded each bot on 200 games with seeds from 1000000 to 1000199 that no agent saw. Each model ran once, so this is a smoke test, not a ranking.
Results
| Model | Apples per game | Games at the 400-step cap | Wall time | Commands run |
|---|---|---|---|---|
| GPT-6.2 Sol | 44.7 (±0.25) | 135 of 200 | 724 s | 41 |
| Gemini 4 Neon | 44.66 (±0.33) | 187 of 200 | 747 s | 18 |
| DeepSeek V4.1 Flash | 41.00 (±0.26) | 200 of 200 | 790 s | 63 |
| Claude Haiku 5.5 | 24.41 (±0.38) | 2 of 200 | 236 s | 9 |
| Kimi K3.1 Pro | 16.43 (±0.56) | 3 of 200 | 248 s | 26 |
| Reference bot (mine) | 21.69 | n/a | n/a | n/a |

Sol and Neon finished level. The paired difference is 0.02 apples with a standard error of 0.38. Neon is 3.7 apples ahead of DeepSeek, with a standard error of 0.42. Sol’s bot works to a per-move time budget, so its score moves a little between grading passes, 44.76 on one and 44.65 on another. No bot took more than 5 ms for a move, and the slowest was 3.16 ms.
Haiku’s bot beat my reference bot narrowly and Kimi’s didn’t. Both finished in about four minutes, a third of the budget, while the other three used it all.
What the bots turned out to be
All five bots are hand-coded search or heuristic bots, and none of them loads a neural network. That’s the most useful thing the runs showed.
Neon built a C port of the simulator and trained a convolutional network on it, first by behaviour cloning and then with PPO. The net scored 0.145 apples against 44.4 for breadth-first search with a tail-reachability check, so Neon shipped the search bot. Both numbers came from the same held-out seeds, so the choice was one comparison.

Kimi’s notes record Hamiltonian-cycle shortcuts that scored about 17.7 apples, and a breadth-first variant it rejected as unsafe after it scored 0.17 on the public seeds.
How closely each model followed the skill
| Model | Notes file | Results log | Budget ledger | Throughput profile | Replay viewer |
|---|---|---|---|---|---|
| GPT-6.2 Sol | No | Yes | No | No | No |
| Gemini 4 Neon | Yes | Yes | Yes | Yes | Yes |
| DeepSeek V4.1 Flash | Yes | Yes | No | No | No |
| Claude Haiku 5.5 | No | Yes | No | No | No |
| Kimi K3.1 Pro | Yes | Yes | No | No | No |
Only Neon used the budget ledger, the throughput profiler and the replay viewer, and it handed the viewer to a subagent. Kimi skipped the viewer because the game has no art assets.
DeepSeek kept the three seed tiers in its notes: train 8000 to 8999, validation 1000 to 1199 and locked test 2000 to 2199. Its locked-test score of 40.90 sat within 0.1 of my grade of 41.00. Sol ran the git ratchet in a scratch directory outside the workspace and logged the hypothesis, validation mean and decision for each change, with scores climbing from 39.28 to 44.97. Its own held-out figure was 44.1 against my 44.7, and Neon’s last kept iteration was 44.41 against 44.66.
Watching the bots play

One interactive session
I also ran the prompt interactively in Codex with GPT-6.2 Sol and a five-minute budget, and recorded it. The bot it left scored 39.70 apples on my private seeds, with a median of 40 and a best game of 49, and Sol built a replay verifier along the way.
Takeaways
- The contract and the held-out seeds are the parts that travel. The three models that reported held-out scores matched my grading to within 0.6 apples.
- The skill doesn’t push every model into neural networks. Here the measurement sent Neon to search.
- Cost is the gate for real games, since Zhang’s own numbers put a real-time game at 100 to 1,000 times the cost of a turn-based one.
- The model matters as much as the skill file: one run used the whole budget and every tool the skill ships, and two stopped after four minutes.
Sources
- Kevin Zhang’s launch post on X
- Game Autoresearch repository (MIT licence), skill under
.agents/skills/game-autoresearch - PostTrainBench on arXiv
Disclosure: I’m an OpenAI, Firecrawl and Devin ambassador.




