Claude Code chief on AI loops: why developers are moving beyond prompts to design autonomous cycles

Claude Code chief on AI loops: why developers are moving beyond prompts to design autonomous cycles

Ondřej Barták
Ondřej Barták
Entrepreneur and Programmer
25. 6. 2026
3 minutes reading · 9 views
Claude Code chief on AI loops: why developers are moving beyond prompts to design autonomous cycles

Boris Cherny, head of Claude Code at Anthropic, stood before a packed room of engineers at Meta's @Scale conference, and the very first question from the audience stopped him in his tracks. "Are loops the next hype cycle, or are they real?" someone in the audience asked. Cherny answered without hesitation: "Yes, they are real."

Cherny does not speak about loops as an outside observer. He is the engineer who led the team that built Claude Code, now one of the most widely used agentic coding tools. When he speaks, the developer world pays attention.

The Loop Era

Cherny offered the conference a simple interpretation of the past two years. First, we wrote source code by hand. Then we switched to agents that write code for us. Now we are entering the third phase: agents prompt other agents, which then generate the code. "The leap from agents to loops is as big as the leap from source code to agents," he said.

What exactly is a loop in the AI world? It is a long-running, recursive structure in which subagents monitor a repository, open pull requests, and work in the background until they receive a signal to stop. But that signal is not determined by a fixed condition in the code, as it is in traditional programming. Another agent decides.

During the talk, Cherny described what he is currently running himself. One agent continuously looks for ways to improve the code architecture. Another searches for duplicate abstractions that could be consolidated. Both submit pull requests like any other developer on the team. And because the code is constantly changing, they never stop.

Ralph Loop and the Compute-Time Test

Loops themselves are nothing new in computer science. Recursive functions that call themselves and stop once a condition is met are taught in the first semester of every technical discipline. What is different is that the stopping logic is now nondeterministic. It is determined not by a rule, but by a subagent.

One of the most widely used techniques is the so-called Ralph Loop, named after Ralph Wiggum from The Simpsons. It works by summarizing all the work the model has done so far and asking whether it has achieved its goal. If not, it continues. It is a way to prevent the model from getting lost during long-running operations. It sends the model back and forth until the task is complete.

OpenAI researcher Noam Brown noted earlier this month that today's models can solve almost any problem if given enough computing power. Loops are a direct consequence of this observation. If you do not know when an agent will finish, simply let it run until it succeeds.

Enormous Trust and Enormous Costs

This is a powerful idea, but it comes at a price. Literally. Agentic loops burn through tokens significantly faster than traditional question-and-answer chatbots. And because the point is for them to run continuously, there is no spending cap. For Anthropic, which makes money by selling tokens, this is great news. For everyone else, it could be a very expensive way to work.

The original approach to agentic coding was different. A developer launched the agent, watched its first steps, intervened when it strayed, and stopped the work when the task was complete. Loops change this model. Agents do not wait for the next prompt. They wait for a signal that the work is complete. And another agent, not a human, decides when that signal arrives.

Source: techcrunch.com

Advertisement

Content created with help from UpTier.

SEO and GEO on autopilot. UpTier’s multi-agent systems write and optimize content for search engines and AI answers.

Discover UpTier ↗

Category:AI
Did you enjoy this article?
Discover more interesting posts on our blog
Back to blog

Related posts

Amazon releases Strands Decider 2B for AI workflow decisionsAmazon releases Strands Decider 2B for AI workflow decisions
Strands Decider 2B selects from predefined options and returns a confidence score. The fully open-source model is available now and small enough to run locally.
2 min read
1. 10. 2026
OpenAI says it disrupted a campaign to extract hidden model reasoningOpenAI says it disrupted a campaign to extract hidden model reasoning
OpenAI reported a coordinated effort to extract protected model reasoning and said it closed an extraction pathway. It attributed the main cluster of activity to individuals associated with Moonshot AI, the developer of Kimi.
3 min read
1. 10. 2026
Meta Enterprise Platform aims to bring AI tools to businessesMeta Enterprise Platform aims to bring AI tools to businesses
Meta’s new enterprise initiative plans to bring Muse, Meta Business Agent, Muse API and Muse Code to businesses and developers. Former MongoDB CEO CJ Desai will lead the effort.
1 min read
1. 10. 2026
Přihlaste se k odběru našeho newsletteru
Zůstaňte informováni o nejnovějších příspěvcích, exkluzivních nabídkách, a aktualizacích.
CodedTrip

Operated by CodedTrip LLC, USA.

YouTube
TikTok