Skip to content
Agent YAP

What is it?

REPL

REPL stands for Read-Eval-Print Loop, a small interactive programming environment where you can type a piece of code, have it run immediately, and see the result, then type the next piece. In Chapter 5, the giant input is placed into a REPL as a variable, and the model writes code to peek into it, search it, and slice it. The REPL is what turns a too-large input from "text to read" into "data to explore," which is the heart of the Recursive Language Models idea.

From the Planning and Reasoning glossary

Where REPL is explained

  1. Autonomous Task Agents: Manus and CodeActBuilding Coding Agents and Harnesses · CodeAct: code as the action language
  2. Recursive Language Models, Thinking Beyond the Memory LimitPlanning and Reasoning · The idea: treat the long prompt as an environment, not a thing to read

Every term, A to Z