Charlie Hills
← All guides

Free guide · Claude & Claude Code

Loop Engineering: The Complete Guide

Stop writing prompts, start building loops. The four eras of AI engineering, Anthropic's agentic loop, and the six parts you need to build your own. No code.

What’s inside

  1. 1The four eras of AI engineering
  2. 2What a loop actually is
  3. 3Why loops beat one-shot prompts
  4. 4The six parts of a loop
  5. 5Build your first loop this week
  6. 6The patterns worth knowing by name
  7. 7The mistakes that break loops

You are still writing prompts. The best builders stopped months ago.

They do not sit there crafting the perfect instruction any more. They build a loop, set the goal, and walk away. The loop does the work, checks it, fixes what failed, remembers the correction, and runs again tomorrow without them.

This guide is the whole thing. What loop engineering is, why it beats writing prompts, and the six parts you need to build your own. No code required.


The four eras of AI engineering

Every era wrapped the one before it. None of them replaced the last. You still need all four.

Prompt engineering (2022). The message.

The craft of wording one input. You pack the role, the rules, the examples and the output format into a single message, and hope it lands. You tune the words and nothing else. One input goes in, one answer comes back. No memory of past chats, and no tools.

Context engineering (2024). The memory.

Andrej Karpathy named it. The model only sees a finite window, so the real job becomes choosing what goes into that window and what gets left out. You pull from docs, tools, memory and past turns, then curate, compress and drop to make it fit. Better context beats a cleverer prompt.

Harness engineering (2026). The machine.

Mitchell Hashimoto, co-founder of HashiCorp, coined this one in February 2026. The harness is everything around the model: the tools, the memory, the guardrails and the checks bolted on. His core principle is simple. Anytime you find the agent makes a mistake, you engineer a solution so it never makes that mistake again. Strip the parts away and you are back to a chatbot.

Loop engineering (now). The system.

The newest rung. Peter Steinberger and Boris Cherny put it on the map, and Addy Osmani named it as a discipline. You stop prompting at all. You design a loop that prompts the agents for you. It works, checks its own output, remembers what you teach it, and runs again. Loop engineering sits one floor above the harness. A harness is the control structure around one acting agent. A loop adds timing, helper agents, memory and repeated, self-feeding work.

"I don't prompt Claude anymore. My job is to write loops."

Boris Cherny, creator of Claude Code, Anthropic

"You shouldn't be prompting coding agents anymore. You should be designing loops that prompt your agents."

Peter Steinberger, creator of OpenClaw


That’s the first part. The rest of this guide is free too.

More on Claude & Claude Code

Toolkit · 12 parts

Control What Claude Remembers: the close and system-audit skills

Both skills from the reel: close keeps the lessons from a good session, system-audit checks your whole Claude setup once a month. Install steps, the full files, real test runs, a claude.ai prompt for each, and how Claude memory works today.Read the guide →
Guide · 8 parts

Claude TV Remote: the exact prompt, the setup and the undo

The exact prompt from the reel that has Claude Code back up your Android or Google TV, switch off the ad rows and install a clean home screen, plus the one-time TV setup, the undo, which TVs it works on, and how to install REA for TVs like LG.Read the guide →
Guide · 12 parts

Top 30 Claude Plugins and how to install each one

All 30 Claude plugins from my graphic, sorted into 5 rows by the job they do. Each one has the exact install line, a check that it worked and the GitHub link. PDF included.Read the guide →
Guide · 9 parts

How to Edit Videos with Claude: the installs and my full prompt

The 7 installs with a check for each, my full video editing prompt, the honest test results and the fixes for when it breaks.Read the guide →
Guide · 1 part

How Claude made my map explainer: the full process

The 6 steps and every prompt behind my Red Bull Stratos map explainer, plus the real maps and photos the reel skipped.Read the guide →
Toolkit · 3 parts

The aircraft-manual skill for Claude

A Claude skill that makes every answer read like a repair manual: short, exact and clear on the first read. 26 rules, a swap list and a 7-step check, plus a 5-page PDF.Read the guide →