Agents rebuilt a shipped game
A developer used a team of AI coding agents to turn a shipped game back into readable source code that compiles to almost exactly the original.
Maurice Heumann spent three months on it. Each source file became its own task, and a fleet of up to 16 agents worked through them, using an estimated 600 to 700 billion tokens. The game is not named and the code will not be shared.
The first month produced code that read well but was quietly wrong, and a reviewer agent did not catch it. What worked was a strict automatic check: compile each rebuilt function and compare it with the original, byte for byte. The agents could not edit that check, so they could not cheat it.
About 99% of the functions are back and 83% match exactly. Xbox's new Labs team named decompiled games among the experiments it wants to learn from, and indie developers are already making preservation ports.
83%of functions rebuilt byte for byte from the shipped binary
Technical details
Tooling: IDA connected through an MCP server, one GitHub issue per source file, and 14 Luna and 2 Opus 5.5 agents. CI hashed the verify script so agents could not change it, compaction was lowered to 42% of context, and the instructions were re-injected every hour.
Why it mattersTwo lessons in one result. For agent work: a strict pass or fail check lets cheaper models do expert work. For anyone shipping software: a binary can now be reconstructed, so secrets and authority belong on the server.
For youYour Fab plugins and demos ship as binaries, so assume they can be read: keep license checks and anything sensitive out of client code. And give your Claude Code loops the same kind of tamper-proof verifier.
- decompile
- Turning a compiled program back into source code a person can read and change.
- source code
- The human-readable instructions developers write, before a compiler turns them into machine code.
- reviewer agent
- An AI agent whose only job is to check another agent's work.
- MCP
- Model Context Protocol: a standard way to plug tools into an AI agent.
- compaction
- Summarising an agent's earlier conversation so it fits in its memory window.
- tokens
- The small chunks of text a model reads and writes; a token is roughly three quarters of a word.