WhoBuilt

Recursive Coding Agents

Jun 25, 2026· 24 min· 13K views·Watch on YouTube

Speaker

Raymond Weitekamp, an independent researcher at Raw Works and a researcher at OpenProse, presents “Recursive Coding Agents” at AI Engineer, explaining how ideas from recursive language models can help coding agents deliver more reliable outcomes.

Reliability is the bottleneck

Weitekamp argues that models already have substantial knowledge, but they do not reliably deliver outcomes. He describes getting an almost working SaaS app from one prompt, then seeing Claude Code empty his Solana wallet the next day. He frames the missing layer as better ways to specify, manage, reuse, and verify work.

How recursive language models work

In an RLM, the prompt is externalized as data that an agent explores symbolically through an executable environment such as a Python REPL. The agent can make recursive calls to subagents, which work on parts of the problem before results are combined. Weitekamp points to examples involving very large inputs, memory, and long reasoning tasks, where he says a Qwen 3.5 9B model using the DSPy RLM framework beat frontier models on Long CoT.

Applying recursion to coding agents

Weitekamp describes experiments that give coding agents recursive capabilities, including Y-Pi, which lets Pi call the same agent at configurable depth. He also highlights DSPy’s pi.rlm, AXE’s agent-native recursive approach, and a Unix RLM that uses Bash and the Linux file system. He argues that Claude Code dynamic workflows can also make an agent recursive when the workflow chooses how to divide work.

OpenProse makes workflows reusable

OpenProse is a Markdown-based programming language that a coding agent compiles into workflows, with a command that can help write the workflow file. It can assign subagent tasks, verify their results in the parent session, and declare the skills and tools each subagent needs. Weitekamp also describes turning a successful Claude Code or Codex session into a reusable Prose workflow.

From orchestration to trust

Examples include repo-scale migrations, recursive directory research, audits, bug sweeps, and adversarial review by skeptical or red-team agents. Weitekamp’s closing point is that trust depends on reliability, which calls for better orchestration rather than simply more raw intelligence. He presents recursive tool use and agent workflows as a way to improve that reliability.

Takeaways

  • Treat agent reliability as a workflow design problem: specify tasks and verify results.
  • Keep large inputs outside the context window and let agents inspect them through tools.
  • Use recursive subagents when a task can be split into focused pieces and recombined.
  • Declare the tools and skills each subagent needs as part of the workflow.
  • Capture successful agent sessions as reusable workflows to make good outcomes repeatable.

Mentioned in this talk

Search inside this talk

What was claimed 11

Show all 11 facts

Related talks