Key Moments

⚡️Qwenputer: A Computer Inside an LLM — Yohei Nakajima, Untapped Capital

Latent Space PodcastLatent Space Podcast
Science & Technology7 min read27 min video
Nov 29, 2026|5,451 views|55|3
Save to Pod
TL;DR

A CPU and filesystem are now compiled directly into LLM weights, enabling computation and data storage within the model itself, but current implementations are limited and computationally inefficient.

Key Insights

1

The core innovation of Qwenputer is compiling a RISC-V CPU and a filesystem directly into the weights of a Large Language Model (LLM), allowing for computation and data storage within the model's parameters.

2

While compiling code into LLM weights has been researched since 2021-2023, Qwenputer's novelty lies in integrating these with LLM management layers to act as a tool for the system, with Qwen FS specifically enabling read/write capabilities.

3

The Qwenputer demo, using a 2 billion parameter model, successfully executed a simple calculation (2 + 3) * 4 by breaking it down into sequential tasks, proving the concept of a control loop within the weights, though performance was poor.

4

The current implementation of Qwenputer is limited to a fixed number of loops and is not infinitely recursive like a Python execution, with the 2B model being insufficient to run a true agent, requiring expansion to more powerful models.

5

Future directions include expanding the model size, potentially using the Qwen computer for an infinite loop, training the model to be proficient with frozen compiled loops, and exploring self-modifying agents by compiling code into weights that the client can modify.

6

The concept of a 'company brain' is discussed as a distributed system leveraging event sourcing to manage state and coordinate agents, drawing parallels to event-driven architectures like Temporal and the potential for separating data persistence from infrastructure.

Embedding computation within LLM weights

The core concept of Qwenputer, developed by Divyansh Agrawal, involves compiling a RISC-V CPU and a filesystem directly into the weights of a Large Language Model (LLM), specifically Qwen. This groundbreaking approach blurs the lines between software and the model itself, allowing for computation and data storage to occur within the model's parameters rather than externally. While the idea of translating code into weights has been explored in research circles since 2021-2023, notably with the Rasp language and DeepMind's Tracer, Qwenputer's innovation lies in integrating these compiled components with additional LLM management layers. This integration enables the compiled CPU and filesystem to function as tools for the LLM system, moving beyond theoretical research into a demonstrable concept. The Qwen FS project, for instance, takes the Qwenputer idea and transforms it into a functional filesystem, capable of reading and writing data by recognizing specific tokens and executing file operations deterministically.

The 'why not' behind Qwenputer and Qwen FS

The motivation behind projects like Qwenputer and Qwen FS stems from a "why not?" curiosity, exploring the limits of what can be embedded directly into LLM weights. The creators question whether it's possible to achieve computation and state management within the model itself, rather than relying on external tools and frameworks. This exploration opens up possibilities for new forms of AI, such as self-modifying agents that could potentially rewrite their own weights. While the current implementations are experimental and have limitations, they demonstrate a fundamental shift in how we might build and interact with AI systems in the future. The possibility of compiling code directly into weights suggests a path towards more integrated and potentially more efficient AI architectures, even if the immediate practical applications are still being defined.

A proof-of-concept calculation within the model

A demonstration of Qwenputer involved a controller compiled into the model that was able to advance a task list. In one instance, the model was tasked with solving (2 + 3) × 4. The LLM, a 2 billion parameter model, was required to break this simple arithmetic problem into sequential steps. The control loop within the weights would call Qwen when a task needed execution or data retrieval. Qwen would then fill in the necessary information, write to a file (using Qwen FS), and store the task list. The loop would then process the next task, sending it back to Qwen for execution. Although Qwenputer successfully completed the calculation by executing tasks one by one, the performance was described as very poor. The primary achievement was proving the feasibility of a control loop embedded directly within the model's weights, rather than its computational efficiency for complex tasks.

Limitations and future directions for embedded computation

The current Qwenputer implementation faces significant limitations. The control loop is fixed, running for a predetermined number of cycles (X loops), unlike an infinite loop that could be achieved in Python. The 2 billion parameter model used in the demo is insufficient to power a true agent, highlighting the need for expansion to more powerful models. Future work could involve scaling up to models with more parameters, such as 4 billion, and exploring the use of a 'Qwen computer' to enable infinite loops and more complex operations. Another avenue is training the model to become proficient with frozen compiled loops, essentially teaching it to effectively utilize its embedded computational capabilities. The concept of self-modifying agents, where clients can modify compiled code within weights, is also a promising area, potentially leading to agents that can adapt and evolve their own codebases.

The potential for self-modifying agents and integrated AI

