AI Research

Yohei Nakajima says a computer now lives inside the model

Yohei Nakajima compiled a BabyAGI control loop into model weights to test agents that hold state without external tools.

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

2 min read

Can an agent work without ever leaving the model? Yohei Nakajima told Latent Space he compiled a BabyAGI control loop directly into weights.

Yohei Nakajima says a computer now lives inside the model - Latent Space
Yohei Nakajima says a computer now lives inside the model, Latent Space

Nakajima calls the inspiration Qwenputer, which puts a RISC-V CPU inside Qwen layers. A RISC-V CPU is an open instruction set that tells hardware what to run, here expressed as transformer math. The build is a Qwen3.5-4B variant that runs 32-bit RISC-V instructions inside the weights, so tool logic does not need an external CPU. That shifts work for agent platform teams who now budget for hosted harnesses, tool gateways and state stores.

There is no API call and no sandbox.

Compiling code to weights is not new. Researchers built Rasp, a language for writing transformer logic, and DeepMind built Tracer to compile Rasp into weights around 2021 to 2023, Nakajima said. What is new is adding the computer as extra layers on a general model. Quen FS adds a file system that is extra storage layers the model can read and write with tokens.

Nakajima copied that trick for his BabyAGI harness in a 2 billion parameter model, and the tiny bounded loop cost 8 gigs in weights. Unlike Python, the loop is fixed length and cannot run unbounded, he said. "The 2 billion model is not good enough to run an agent," Nakajima said.

He scaled next to a 4 billion parameter model and open-sourced the code.

So can agent teams delete the harness and let the model hold state? Nakajima runs 12 to 15 investments per year, he said. He backs tool access plays like Monit, which sells pay-per-use access to 2,000 tools, because agents still live outside. He also keeps his firm agent agnostic with event sourcing that separates persistence from the harness, a pattern operators can copy now.

Watch whether training can make models good at using a compiled loop, and whether an agent can write its own controller into weights. Nakajima said, "history tells us that when you say this time it's different that's not that's not true." Builders can run his code and test the loop inside Quenputer next.

Sources

TopicsQwenputerYohei NakajimaUntapped CapitalRISC-VQuen FSBabyAGIMonitDeepMind

StartupHub.ai StaffDaniel SingerWritten by StartupHub.ai Staff, Editorial teamReviewed by Daniel Singer, EditorAbout

StartupHub.ai Staff, Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer, Editor

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

More from Daniel Singer

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.