
Academia is for Ambition — Alex Zhang, MIT
A Latent Space podcast transcript/interview with MIT PhD student Alex Zhang, creator of Recursive Language Models (RLMs) and a core contributor to GPU Mode and KernelBench, who discusses using recursive subagent calls, context offloading, and shared memory to let models work beyond fixed context windows. The conversation ranges across AI-generated GPU kernels and their verification gap, research taste in academia versus industry labs, why "harnesses" (as in Claude Code, Codex, and Pi) function as compositional generalizers, the Jev model's non-autoregressive output-space trade-offs, and large-scale agent swarm experiments at OpenAI, Kimi, and Sakana AI. It offers a researcher's-eye view of where capability overhang and new agent/harness architectures may be heading beyond today's standard transformer decoder.
What it claims
Alex Zhang argues that today's coding harnesses (Claude Code, Codex, Pi) share nearly the same design: "trajectory as a prompt," where the whole rollout stays in the main model's context. They argue that a different harness design, the Recursive Language Model (RLM), improves compositional generalization. In this design, a model trained on one task can transfer the same high-level strategy to longer tasks or to different-looking tasks. Zhang says RLMs trained on short tasks generalize to tasks 8–30x longer. They also report transfer between unrelated tasks, such as retrieval to aggregation and math to writing, because the top-level strategy is the same even when the subtasks differ.
How it works
Zhang gives this definition, which they say they "wish I had in the original paper":
- The harness has one tool: code (a Python or Bash REPL).
- The model can call itself as a function from that code (programmatic subagent calls), and other tools are also exposed as functions.
- The context is offloaded into memory inside the code environment, such as variables or a file system. It does not sit in the prompt.
Subagents solve easier subtasks, so the root model's strategy looks the same across problems. Zhang says this argument applies recursively at each level.
flowchart TD
Q[Task] --> R[Root LM writes code]
R --> M[(Offloaded context in REPL memory / disk)]
M --> R
R --> S{Subtask?}
S -->|yes| C[Call RLM recursively on subtask]
C --> R
S -->|no| A[Return answer]Prime Agent is a partial version of this design. Its trajectory is stored on disk, so the model can reference its original context even after compaction, and its only tool is IPython. It still keeps the standard compacting trajectory-as-prompt loop.
Evidence
- The 8–30x length generalization and the cross-task transfer come from Zhang's "harnesses are compositional generalizers" blog post, which is discussed but not reproduced on this page. No baselines or settings are given here.
- Zhang says they have unpublished results showing that Pi and Claude Code "distinguish too much" between tasks that have the same solution.
- On RLM performance by model, Zhang reports that "Fable for a long time was the best model for RLMs" because it was trained on dynamic workflows, and that Astra is now good enough. Zhang states these are internal, non-public results.
- For AI-written GPU kernels, nearly all recent GPU Mode leaderboard solutions are AI-generated. One kernel in the top 10 was steered by an expert human, and it was reportedly the only one that stayed stable in end-to-end systems. Zhang cites reward hacking as a known KernelBench problem.
Limits
- Current models are not trained for RLM workflows. Plugged into an RLM, they are "okay," not good. Zhang says the real value depends on training the system properly, which is ongoing work.
- RLMs are slow. Many sequential LM calls misallocate compute. Zhang suggests cheap non-autoregressive models such as Jev for trivial subcalls.
- Kernel leaderboard results are not proof of usable kernels. Verification is a stated gap. Megakernel generation lacks training data, and Zhang expects compilers to handle fusion better.
- Supporting evidence is outside this page. Most quantitative claims are in the external blog post, in an "harness tax" paper attributed to Arena (which Zhang says found most harness choices don't matter), or in internal results.
- Only part of the page was available. This analysis covers the first ~60k of ~127k characters. The sections on RLMs in the wild, OpenAI's 10,000-agent / 130B-token (~$40M-equivalent) experiment, Kimi vs. OpenAI swarms, speculative programmatic tool calling, and Neuralese appear only in the episode outline and were not seen.
Organisations named here
- Massachusetts Institute of Technology
- OpenAI
- Tencent
- Princeton University
- Snapchat
- Anthropic
- Meta
- Google DeepMind
- Sakana AI
- Engram
- Hugging Face
- Thinky
- GPU Mode
- LeetGPU
- Thinking Machines Lab
- Alex Zhang
- ARC-AGI-3
- Claude Code
- Claude Plays Pokémon
- Doom
- Eric Seligman
- FlashAttention
- Jack Morris
- Jeremy Howard
- Jev
- Karthik Narasimhan
- Mark Saroufim
- Michael Tang
- Quiet-STaR
- ReAct
- Shunyu Yao
- Tri Dao
Technologies named here
- GPU Mode
- GPT-5.6
- Terra
- Popcorn
- Luna
- KernelBench
- LeetGPU
- Qwen
- GEV
- Claude Code
- GPT-4
- Codex
- GPT-6
- pi
- vLLM
- Fable
- Prime Agent
- Astra
- Operator
- Kimi
- CUDA
- SWE-bench
- Kimi K3
- Mamba
- Transformer
Techniques named here
- Recursive Language Models
- Context offloading
- Programmatic subagent calling
- Prime Agent / persistent subagents
- Speculative programmatic tool calling
- Neuralese
- Kernel fusion / megakernels
- Changing the output space for fast inference
Related in agents



