Applied AI
Someone Put a Computer Inside the AI
NesFormer makes an old game console a useful way to explore where learned intelligence ends and exact computation begins.
A computer running inside artificial intelligence (AI) sounds like the beginning of a joke about how many computers we can put inside other computers. NesFormer gives that idea a concrete form: its developer describes a Nintendo Entertainment System (NES) processor compiled into the weights of a neural network.[1] The network produces the processor's execution log, one token at a time, while a separate program handles the surrounding console.[1] The interesting question reaches beyond whether Mario can move across the screen: what becomes possible when a model contains deliberately engineered computation alongside the kinds of capabilities we usually associate with learning?
The weights were built, not taught
The first distinction is how those weights got there. NesFormer's README says a compiler computed them; they were not learned through training.[1] That means this demonstration should not be described as a chatbot watching enough games to discover how a Nintendo works. The project instead expresses a particular machine through the mathematical operations available in the network architecture.[1]
The surprise is the place where the engineering lives.
NesFormer builds on Divyansh Agrawal's Qwenputer, whose original CHIP-8 version compiled a small computer into additional layers attached to Qwen3.5.[2] The current Qwenputer README describes a later RISC-V processor inserted ahead of the language model's own layers, with the added processor weights computed rather than learned.[2] These are related constructions, not interchangeable names for the same checkpoint. NesFormer adapts that approach to the NES processor; Qwenputer explores a computer working with a language model.[1][2]
Giving the network somewhere exact to write
The memory mechanism is particularly useful to understand. Both projects use Gated DeltaNet, a part of the architecture that maintains an internal state as tokens pass through it.[1][2] The designers configure that state to work like a set of numbered storage locations. A write operation puts a value in a chosen location; a read operation retrieves it from that same location.[2] This makes the state usable as addressable random access memory (RAM), with assigned places for the processor's registers and other machine data.[1][2]
There is an important distinction between the weights and this changing state. The weights implement the machine's operations, while a run loads the cartridge program, working memory and registers into the DeltaNet state.[1] NesFormer therefore does not need newly compiled weights for every supported game: the README says the same weights can run different supported cartridges after loading their programs.[1]
Keeping those two ideas separate makes the result more interesting, because a fixed engineered mechanism can operate on changing program data.
What remains outside the model
The console boundary deserves equal attention. NesFormer places the 6502 central processing unit (CPU), two kilobytes of working RAM and cartridge program memory inside the model's weights and state.[1] The host program still draws the picture, handles controllers, supplies input and output read responses, and injects the interrupt associated with the display's vertical blanking interval.[1] Sound is absent, and the project supports only the NROM cartridge format rather than the full range of NES cartridge hardware.[1] Calling it an entire Nintendo inside a chatbot would erase the engineering choices that make the demonstration understandable.
The developer reports comparisons against reference emulation, including matching execution traces and saved frames for bundled test games.[1] Those are the project's reported tests, not tests independently reproduced for this article. The README also reports operation roughly 150 to 290 times slower than the original console, so this is not a proposal for a more efficient way to play old games.[1] Its value is the demonstration of a different construction, with explicit boundaries and checks.
Where the business question begins
For business software, the promising idea is a combination of flexible interpretation and specified computation: imagine an assistant interpreting a written request while a defined calculation produces the numerical result. That is a hypothetical application, not a capability established by the Nintendo demonstration. The interesting design choice is whether some operations belong inside the model's computation or in conventional software connected to it, a choice that should follow evidence about the job rather than enthusiasm for the more unusual architecture.
Qwenputer offers an early comparison: its README reports arithmetic tests against both the base model and the base model using a host Python interpreter.[2] The reported results do not establish a general advantage over an external calculation tool; the Python comparison is competitive, and the current table uses only 40 problems per set.[2] Anyone considering the approach for practical work would still need to compare accuracy, speed, memory use and maintenance on the actual workload. A processor inside the network is a fascinating mechanism, but the business case has to survive comparison with an ordinary calculator or code tool.
There is also a difference between computing correctly and answering the right question. Qwenputer's original architecture notes record a case where its internal program printed one number and the language model subsequently answered with a different one.[3] That observation belongs to the documented development configuration, not every later release. It illustrates a useful evaluation question: does the final response preserve the result the exact component produced? An exact operation can strengthen one part of a system without settling interpretation, selection of inputs or communication of the answer.
If your AI workflow depends on calculations or other exact steps, AgentC Foundry would be happy to review how those results are produced and carried into the final answer. Contact us through the website to discuss where a check or a different system design might help.
NesFormer earns attention because it makes an unfamiliar possibility visible through a familiar machine. It invites us to ask which parts of intelligent software should be learned, which should be deliberately specified, and how they should work together. For the moment, Mario is an unusually entertaining way to ask that question. If the universe really is a simulation, putting another computer inside its inhabitants' AI seems like an excellent way to annoy whoever pays the electricity bill.
Sources
[1] https://github.com/dbreunig/nesformer — NesFormer README [2] https://github.com/divagr18/qwenputer — Qwenputer README [3] https://github.com/divagr18/qwenputer/blob/main/docs/q35.md — Qwenputer original CHIP-8 architecture notes