field guide · loop engineering · November 2026

Loop engineering,
in the field.

Patterns, hints and tools for designing the loops that keep agents working: goals that can be checked, hosts that sleep between tasks, factories that run loops as infrastructure, and the failure modes to plan for. Use it to widen the set of loops you can think of, then go build one.

Four words to keep apart

Name these separately when you sketch a loop. Most confusion about loops comes from blending them.

Loop

The execution mechanism: observe, decide, act, check, repeat.

Goal

The objective that persists across iterations and decides when to stop.

Harness

The runtime around the model: tools, budgets, hooks, sandbox, scheduling.

State

What survives an iteration, a context reset or a crash: files, git, logs.

Explore

state of play · November 2026

Where we stand

Every major coding agent ships a goal loop. The open work has moved to what surrounds it.

  • Worksunattended overnight runs, fresh context with state in files, loops that push a measurable number
  • Unsolvedchecking that a goal is really met; weak checks get gamed and loops stop early
  • Costcontext re-read every turn and idle polling; hosts that sleep between tasks cut the idle part
  • Bottleneckhuman review of what loops produce
  • Nextcheckable goals, independent judges, factories that run loops as infrastructure

New to loops, or running them already?

Start with the basics, or share a loop you've run so we can learn from each other.

Every claim links to its source. Browse the full source library.