Blog

Why loops are the next step in working with AI agents

I notice that something is shifting again in the world of AI. Until now, it was often about prompts. How do you write a good prompt? How do you give an AI agent clear instructions? How do you make sure such an agent does exactly what you mean?

But in the last few days, I have suddenly started seeing another word more and more often: loops. And honestly, I find that interesting. Because it feels like a logical next step.

First we learned to talk to chatbots. Then we learned to work with agents. And now we are starting to think about systems that do not stop after one instruction, but keep going until a goal has been reached. That may sound technical. But the idea is actually very simple.

Not Asking Again And Again

If you work with an AI agent today, you probably recognize this pattern.

You give an instruction.

The agent does something.

Then you look at what comes out.

Then you give another instruction.

The agent adjusts something.

You look again.

And so you go back and forth.

That already works very well. I use it all day myself. For texts, websites, small tools, news posts, and all kinds of things I would otherwise do manually. But as a human, you are still the one who keeps giving the next push. With loops, that changes. You do not just say: do this task. You say: this is the goal, keep working until you get there.

A Loop Needs A Goal

A loop is basically nothing more than a process that keeps repeating itself until a certain goal has been reached. For that, you need two things. A trigger and a goal.

The trigger is the moment the loop starts. That can be because you press a button. But it can also happen automatically. For example every morning at nine. Or every time a new document comes in. Or whenever a change is made in a project.

The goal is what the agent works toward. And that goal needs to be verifiable.

In software, that is relatively easy. You can say: keep going until all tests pass. Or: check this page, fix errors, and only stop when the build works. Then the agent knows when it is done. But in a lot of other work, that is harder. When is a strategy good enough? Or when is a text really finished?

From Prompting To Designing

What fascinates me most is that your role as a human changes. You spend less time giving separate instructions. You spend more time designing the system in which an agent works. That is a very different way of thinking. When you prompt, you often think: what should I ask now? With loops, you think: what process do I want to build, when should it start, what is the end goal, and how does the system know it is done? That may sound like a small difference, but it is not. It is the difference between repeatedly giving someone an assignment and building a work process that keeps running independently. I think this will be a big step for many organizations. Not because everyone will be building loops tomorrow. But because it shows where working with AI is heading.

Loops Can Become Expensive

If an agent keeps working until a goal is reached, it also keeps using AI capacity. And that costs money. Sometimes a lot of money. You can already feel this with regular AI agents. The more you use them, the faster you run through your credits or limits. With loops, that becomes even stronger, because the system is specifically designed to keep going. That can be fantastic when it works well. But it can also become awkward when the goal is not sharp enough. Then you do not have a smart assistant. You have an expensive machine that keeps trying to finish something that was never defined clearly enough.

What Does This Mean Beyond Software?

Although loops are now mostly discussed in software development, I think they will become much broader. Imagine having an agent that checks your calendar, email, and tasks every morning. Not just to make a summary, but to keep working until your day plan makes sense. Or an agent that checks your administration every week and only stops once missing receipts have been found, payments have been matched, and anomalies have been flagged. Or an agent that continuously updates your knowledge base. Reads new documents. Finds outdated information. Merges duplicate information. And only stops once the knowledge is organized again.

AI is becoming a layer that can execute, check, and improve work.

Start Small

I would not recommend letting your entire company run on loops tomorrow. That is asking for trouble. But I do think you should start experimenting with it.

Start small. Let an agent check something. Let it update a list. Let it prepare a recurring task every week.

Not because it will be perfect right away. But because that is how you start to understand how work is changing.