Yohei Nakajima has compiled a file system and a BabyAGI loop directly into Qwen's weights — 8 gigabytes later, he says the harness may not be forever
Yohei Nakajima has compiled a file system and a BabyAGI loop directly into Qwen's weights — 8 gigabytes later, he says the harness may not be forever For the better part of a year, the standard way to build an AI agent has been to put a clever wrapper around a
Illustrative imageYohei Nakajima has compiled a file system and a BabyAGI loop directly into Qwen's weights — 8 gigabytes later, he says the harness may not be forever
For the better part of a year, the standard way to build an AI agent has been to put a clever wrapper around a model. The model reasons; the wrapper remembers, decides what to do next, and calls the tools. Strip away the wrapper — the "harness" — and you are left with a very smart text predictor with no memory and no hands.
Yohei Nakajima, a 15-year investor at Untapped Capital and the creator of the autonomous agent loop BabyAGI, spent the last few weeks asking whether that wrapper has to live outside the model at all. His answer, described on the Latent Space podcast, is a qualified no: he compiled both a file system and the BabyAGI control loop directly into the extra layers of a Qwen model, using his Qwenputer project as the base. The result is a model that can read and write its own files and run a task cycle without ever handing control back to Python.
The catch is that it is early, inefficient, and, by his own admission, "a very early proof of concept."
Why putting a computer inside a model is a bigger deal than it sounds
Compiling code into neural network weights is not new. Nakajima credits RASPy, a language for writing transformer layers, and DeepMind's Tracer, which compiled RASPy into weights. What Qwenputer added was doing it inside the extra layers of a general-purpose large language model, so that the compiled artifact becomes a tool the model itself can pick up and use.
That distinction is the whole ballgame. In the old setup, the model produces text, and the harness outside decides what that text means. In Nakajima's setup, the compiled CPU and file system are part of the model's own machinery. As host swyx put it, the work "just reminds people that there's a general purpose computer hidden in all these parameters and you can make it do what you want."
The file system, called QwenFS, is the piece Nakajima recommends as the entry point for anyone curious. Add extra layers the model can read and write into, feed it the right instructions in the token stream, and the model takes over running deterministic file reads and writes. Asked where the data actually lives, Nakajima says he believes the state sits in the model's attention, possibly through a gated delta net — the same mechanism Qwenputer uses. "It's literally trying to be a database," the host summarized, and Nakajima agreed.
His stated reason for building it is refreshingly unstrategic. "It's absolutely a why-not kind of project," he said. But the serious rationale is holding state without ever leaving the model, which he thinks is more promising than the agent loop itself. He also flags an open question he can't answer: the compiled computer and the file system are currently separate layers, and melding them into one is unresolved research.
A 2B model can run the loop, but it can't do the work
The BabyAGI-in-weights experiment is the more ambitious half, and the more humbling one. Nakajima compiled the loop into extra layers of Qwen and watched it cycle: the circuit starts, sets an initial task, forces a write file command, Qwen fills in a task ledger, QwenFS saves it. Then the loop reads the list, executes task N, sends it to Qwen to think, forces a close on the thinking tag, writes the result to a file, and repeats a hardcoded number of times before emitting a halt token that the Python wrapper outside is watching for.
Two limits stand out. The loop is capped by a hardcoded iteration count, unlike an unbounded Python loop — though Nakajima thinks Qwenputer could make it unbounded. And the compiled loop alone cost roughly 8 GB in weights, a number that raises an obvious efficiency question for anything larger than a toy.
The performance was just as sobering. "The only thing it did really right was this short arithmetic thing," Nakajima said — take two, add three, multiply by four, split across tasks, done one at a time. A 2B model was never going to run a real agent.
The numbers tell the story of where this is and where it's going:
Nakajima's next move is to scale to a 4B model and try to place the loop inside Qwenputer itself. That is the experiment that will determine whether any of this graduates from curiosity to capability.
The belief that changed in a week
The most striking takeaway is not technical. It's how fast the experiment moved Nakajima's own priors. "If you had asked me a week ago, will the harness ever go away? I would have said absolutely not," he said. "We're always going to need a harness." That conviction, he said, now carries "absolutely a chance down the road" of being wrong.
That is a big deal for anyone building or investing in agent infrastructure. A whole layer of startups exists to be the harness — the orchestration, memory, and tool-calling plumbing around the model. If the model can carry its own state and control loop, that layer's moat gets thinner.
There's a lineage worth noting here, too. The host points out that strong-to-weak distillation is common in AI research, but weak-to-strong generalization is rare — and "someday we will be the weak ones," which makes research into models that can supervise or extend themselves worth starting now rather than later.
Nakajima's biggest surprise, he says, was simply that the approach worked at all: you can ask an agent to compile code into extra layers, and it does.
The opposite end of the spectrum: Loop Transformer and the pragmatists
While Nakajima tinkers at the fringes of model internals, the mainstream is moving in a different direction — making existing architectures do more without adding parameters. Zhipu's newly released GLM-5.4, the first flagship built on a "Loop Transformer" architecture, claims deeper reasoning at the same parameter count, hitting 70–80 tokens per second at peak times and up to 200 off-peak. Zhipu is already teasing GLM-5.5 at roughly 3 trillion parameters for December.
It's a useful contrast. Zhipu's "loop" is an architectural trick inside a conventional model. Nakajima's loop is an entire control program compiled into weights. Both point at the same unfolding insight: the boundary between what the model is and what the software around it does is getting blurrier.
Self-modifying agents are the frontier he can't yet reach
Ask Nakajima what comes next and he is careful to separate what he understands from what he finds interesting. Training across the compiled boundary — freezing the compiled loop and training the model to be good at using it — is one direction he may try, since Qwen 2B was never trained on the BabyAGI loop in the first place.
The more radical idea is self-modification. Because a compiler can turn code into weights, an agent could in principle write and recompile its own controller. He hasn't experimented with models rewriting their own weights — "right now it's such a big model playing with a small model" — but he imagines a point where models are good enough to rewrite their own weights, at which point a loop living inside the model becomes a model rewriting itself through loops.
His advice to anyone exploring this territory is practical: start with Qwenputer, and use Active Graph for benchmarking so runs are replayable and results are reproducible.
The bubble question is about hype, not about whether AI creates value
Nakajima splits the AI bubble debate into two questions that get tangled together. Does AI create and capture value? On that he is unambiguous. Value is shifting into AI, and businesses across sectors — especially small and mid-sized ones — are struggling with the shift. His go-to example is Stack Overflow-style companies. "That value is accruing somewhere and it is going towards the AI," he said.
The bubble question, in his framing, is only whether the hype ran too hot or too cold — which "almost has nothing to do with how fast AI is growing." He is skeptical of the "this time is different" argument that surfaced during the run-up. "History tells us that when you say this time it's different, that's not true," he said.
On the fear-to-greed spectrum, he says fear is growing but he isn't there yet, and that public markets don't drive his view at all — he stays focused on the earliest stages. His advice to founders is simple: focus on customers and solving problems at every point in the market. Macro conditions do trickle down to early-stage capital, but with a delay.
He also offers a structural, non-sentimental explanation for why venture sourcing has changed. Scout programs existed partly because the only way to learn about startups was through people networks. Today, agents can scrape near-complete coverage of every startup, because startups are more public than ever.
A VC firm that runs on a log, not a tool
Nakajima has applied the same engineering instinct to his own firm. Untapped Capital's operating system lives in a repo, and that repo is the playbook — but a playbook written backwards. He built it by going through all historical internal meeting notes and extracting the decisions. Those decisions are the events; the current playbook is a projection of them. If he mentioned one auditor two years ago and a different one last year, the projected current state knows the most recent mention wins.
The payoff is portability. He describes himself as "agent agnostic" — he can use Claude Code, Codex, Gemini, or Muse, because the state doesn't live inside any one of them. The host connects this to a conference talk titled around "the log as the agent," and notes that "company brain" tooling is still too chaotic to treat as a settled category — people show up with "50 Grok bots" and call it a company brain.
Sourcing by building in public, 12 to 15 checks a year
Nakajima invests in one to two companies a month, 12 to 15 a year. By his estimate, roughly half his portfolio came from people he met on X. He takes cold emails and DMs and encourages founders to send them. His method is to build on other people's side projects; when those builders later start companies, the relationship already exists. Public experimentation, he says, is his style of engaging — and his strength is the earliest stage, not enterprise sales.
His current portfolio sketch:
On the research side, the theme he'll keep following is model decomposition — "everything from touching the neurons to sticking stuff in layers."
The tension worth watching is that none of the weights-as-computer work is close to monetizable, and Nakajima says so plainly. Its value right now is as a signal that the harness assumption isn't sacred, and as a recruiting surface for the builders he backs. Whether compiled loops become efficient enough to matter, or stay an 8 GB curiosity running arithmetic on a 2B model, is exactly what the next round of experiments — 4B, unbounded loops, training across the boundary — is designed to answer. For investors, the near-term signal isn't in the demo; it's in the fact that a seasoned operator's core belief about where agent logic must live shifted in a single week. If that belief keeps moving, the orchestration layer that today's agent startups are built on stops being a permanent fixture — and the value migrates back toward whoever owns the weights.
References:
- US Stock Futures: Tech Shares Rally Broadly Pre-Market; Nvidia Stands Alone as Memory and Optical Communications Stocks Lead Gains
- Zhipu Launches GLM-5.4 Flagship Model, Outputs 70-80 Tokens/s During Peak Hours
- Alibaba Expands North America Hiring for Top AI Researchers, Qwen Team Adds Hundreds This Year
- Zhipu's GLM-5.4 Launches on Coding Plan, Adds Visual Understanding and Raises Weekly Quota by 50%
- NIO's William Li: No Blind AI Labeling, Long-Term Gross Margin Target Raised by 10 Percentage Points
Once added, BigGo Finance appears first in Google Search Top Stories, so you get the broadest, most up-to-the-minute, and most comprehensive global financial news first.
Add preferred source
