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 · 28 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

OpenAI introduces GPT-6.2 Astra and Sol for professional and everyday workOpenAI introduces GPT-6.2 Astra and Sol for professional and everyday work
OpenAI has introduced two models: Astra for complex professional tasks and Sol for everyday work. Both are available in ChatGPT Work, Codex and through the API.
3 min read
17. 11. 2026
Tencent releases Hy4 Flash with image support and a context window of up to 1 million tokensTencent releases Hy4 Flash with image support and a context window of up to 1 million tokens
The lighter Hy4 Flash model targets chat, documents and routine code edits. It accepts text and images, supports tool use and, according to Tencent, matched Claude Haiku 5.5 in tests of everyday tasks.
1 min read
16. 11. 2026
Companies Linked to Chinese Spy Invested in DeepSeek and Promised Banned Nvidia ChipsCompanies Linked to Chinese Spy Invested in DeepSeek and Promised Banned Nvidia Chips
Companies linked to an alleged Chinese spy joined DeepSeek’s latest funding round. In exchange for a stake, they reportedly promised banned Nvidia Blackwell chips.
3 min read
16. 11. 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