Hide from the AI seeker: code worlds vs pixel worlds (AgentGarten, arXiv 2610.12374)
When walls live in code, rendering errors can't pile up. Seekers learned ramps by round 10.
AgentGarten · arXiv 2610.12374
Neural renderer
The AI's skill files (its own notes)
Code-world seeker
- empty
Pixel-world seeker
- empty
What's real? Paper vs toy parts
The paper. AgentGarten (MirroS, Tsinghua, Peking University; arXiv 2610.12374, Oct 8 2026) builds "code worlds": a simulator or game engine keeps the persistent state and runs the rules, and one shared neural renderer, a video model adapted from Cosmos 3-Nano, turns the depth or surface-normal maps the engine exports into the frames an agent sees. In their words, the engine's transition "takes no rendered observation as input: the renderer influences the state only through the actions that agents select, so rendering errors cannot accumulate in the state."
The pixel world in this demo is the alternative they contrast against: an interactive video world model, where "task-relevant state and physical transition rules remain implicit within generated histories." Here we fake that by reading each panel's position back from a noisy frame, so small errors random-walk into the state. Your wall drifts off the doorway, and the seeker walks through. That drift model is ours, not measured from any real video model.
The agents. Pretrained agents (GPT-6 Astra in the paper) see only rendered first-person frames, act by submitting short Python programs, and after each round write Markdown "skill files" into a playbook the next round inherits. In hide-and-seek, hiders used panels to build a shelter by round 4 and seekers used a ramp to cross walls by round 10. The game above compresses that schedule into three levels.
The pushback, from the paper itself. The 25 million and 100 million episode figures from OpenAI's 2019 self-play study are "not a direct sample-efficiency ratio": those agents started from random weights and read exact object coordinates, while these start from a model that already knows what a ramp is. In the four extra worlds, each round is one episode, and progress is not monotonic (the loader scored 30, 0, 30, 90.9). And the renderer still has to get the picture right: "generated frames need not perfectly realize the supplied state."
Real numbers vs toy parts
| Figure | Value | Source |
|---|---|---|
| Shelter construction | round 4 (pretrained visual agents) vs ≈25 million episodes (self-play RL, 2019) | Paper, Table 3 |
| Ramp use to enter shelters | round 10 vs ≈100 million episodes | Paper, Table 3 |
| Hide-and-seek setup | one hider, one seeker, sequential; rounds of five games; playbooks start empty | Paper, Sec. 5.2 |
| One-lane bridge, seconds until both cars arrive | 71 → 68 → 45 → 41 | Paper, Table 4 |
| Companion dog, engagement score | 13 → 14 → 19 → 19 | Paper, Table 4 |
| Herding, sheep penned of four | 3 → 4 → 4 → 4 (score 60, 90.1, 87.6, 88.3) | Paper, Table 4 |
| Quarry loader, score of 100 | 30 → 0 → 30 → 90.9 | Paper, Table 4 |
| Renderer speed | 36.5 frames/s at 480×832 on one H100 (438.8 ms per 16-frame block) | Paper, Table 2 |
| Exact replay | 0 replay error (bitwise) vs 3.99% relative L2 for an SGF-style replay | Paper, Table 1 |
| Arena, panels, ramp, seeker logic, lesson text, the compressed round schedule | hand-written | Toy |
| "Error per generated frame" and the pixel-world drift (a random walk on velocity) | illustrative | Toy, not measured |
The three levels. Level 1 shows where the wall lives (engine vs frames). Level 2 shows the seeker writing itself a skill file and coming back with a ramp, the paper's round-10 behavior compressed into one round. Level 3 is the counter: hide the ramp. The lab unlocks the renderer-error slider so you can test the pixel world at 0%.