AI & Machine Learning
Business Insider1 day ago
0

Forget prompt engineering: 'Loop engineering' is all the rage now

AI

AI experts are shifting from prompt engineering to 'loop engineering,' where automated loops guide AI agents to work autonomously without constant human prompts.

Forget prompt engineering: 'Loop engineering' is all the rage now

Intelligence Insights

Context + impact, normalized for TechCulture.

The Big Picture
The article discusses the emerging trend of 'loop engineering' in AI, where developers design recurring systems that automate AI agent tasks instead of manually writing prompts. Claude Code creator Boris Cherny and OpenAI engineer Peter Steinberger advocate for loops, which allow agents to self-prompt and coordinate work. Loops require components like automations, worktrees, and sub-agents, and are primarily used in coding but applicable to other roles. However, loops can be costly due to high token usage, so experts recommend using them judiciously, such as scheduling tasks or limiting sub-agents to critical checks.
Why It Matters
Loop engineering marks a shift from manual prompt writing to designing automated, recurring workflows that let AI agents self-direct. This reduces human effort and enables complex, multi-step tasks to run autonomously, but it also introduces new cost and token management challenges. As loops become standard, the role of users evolves from operator to manager, designing systems that coordinate multiple agents.

Deepen your understanding

Use our AI to break down complex signals.

Select an AI action to generate more depth.

Boris Cherny talks during an interview
Boris Cherny talks during an interview
Claude Code creator Boris Cherny said that, of all the things he's working on right now, loops will be what he's proudest of in a decade.

Jason Henry/Bloomberg via Getty Images

  • Loops and loop engineering are all the talk in AI.
  • OpenClaw creator Peter Steinberger said users "shouldn't be prompting coding agents anymore."
  • Here's how automated tasks are changing the way AI agents are deployed.

For the most powerful voices in AI, it's all about being in the loop.

Claude Code creator Boris Cherny recently said he doesn't write his own AI prompts much anymore. Thanks to loops, he doesn't have to.

"It's an agent that prompts Claude," Cherny recently told CNBC, adding, "I don't write the prompt anymore. Claude writes the prompt, and now I'm talking to that new Claude that is kind of coordinating."

In the same interview, Cherny said that loops and a similar feature were examples of the kind of work he would be proudest of in a decade.

Cherny isn't the only one embracing "loop engineering." OpenAI engineer Peter Steinberger, the creator of the viral OpenClaw project, wrote a public reminder to users who are still writing out prompts for AI agents.

"Here's your monthly reminder that you shouldn't be prompting coding agents anymore," Steinberger wrote recently on X. "You should be designing loops that prompt your agents."

What are loops?

Loops are recurring systems that guide AI agents, so the user doesn't have to constantly write prompts themselves. An example is /goal, which instructs an AI tool like Anthropic's Claude Code or OpenAI's Codex to keep working until a task is completed, rather than requiring a prompt at each step.

Claire Vo, founder of ChatPRD and host of the "How I AI," might have summed it up best by saying, "it's really just reminding people that you don't have to use your human fingers to type in a prompt in order for your agent to do work on your behalf."

The days of directly prompting generative AI coding tools are "kind of over, or at least some think it's going to be," Addy Osmani, director of Google Cloud, wrote in his post explaining the concept.

Osmani wrote that loops need five components: automations, worktrees, skills, plugins and connectors, and sub-agents. The foundation is automation, because that's what ensures a loop can be repeated rather than a one-off event.

One of the most frequently suggested setups, especially when it comes to coding, is to split up your loop so that one agent writes the code and the other checks the final product.

"The model that wrote the code is way too nice grading its own homework," Osmani wrote.

Steinberger shared an example of a loop he uses: "Tell codex to maintain your repos, wake up every 5 minutes and direct work to threads. That makes it easy to parallelize+steer work as needed."

Here's a simple loop: Tell codex to maintain your repos, wake up every 5 minutes and direct work to threads. That makes it easy to parallelize+steer work as needed.

I use a orchestrator skill combined with my triage+autoreview+computer use skills, so some work can land… pic.twitter.com/0ASlWqkysW

— Peter Steinberger 🦞 (@steipete) June 11, 2026

When to use a loop

For the moment, the loop discourse is mostly focused on agentic coding. That doesn't mean loops are just for software engineers.

"This is the time for the manager," Vo said. "You are designing a job. And so just imagine that you're onboarding an employee. That employee could be an executive assistant, that employee could be a customer service agent, that employee could be a software engineer."

You might already be using a loop without knowing it.

"If you have used a scheduled task in ClaudeCowork, guess what, babe? You have written a loop," Vo said.

… And when not to

The biggest concern cited about loops is, by far, cost.

Running multiple agents with subagents on the latest frontier AI model is a great way to burn through your personal token budget or raise some eyebrows from your boss.

When users on X asked Steinberger about how he would modify his loop to be more budget-conscious, he responded: "Waking up and doing some API calls is fairly cheap, or opt for once per hour/day for lower token use."

At the same time, he also described himself as someone "the man with unlimited tokens." (Free tokens are one of the many perks of working at OpenAI.)

Osmani's advice is to spend only where necessary.

"Subagents do burn more tokens since each one does its own model and tool work, so spend them where a second opinion is worth paying for," he wrote.

Read the original article on Business Insider
Startups Big Tech Developer Tools AI

Intelligence Exchange

0

Log in to participate in the exchange.

Sign In

Syncing Discussions...

Finding Related Intelligence...
Forget prompt engineering: 'Loop engineering' is all the rage now | TechCulture