How we got here
A timeline from a bash one-liner in mid-2025 to goal loops built into every major harness by late 2026.
The short version: loops moved out of user hacks (shell scripts, Stop hooks) and into the harness itself. Goals gained evaluators, budgets and lifecycle states. Scheduling and background execution became built-in, dashboards appeared for supervising many loops at once, and pricing started to adapt to agents that run for hours.
2025: the hack era
July 2025: Ralph. Geoffrey Huntley describes running a coding agent in an endless shell loop, named after the Simpsons character for its cheerful persistence. while :; do cat PROMPT.md | claude -p; done. (Steve Kinney, Kingy AI)
Late August 2025: weekly caps. Anthropic introduces weekly usage limits for Claude Code, explicitly to curb continuous, 24/7 background use (TechCrunch). Loops are already straining flat-rate plans.
Late 2025: Ralph goes official. Anthropic ships a ralph-wiggum plugin for Claude Code. A Stop hook returns exit code 2 to block the agent from finishing and re-injects the original prompt, with --max-iterations and --completion-promise to end it (plugin mirror, DeepWiki). Community variants add circuit breakers and rate limiting, and support other agents (open-ralph-wiggum).
November 2025: long-running harnesses. Anthropic's Effective harnesses for long-running agents introduces the initializer-plus-coding-agent pattern, with progress files and feature lists, to bridge sessions that start with no memory.
Early 2026: the harness era
January 2026. OpenAI publishes Unrolling the Codex agent loop, a rare inside look at a production harness (Technology.org coverage). geocod.io writes up shipping features in your sleep with Ralph loops.
February 2026. Nous Research releases Hermes Agent, an open-source agent with multi-level memory and a gateway that unifies clients (MarkTechPost).
March 2026. Anthropic's Harness design for long-running apps describes the planner → generator → evaluator architecture (announcement on X). Karpathy releases autoresearch, an agent loop running about 700 training experiments over two days; he calls this kind of loop "the final boss battle" for frontier labs (Fortune). Anthropic also publishes a post on building a C compiler with nearly 2,000 Claude Code sessions (engineering blog).
April 30, 2026: /goal arrives. Codex CLI 0.128.0 ships /goal, a persisted objective the agent keeps pursuing across turns until it judges the goal complete or a budget runs out (Simon Willison, Daniel Vaughan).
May 2026. Claude Code gets its own /goal, with a separate evaluator model checking completion (docs), and Agent View, one screen for every background session (Cobus Greyling). Codex hooks reach general availability (Developer's Digest). Google launches Managed Agents in the Gemini API, where a single call provisions a remote Linux sandbox for an agent (Google blog), alongside Antigravity updates at I/O (highlights).
Mid 2026: the discourse era
June 7–8, 2026: "loop engineering". Peter Steinberger argues for designing the loops that prompt agents rather than prompting them, and Addy Osmani writes the reference essay (O'Reilly, Firecrawl). Boris Cherny: "I don't prompt Claude anymore. I have loops prompting Claude" (The New Stack, The Neuron). Anthropic publishes Getting started with loops, describing turn-based, goal-based, time-based and proactive loops.
June 30, 2026. Andrew Ng's three-loop letter.
July 2026: backlash. Critics call it a buzzword for a while loop. Steinberger asks whether the field moved "from loops to graphs" and the term graph engineering briefly trends, along with a tongue-in-cheek "Loop Engineering Is Dead". See The hype debate.
August 2026. Google's Antigravity Teamwork runs agent teams over hours or days. The first academic study of the practice, Loop Engineering: Building Blocks, Adoption, and Impact, finds agreement on the building blocks but little systematic evidence for the benefits.
Late 2026: consolidation
October 30 – November 2026. Anthropic renames Max 20x to Ultra and removes the five-hour limit for verified Ultra accounts; weekly limits remain (Developer's Digest, vanja.io). secondary reporting Google folds Jules into Antigravity, and asks Gemini CLI users to move to the Antigravity CLI (DEV daily digest, Jules shutdown guide). Codex now lists goals, memories, hooks and plugins as core features (Morph comparison). Cursor, Antigravity and Codex add voice for talking to running agents (The New Stack).
Missing a milestone?
Timelines like this go stale fast. If a release or essay mattered to how you run loops, use "Improve this page" below to add it.