AutoPILOT: A Visual Agent Harness for Real-Time Gameplay
Organizations: University of Illinois Urbana-Champaign · Georgia Institute of Technology · Northwestern University
Abstract
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.
Figures & tables
| Method | Observation | No game-specific training | One harness for many games | Real-time evaluation | Macro actions | Model-written controller | Env. type | # Envs |
| Voyager [ 42 ] | game state | ✓ | ✗ | New A | ✓ | ✓ | Minecraft | 1 |
| Code as Policies [ 21 ] | perception API | ✓ | ✗ | New A | ✓ | ✓ | robotics | 3 |
| Cradle [ 38 ] | screen | ✓ | ✓ | ✗ | ✓ | ✗ | PC games, apps | 10 |
| Game-TARS [ 47 ] | screen | ✗ | ✓ | ✗ | ✗ | ✗ | video games | 7 |
| HLA [ 23 ] | text | ✓ | ✗ | ✓ | ✓ | ✗ | Overcooked | 1 |
| DPT-Agent [ 60 ] | text | ✓ | ✗ | ✓ | ✓ | Overcooked | 1 |
| Harness | Model | Hostile real-time | Benign real-time | Turn-based | Overall |
| Paused Clock | |||||
| Codex only | GPT-6.1 Sol | 52.5 .737 | 45.0 .693 | 57.5 .780 | 51.7 .737 |
| Claude Code only | Claude Opus 5.5 | 47.5 .735 | 40.0 .594 | 40.0 .664 | 42.5 .665 |
| GPT-6.1 Sol | 56.7 .783 | 55.8 .746 | 55.8 .796 | 56.1 .775 | |
| Claude Opus 5.5 | 37.5 .629 | 40.0 .644 | 40.0 .670 | 39.2 .648 | |
| DeepSeek-V4.1-Flash | 25.0 .537 | 22.5 .468 | 25.0 .496 | 24.2 .500 | |
| Budget | model calls / steps / time | Success | Cost / ep. |
| AutoPILOT | |||
| Standard | 100 / 2000 / 2000 s | 69.2 | $0.83 |
| 3 model calls | 300 / 2000 / 2000 s | 71.7 (+2.5) | $1.18 |
| 2 steps | 100 / 4000 / 2000 s | 70.8 (+1.7) | $0.90 |
| 2 game time | 100 / 2000 / 4000 s | 70.8 (+1.7) | $0.94 |
| All relaxed | 300 / 4000 / 4000 s | 78.3 (+9.2) | $1.92 |
| Model | Harness | Paused | Real time |
| VISTA | 84.1 .917 | 42.9 .653 | |
| GPT-6.1 Sol | AutoPILOT | 82.9 .911 | 80.0 .900 |
| VISTA | 67.1 .830 | 41.2 .623 | |
| Claude Opus 5.5 | AutoPILOT | 72.4 .855 | 67.6 .845 |
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Tool | Codex | VISTA | AutoPILOT |
| act (one action per call) | ✓ | ✓ | ✓ |
| run_macro (open-loop) | ✓ | ||
| python (closed-loop controller) | ✓ | ||
| inspect , read_pixels , history | ✓ | ✓ | |
| notes ( GUIDE.md , WORKING.md ) | ✓ | ✓ |
| Hostile real-time (40) | ||
| Game | VISTA | AutoPILOT |
| A Dance of Fire and Ice | 0/3 | 3/3 |
| Backstreet Warriors | 0/3 | 0/3 |
| Bad Monday Simulator | 0/3 | 2/3 |
| Cave Buster | 0/3 | 1/3 |
| Dead Estate CLASSIC | 0/3 | 3/3 |
| Turn-based (40) | ||
| Game | VISTA | AutoPILOT |
| AGLOBO | 0/3 | 1/3 |
| awake | 3/3 | 3/3 |
| Blackout | 0/3 | 0/3 |
| Bloody Fun Day | 1/3 | 2/3 |
| Bob Velseb the Cannibal the Dating Simulator | 3/3 | 3/3 |
| Game | Author | Src. | Lic. |
| Achievement Unlocked | John | A | – |
| A Dance of Fire and Ice | fizzd et al. | I | – |
| AGLOBO | Daniel Moreno | I | – |
| APOLLO | Daniel Moreno et al. | I | – |
| awake | droqen | I | – |
| Backstreet Warriors | SebaGamesDev | I | – |
| Harness (real time, GPT-6.1 Sol) | run 1 | run 2 | run 3 | mean |
| Codex | 39.2 | 37.5 | 40.0 | 38.9 |
| VISTA | 37.5 | 39.2 | 38.3 | 38.3 |
| AutoPILOT | 69.2 | 68.3 | 68.3 | 68.6 |
| No controller | 66.7 | 65.0 | 62.5 | 64.7 |
| No macro | 65.0 | 70.0 | 67.5 | 67.5 |
| AutoPILOT, high effort | 71.7 | 72.5 | 70.8 | 71.7 |
| Model, clock | Harness | SR (%) | 95% interval | Run std |
| GPT-6.1 Sol, paused | VISTA | 56.1 | [48.3, 63.9] | 1.0 |
| AutoPILOT | 73.1 | [65.8, 80.0] | 2.4 | |
| GPT-6.1 Sol, real time | Codex | 38.9 | [30.8, 47.2] | 1.3 |
| VISTA | 38.3 | [30.3, 46.4] | 0.8 | |
| AutoPILOT | 68.6 | [61.1, 76.1] | 0.5 | |
| Claude Opus 5.5, paused | VISTA | 39.2 | [30.8, 48.3] | – |
| GPT-6.1 Sol | Claude Opus 5.5 | ||||
| Genre | Tasks | VISTA | AutoPILOT | VISTA | AutoPILOT |
| Hostile real-time | |||||
| Shooter | 18 | 24.1 | 63.0 | 11.1 | 55.6 |
| Fighting | 11 | 6.1 | 72.7 | 18.2 | 36.4 |
| Action (other) | 11 | 15.2 | 51.5 | 27.3 | 45.5 |
| Benign real-time | |||||
| Model | Clock | VISTA | AutoPILOT | Only one wins | |
| DeepSeek-V4.1-Flash | real time | 20.0 | 39.2 | 1 / 24 | |
| paused | 24.2 | 44.2 | 1 / 25 | ||
| Qwen4-Max | real time | 14.2 | 27.5 | 1 / 17 | |
| paused | 25.0 | 41.7 | 2 / 22 | ||
| GLM-5.3-Flash | real time | 3.3 | 18.3 | 0 / 18 | |
| paused | 1.7 | 26.7 | 1 / 31 |
| Model | VISTA | AutoPILOT | Only one wins | |
| GPT-6.1 Sol | 42.9 .653 | 80.0 .900 | 0 / 63 | |
| Claude Opus 5.5 | 41.2 .623 | 67.6 .845 | 6 / 51 | |
| Qwen4-Max | 27.6 .515 | 57.1 .758 | 3 / 53 | |
| Hy4-flash | 20.0 .399 | 51.8 .713 | 0 / 54 |
| Model | Effort | Hostile real-time | Benign real-time | Turn- based | Overall |
| GPT-6 Astra | low | 70.0 .822 | 62.5 .781 | 87.5 .934 | 73.3 .846 |
| high | 70.0 .841 | 67.5 .820 | 87.5 .941 | 75.0 .867 | |
| Claude Fable 5.2 | low | 70.0 .810 | 60.0 .791 | 85.0 .945 | 71.7 .849 |
| high | 75.0 .862 | 55.0 .777 | 85.0 .926 | 71.7 .855 |
| Harness | Hostile real-time | Benign real-time | Turn-based | Overall | Model calls | Tokens | Cost / ep. |
| Codex | 17.5 | 36.7 | 62.5 | 38.9 | 81 | 5.1M | $1.35 |
| VISTA | 16.7 | 37.5 | 60.8 | 38.3 | 80 | 5.3M | $1.50 |
| AutoPILOT | 62.5 | 60.0 | 83.3 | 68.6 | 43 | 2.8M | $0.89 |
| No controller | 50.8 | 60.0 | 83.3 | 64.7 | 58 | 4.6M | $1.31 |
| No macro | 62.5 | 61.7 | 78.3 | 67.5 | 46 | 3.1M | $0.91 |
| No controller & macro | 22.5 | 45.0 | 70.0 | 45.8 | 81 | 5.5M | $1.45 |
| Setting | Model | AutoPILOT | VISTA | Both win | Both lose |
| AFK-Bench, real time | GPT-6.1 Sol | 0.89 | 1.50 | 0.42 / 0.68 | 1.65 / 2.01 |
| Claude Opus 5.5 | 2.41 | 3.07 | 0.94 / 1.27 | 3.89 / 3.80 | |
| AFK-Bench, paused | Claude Opus 5.5 | 2.73 | 2.83 | 0.86 / 1.37 | 4.88 / 3.72 |
| GameWorld, real time | GPT-6.1 Sol | 0.56 | 1.35 | 0.20 / 0.39 | 1.35 / 2.06 |
| Claude Opus 5.5 | 2.02 | 2.53 | 0.41 / 0.67 | 4.37 / 3.91 |
| Tool calls (%) | Steps (%) | ||||||
| Episodes | act | macro | python | other | model | macro | ctrl. |
| Won (247) | 51 | 24 | 20 | 5 | 5 | 11 | 84 |
| Lost (113) | 34 | 27 | 35 | 5 | 2 | 5 | 93 |
| Budget | Limits | Hostile real-time | Benign real-time | Turn-based | Overall |
| Standard | 100 / 2000 / 2000 s | 65.0 .806 | 57.5 .761 | 85.0 .918 | 69.2 .828 |
| 3 model calls | 300 / 2000 / 2000 s | 60.0 .757 | 70.0 .807 | 85.0 .924 | 71.7 .829 |
| 2 steps | 100 / 4000 / 2000 s | 67.5 .810 | 62.5 .801 | 82.5 .907 | 70.8 .839 |
| 2 game time | 100 / 2000 / 4000 s | 65.0 .812 | 60.0 .772 | 87.5 .919 | 70.8 .834 |
| Relaxed | 300 / 4000 / 4000 s | 77.5 .871 | 70.0 .846 | 87.5 .942 | 78.3 .886 |
| VISTA | |||||
| Generation speed (tokens/s) | ||||||
| Model | 10 | 25 | 50 | 100 | 200 | Paused |
| GPT-6.1 Sol, high | 55.0 .738 | 61.3 .762 | 68.8 .819 | 66.3 .809 | 66.3 .805 | 71.3 .846 |
| GPT-6.1 Sol, low | 55.0 .760 | 56.3 .762 | 61.3 .782 | 63.8 .798 | 63.8 .799 | 66.3 .821 |
| Claude Opus 5.5, high | 31.3 .522 | 42.5 .658 | 46.3 .658 | 58.8 .774 | 62.5 .770 | 63.8 .810 |
| Claude Opus 5.5, low | 36.3 .604 | 43.8 .622 | 45.0 .661 | 50.0 .703 | 48.8 .677 | 52.5 .729 |
| Game | VISTA | AutoPILOT |
| PRAXIS FIGHTER X hostile real-time | One action per model call, each after several seconds of thinking. The ship is often destroyed before the action lands. 30 failures in 100 tool calls. Best progress 25%. Lost. | A macro ends with the first failure at 0:14, and two more follow by 0:44. At 0:32 the model writes the screen-driven controller of Fig. 2 b. It takes over at 0:44, plays 103 steps without another failure and wins at 1:26, after 6 model calls in total. Won. |
| Radius Raid hostile real-time | One strafe per model call. Health runs out 12 times. Model call 100 ends the episode at 10:24. Lost. | One act turns on autofire. Two model calls write a targeting controller that takes 58 of 59 steps. Won at 1:02 with 3 model calls, no loss. Won. |
| Trichromat turn-based | One tile per model call. Solves two of three rooms at 3:06 and 9:10. Model call 100 arrives in the last room at 14:32. Lost. | Writes each room as a Python model and searches it, then reports “found a 25-move solution”. Tests one move, then executes the rest with controllers and one macro. 180 of 182 steps come from the worker. Won at 3:16 with 14 model calls. Won. |
Game-Playing Agents
Game-playing agents use search, learning, and reasoning to choose actions in games with strategic, uncertain, or changing environments.
See all 234 papers