WhoBuilt

Ralph

Repeats work until a limit or stop condition is reached.

Also known as Ralphs, Ralph Loop, Ralph loop, Ralph Wiggum technique

Key facts

Capabilities
a stop hook can continue a run until an iteration limit or safe word is reached
Geoff Huntley, clears and restarts context between iterations
Anthropic, incorporated the concept into platform commands for loop, batch, and goal

Timeline 4

Dated events, newest first. Open the sources under any item.

How we verify
Built1Capability3
20262 events
  1. reported 2026-07Capability
    Geoff Huntley: clears and restarts context between iterations
    clears and restarts context between iterations
    “you keep clearing the context window” 27:35
    Unverified1 source· Talk
  2. reported 2026-07Capability
    Anthropic: incorporated the concept into platform commands for loop, batch, and goal
    incorporated the concept into platform commands for loop, batch, and goal
    “absorbed it into their platform, and created three commands: loop, batch, and goal” 15:22
    Unverified1 source· Talk
20252 events
  1. 2025Capability
    A stop hook can continue a run until an iteration limit or safe word is reached
    “A stop hook intercepts when Claude would typically stop, and if it isn’t finished, it continues” 9:12
    Unverified1 source· Talk
  2. 2025Built
    Geoff Huntley built Ralph
    “the creator of the Ralph loop” 0:12
    Verified2 sources· Talk, Web· archived

Talks 3

17:57
Loop Engineering from First Principles

Kyle Mistele argues that coding loops for production software should use control theory: measure the codebase, choose a small change, apply it, and use feedback to steer the next step. He describes building a loop to migrate HumanLayer’s RPC API to Effect, using ast-grep to find unmigrated procedures and an agent with a carefully developed skill to make changes. The workflow creates small PRs, accepts low-friction human feedback through comments and a version-controlled feedback file, and pauses when an earlier loop PR remains open. Teams can increase throughput by migrating several procedures at a time or running separate workflows in parallel while keeping changes reviewable.

Jul 25, 2026· 18 minMentioned 1:13
1:00:16
The Great Loops Debate

The debate weighs whether AI coding loops are already useful engineering tools or whether the hype has outpaced reliable practice. Supporters describe loops as a natural extension of software feedback cycles, especially effective for well specified tasks with strong tests and deterministic verification. Skeptics argue that agents still produce poor code, struggle with architecture and judgment, and can make loop based workflows expensive or unsafe without careful oversight. The speakers agree that experimentation and incremental adoption make sense, while fully autonomous software factories remain an unsolved goal.

Jul 17, 2026· 1 h 0 minDiscussed 0:12
1:15:40
Anthropic Workshop: Build Agents That Run for Hours

The talk explains how long-running coding agents depend on both improving models and harnesses that manage context, planning, and verification. Andrew Wilson reviews how Anthropic’s tools and models evolved to support longer runs, while Ash Prabaker describes a planner-generator-evaluator pattern with separate contexts and explicit contracts. The evaluator tests working apps, scores them against detailed rubrics, and gives actionable feedback that can lead the generator to revise or restart. The speakers recommend reading agent traces and adapting harnesses as model capabilities change, with shared files preserving state for long-running work.

May 18, 2026· 1 h 16 minDiscussed 7:56