Most people who use AI every day still use it the slowest way possible. Type a request. Wait. Fix it. Ask again. All by hand. Not because the faster way is hard — because nobody showed them what it actually looks like.
The faster way is called a loop. Right now it is the one concept the best AI engineers in the world care about. This post explains it properly — what loops are, how they work under the hood, when they are worth building, and how to run one yourself in Claude or ChatGPT today.
The ceiling most people never notice
Look closely at how most people use AI. Every step runs through you. You decide what to ask, you judge the answer, you decide what comes next. The AI never moves unless you push it — and the moment you stop, everything stops.
This works fine. But it has a ceiling. You are the engine. The AI is only the tool in your hand, and a tool does nothing on its own.
There is another way. Instead of walking the AI through every step yourself, you give it the goal once and let it run the steps itself. It plans, does the work, checks its own result, fixes what is weak, and repeats until the goal is met. You step out. The work keeps going.
"You shouldn't be prompting coding agents anymore. You should be designing loops that prompt your agents." — Peter Steinberger
Prompt vs Loop — the actual difference
- → One instruction
- → One answer
- → Waits for you to decide what's next
- → Stops when you stop
- → You are the engine
- → One goal
- → Runs until it gets there
- → Plans, does, checks, and repeats
- → Stops on success or a hard limit
- → AI is the engine
The three parts that matter most
Click each one — these are where people get loops wrong.
Do you actually need a loop?
Most articles sell you the loop before they tell you when it's a mistake. Check all four — if you miss one, keep it as a manual prompt.
How Claude handles loops natively
Claude Code is built around loops as a first-class concept. Here is what that looks like under the hood:
/loop re-runs on an interval. /goal keeps a session going until your condition is actually true. Push to cron or GitHub Actions for unattended runs.A real coding loop in Claude Code
Loops took off in software first because code is the easiest thing to verify. A test passes or it fails — the AI always knows whether it is finished. Here is the exact spec used in production:
2. Pick the single highest-impact failure
3. Write the smallest change that fixes it
4. Re-run tests, lint, and type checker
Build your own loop right now — no tools needed
You do not need Claude Code or any special setup. You can run a self-checking loop inside any AI chat right now. The trick is giving the model all three loop parts at once: a goal, strict success criteria, and a protocol that forces it to check itself before it can stop.
- [criterion 2]
- [criterion 3]
2. DO — produce or improve the work
3. VERIFY — score the result 1-10 on each criterion.
Be brutally honest. List exactly what is still weak.
4. DECIDE — if every criterion is 8+, print "FINAL" and stop.
Otherwise print "ITERATING" and go again,
fixing the weakest point first.
- Each pass must fix the weakest score from the last VERIFY.
- Do not ask me questions. Make a sensible assumption,
note it, and keep going.
Watch what happens. The model drafts, grades its own work against your criteria, finds the weak spot, and rewrites — over and over — until it actually clears the bar instead of handing you the first thing that looked close. That is a loop. You just built one with a paragraph.
The cost nobody mentions
Loops run on tokens, and tokens cost money. The problem is not that each step costs something — it is how the cost compounds.
Every time the loop goes around, the agent re-reads its context: the goal, the previous results, what failed, what is next. That whole pile grows each pass.
The metric that actually matters — and almost nobody tracks — is cost per accepted change. Not tokens spent. Not loops run. If a loop gives you ten results and you throw out six, you are doing the review work it was meant to save. Below a 50% accept rate, it costs more than it gives back.
The order that actually works
If you do build a loop, the order matters more than the tools. Every team that ships loops that survive in production does it the same way:
Loop ideas for IT and endpoint engineers
These work today in Claude Code or any AI that can run scripts and call tools:
The honest version
Loops are real, and most people do not need the heavy version yet. What everyone can use right now is the light version — the self-checking prompt template above. Copy it into Claude or ChatGPT, fill in your task and criteria, and watch what happens.
The heavy version — scheduled, multi-agent, connector-wired, running while you sleep — belongs to teams with the budget and guardrails to run it. If that is not you today, you are not missing out. Start by using what is already there for free. Only once you actually feel that it is not enough should you start thinking about what you truly need.
Start here: Copy the self-checking loop template above into Claude or ChatGPT. Give it a real task you do every week. Watch it iterate. That is your proof of concept — and it costs you nothing but 5 minutes.