The ability to compile code directly into LLM weights opens up exciting possibilities for self-modifying agents. If an agent can rewrite its own weights, it could theoretically achieve a higher degree of autonomy and adaptability. This could involve training the model to be adept at using compiled, frozen loops, or enabling clients to modify these compiled weights, creating a truly self-altering agent. The concept of 'weak-to-strong generalization'—where models learn from less intelligent systems to become more intelligent—is also relevant here, especially as we aim to train models that surpass human intelligence. The exploration of how to achieve this, and how we might become the 'weak' in that dynamic, is crucial for future AI development. Projects like Qwenputer, while early-stage, provide a foundation for experimenting with these advanced concepts.

Qwen FS as a persistent state mechanism

Qwen FS, a filesystem compiled into LLM weights, offers a novel approach to managing state within an AI model. Unlike traditional methods where state is stored externally, Qwen FS allows the model to maintain a form of persistent memory without leaving its own parameters. This is achieved through a mechanism that likely involves attention networks, such as a gated delta network, enabling the model to hold data within its attention mechanism. While described as a "why not?" project, Qwen FS highlights the potential for LLMs to act more like self-contained computational entities. This could be a precursor to more complex 'company brain' architectures, where agents can maintain internal state, making them more coherent and capable of complex, long-term operations.

Company brains and event sourcing for coordination

The conversation touches upon the concept of a 'company brain,' a distributed system designed to coordinate agents. A key architectural pattern discussed is event sourcing, where all changes to the system's state are recorded as a sequence of events. This approach allows for the reconstruction of any past state and provides a reliable audit trail. The speaker shares how their company uses a similar event sourcing pattern to manage its operational plan, deriving decisions from internal meeting minutes and past discussions. This event log dictates the company's current state, enabling flexibility in agent choice (e.g., Claude, Code, Codex) because the core logic resides in the event history, not in a specific infrastructure. This contrasts with the often disorganized and nascent 'company brain' efforts seen elsewhere, emphasizing the need for structured, event-driven architectures for robust AI coordination.

Emerging trends: robotics, tooling APIs, and investment strategies

Looking towards the end of 2026, several key themes emerge: robotics, advanced tooling, and strategic investment. The founding of Steelbot, focused on open-source humanoid robots for developers, signals a growing interest in accessible robotics hardware. On the tooling front, Monit, an API aggregating nearly 2,000 tools, addresses the need for agents to access a wide array of functionalities without multiple subscriptions. This mirrors the success of companies like Composer in providing integrated subscription packages. In terms of investment, Yohei Nakajima invests in 12-15 companies annually, often connecting with founders through their public projects and side experiments, a strategy that leverages early relationships and shared learning. His focus remains on early-stage innovation, viewing AI as a continuously value-adding field despite market fluctuations, and emphasizing the potential of robotics as a significant future domain.

Common Questions

Qwenputer is a project that embeds a full CPU within the weights of an LLM, essentially turning the model's weights into a functional computer. This is significant because it opens up possibilities for self-modifying models and novel computational architectures.

Topics

Mentioned in this video

Software & Apps
Cloud Code

Mentioned as a product whose rise in valuation preceded the current discussion around Entropic's IPO.

Codex

A large language model mentioned as an example of an agent that can be used within the company's system.

Rasp

A language for transformer layers, used in research for converting code to weights.

Claude

A large language model mentioned as an example of an agent that can be used within the company's system.

ActiveGraph

A tool recommended for research, especially for performance benchmarking, as it makes runs fully repeatable.

Tracer

A program from DeepMind that converts Rasp code into model weights.

Code

A large language model mentioned as an example of an agent that can be used within the company's system.

Log

Mentioned in the context of event sourcing and building reliable, long-term systems.

Astra

Mentioned as having the capability to directly change weights with a single stroke, a hot topic.

Unity

A platform currently used by most developers, contrasted with the potential use cases for Steelbot.

Quen FS

A file system concept integrated with Quenputer, allowing read/write operations within LLM weights.

MinIO

A chatbot project that Yohei Nakajima was building before ChatGPT.

Quen

The underlying system or model that Quenputer and Quen FS are built upon, used for filling data and writing files.

Quenputer

A project that embeds a CPU within LLM weights, allowing it to function as a computer or a tool for an LLM.

Gemini

A large language model mentioned as an example of an agent that can be used within the company's system.

ChatGPT

A large language model, mentioned as a precursor to when agents started being used extensively in 2022.

Omnara

A project being built by someone the host met, which shares a parallel logo with another entity.

Python

A programming language mentioned as a comparison point for executing code and control loops.

Composer

A company mentioned as a tool-bundling service that has also introduced an 'instant' feature.

More from Latent Space

View all 287 summaries

Ask anything from this episode.

Save it, chat with it, and connect it to Claude or ChatGPT. Get cited answers from the actual content — and build your own knowledge base of every podcast and video you care about.

Get Started Free