AI Engineer World's Fair · 2026

Recursive Coding Agents

Raymond Weitekamp

RAW.works | OpenProse

Motivation

We all want outcomes.

Agents that work on our behalf — reliable co-workers — while we’re out on a hike.

The bottleneck is not intelligence. It’s reliability. It’s trust.


  • One day — my agents build me a full SaaS app from a single prompt.
  • The next day — they empty the entire contents of my Solana wallet.

Thesis

Today’s agents are mis-managed geniuses

The intelligence is there.

The missing layer is how we specify, manage, reuse, and verify the work.

Recursive Language Models

Context itself is the object of computation

  • Externalize — the full prompt lives in a REPL, not the context window.
  • Operate — the model writes code to inspect, slice, and transform it.
  • Recurse — it sub-queries itself over the slices.
Top half of the first page of the Recursive Language Models arXiv paper arXiv:2512.24601

Recursive Language Models

Code Execution As Reasoning

X card for the RAW.works article RLMs are the new reasoning models, including article preview text and social proof

The RLM rubric

Lots of things feel close.

Executable environmentPrompt externalizedCode calls the modelModel picks decompositionState stays symbolic
Plain long-context call RAG / reasoning-only
Subagents verbal delegation
Coding agent + bash CodeAct-style, one session
Agentic loops Ralph + the 2026 'loop engineering' wave
Hardcoded map-reduce developer-authored pipeline — e.g. λ-RLM
Recursive Language Model passes every check

Only an RLM checks every operational box here.

Towards Recursive Coding Agents

Either... Trick question: RLMs are Recursive Coding Agents.

Or... How can we apply the principles of RLM to coding agents?

My Experiments

Finding ypi

Built on Pi (minimal, extensible). Previously pi extensions could not support recursion — so I forked it. Y is for the Y-combinator.

  • Wrapper CLIypi - a fully recursive Pi agent.
  • Pi Extensionpi-recursive - make any existing Pi config recursive.
rawwerks/rlm-cli

CLI for Recursive Language Models.

Python 80 4 Updated Jun 16, 2026
rawwerks/ypi

A recursive coding agent inspired by RLMs.

Shell 339 29 MIT Updated Jun 15, 2026

Claude Code

Is Claude Code an RLM?

No

alex zhang announcing Recursive Language Models on X, with Gary Basin replying below: "This is effectively Claude code sub-agents right?"

Q4 2025

Yes

Omar Khattab on X: "Claude Code is finally an RLM (oct 2025), congrats to Anthropic", quoting the Claude Code dynamic workflows announcement

Q2 2026

For (almost) any coding agent

A language compiled by the agent, not the computer.

A markdown spec plus a giant prompt, in logical English. No new syntax to learn.

The key: a declarative contract the agent must satisfy to be “done.” That’s the answer to slide 2 — trust.

Any agent with a filesystem and subagents can run it — and behave like an RLM.

See “Stop Babysitting Agents, Start Authoring Outcomes” on Turing Post.

openprose/prose

A new kind of language for a new kind of computer.

TypeScript 1.5k 121 MIT Updated Jun 16, 2026

Recursive Coding Agents FTW

Trust is reliability — the next step is behavioral, not more model intelligence.

A new paradigm of inference-time compute — RLMs are the new reasoning models → recursive coding agents are the new coding agents.

Coding agents can be RLMs — Claude Code dynamic workflows and OpenProse show two concrete paths.

Until Next Time...