Learn it in depth
The whole field, read it right here.
Ten chapters from first principles, plus a glossary, the field notes, an FAQ, and the annotated reading list. Each page renders straight from the repository — so what you read here is what is in the docs.
The chapters
01What Is Loop EngineeringThe core idea, and why it surfaced in 2026.
02The LineagePrompt, then context, then harness, then loop.
03Anatomy of a LoopThe lifecycle, plus the eleven-part loop contract.
04The Five Building BlocksAutomations, worktrees, skills, connectors, sub-agents, and memory.
05Stop Conditions & Verification/loop versus /goal, maker and checker, the LLM as judge.
06Memory & StateRalph, the session as an event log, brain and hands and session.
07Stacking LoopsLoopcraft, the four-loop stack, going up versus going down.
08Token EconomicsThe O(N²) cost, the 4x and 15x figures, budgets, the orchestration tax.
09Risks & the Debt TrilogyComprehension, cognitive, and intent debt; cognitive surrender.
10Building Loops in Claude Code & CodexHands-on: claude -p, codex exec, sandboxes, sub-agents, CI.