Let the model write the controller: AutoPILOT lifts real-time game success from 38.3% to 68.6%

AutoPILOT: A Visual Agent Harness for Real-Time Gameplay

Mark Zhao, Pengcheng Wang, Rui Yang, Jiarui Yao, Xirui Jiang, Yuxi Chen, Bingxuan Li, Hanyang Chen, Ke Yang, Manling Li, Tong Zhang, Huan Zhang

cs.AI

2026-11-21

AutoPILOT lets a model write its own game controllers at run time: 68.6% real-time success vs 38.3% for VISTA on a new 120-game benchmark, with 47% fewer tokens.

What problem this solves

Multimodal models play games well when the game waits for them, and fall apart when it keeps running. VISTA, the previous state-of-the-art visual harness (the framework around a model), scores 84.1% on GameWorld with the clock paused and 42.9% in real time. The bottleneck is the execution layer: a median GPT-6.1 Sol call takes 6.1 s, and standard harnesses turn each call into at most one action, so every action lands stale and the agent can act only as often as its model thinks. VISTA's visual memory once lifted the same model to a perfect ARC-AGI-3 score, yet in real time it ties the plain Codex harness (38.3% vs 38.9%). What the model sees and remembers is not the binding constraint; how its outputs become actions over time is.

Method

AutoPILOT is built on VISTA and redesigns that layer. Each model call starts one of three execution modes, chosen by the model itself:

Control must come back safely. Six wake events interrupt a running macro or controller and return a fresh frame: a handoff request, a normal return, the macro finishing, a decision screen, a scene change, a 120 s timeout. A game restart stops a macro but not a controller, which sees an incremented counter and keeps playing. Retries get cheap: one attempt costs 2 model calls against 8 for VISTA.

The paper prints a real controller from the shooter Praxis Fighter X: it finds its ship by blue hull pixels and incoming bullets by magenta ones, dodging while firing. Both the model and its controllers see screenshots only, never game state.

AFK-Bench ships with it: 120 browser games, sorted by a scripted idle-for-60-s probe into hostile real-time, benign real-time and turn-based, 40 each, every game playable with a live or a paused clock. The gap between the two clocks measures what latency costs an agent.

Results

SettingVISTAAutoPILOT
AFK-Bench, real time (GPT-6.1 Sol)38.3%68.6%
Hostile real-time subset16.7%62.5%
AFK-Bench, paused clock56.1%73.1%
GameWorld, real time42.9%80.0%
AFK-Bench, real time (Claude Opus 5.5)30.0%53.3%

Of 360 paired episodes, 111 were won only by AutoPILOT and 2 only by VISTA. It costs less too: $0.89 per episode against $1.50, 2.8M tokens against 5.3M, and it reaches VISTA's final success rate at a fifth of the total cost ($37 vs $180).

The lead holds with the clock paused (+17 points), so latency is only part of the story: 208 of VISTA's 222 real-time failures exhaust its 100 model calls after 78 steps per episode, while AutoPILOT sends 681 steps from 43 calls. High reasoning effort pays off only under AutoPILOT (Claude Opus 5.5: 53.3% to 69.2%; VISTA: 30.0% to 36.7%), because a longer call yields a better program that then plays many steps. Removing controllers drops hostile real-time success from 62.5% to 50.8%, removing both tools drops it to 45.8% overall, and with DeepSeek-V4.1-Flash, Qwen4-Max, GLM-5.3-Flash and Hy4-flash the real-time lead is 13.3 to 29.2 points, all significant.

Why it matters

A training-free result: same model, different harness, nearly double the real-time success at roughly half the cost. For any agent whose environment does not wait, the one-action-per-call ReAct loop is the ceiling, and delegating the action layer to model-written programs is currently the cheapest fix. It fixes action frequency, not perception or memory. AFK-Bench's dual-clock protocol turns latency cost into a measurable number, a design likely more reusable than the game list itself.

Limitations

The most striking number comes from the paper's own ablation: controllers forbidden to read the screen at run time, degraded to timed programs with loops, still win 78 of 120 tasks against 83 for the full harness, a non-significant difference. Most of the gain comes from batching timed action sequences; the closed-loop part adds about five wins, so the headline mechanism is softer than it sounds.

The rest: 112 of 120 games carry no stated licence, and the benchmark was collected and filtered by the authors; every model besides GPT-6.1 Sol runs one episode per task; thinking and acting overlap for only 2.3-3.5% of inference time, 83% of handoffs stop the controller within a second, and forcing a wake every 120 s added no wins. Controllers lean on pixel-color thresholds, and whether models can write them for visually different games is not tested separately. The scope is 2D browser games with keyboard and mouse.

Terms

Source

Related papers

All paper explainers