VOOZH about

URL: https://thenewstack.io/loop-engineering/

⇱ The Anthropic leader who built Claude Code says he ditched prompting — now he just writes loops. - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2026-06-10 13:01:52
The Anthropic leader who built Claude Code says he ditched prompting — now he just writes loops.
AI Agents / AI Engineering / Developer tools

The Anthropic leader who built Claude Code says he ditched prompting — now he just writes loops.

Loop engineering — the practice of designing automated agent workflows instead of prompting manually — is reshaping how developers use Claude Code and OpenAI Codex in 2026.
Jun 10th, 2026 1:01pm by Janakiram MSV
👁 Featued image for: The Anthropic leader who built Claude Code says he ditched prompting — now he just writes loops.
ghariza mahavira for Unsplash+

The fastest-moving conversation in AI developer tooling this week began with a job description.

Boris Cherny, head of Claude Code at Anthropic, said he no longer prompts Claude directly and that “my job is to write loops.” Peter Steinberger urged developers to design the loops that prompt their agents, and Sunday, Google engineer Addy Osmani published a post that gave the pattern a name: loop engineering.

The name matters less than what it exposes. Coding agents are evolving from interactive assistants into long-running execution systems, and OpenAI and Anthropic have spent months shipping the six building blocks of a loop.

Boris Cherny (Claude Code's creator) said something that stopped me cold:

"I don't prompt Claude anymore. I write loops and the loops do the work. My job is to write loops."

everyone clipped the line. almost nobody built what he described.

so i watched all 4 minutes and… https://t.co/RP3DQQg7mZ pic.twitter.com/Ch1vyd9uy9

— Avid (@Av1dlive) June 9, 2026

From operating the machine to designing the line

Osmani defines loop engineering as “replacing yourself as the person who prompts the agent.” At its core, it is an orchestration pattern that combines scheduled execution, isolated workspaces, verifier agents, and persistent memory to transform a coding agent into an autonomous software worker. For two years, working with a coding agent meant typing one prompt after another, with the human as both scheduler and quality gate.

At its core, loop engineering is an orchestration pattern that combines scheduled execution, isolated workspaces, verifier agents, and persistent memory to transform a coding agent into an autonomous software worker.

A loop inverts that arrangement, and the closest parallel is moving from operating a lathe to designing the production line the lathe sits on. The loop discovers work on a schedule, verifies the result with a second agent, and writes its state to a file so that tomorrow’s run resumes where today’s left off. It sits one level above Osmani’s earlier harness engineering pattern.

The same building blocks in both products

Loop engineering has moved from an informal pattern to a named practice because the building blocks now ship inside the products rather than in custom scripts.

Osmani maps six primitives to both Claude Code and Codex, and the mappings are almost identical:

PrimitiveJob in the loopCodexClaude Code
AutomationsScheduled discovery and triageAutomations tab with a triage inboxScheduled tasks, /loop, hooks, GitHub Actions
WorktreesIsolate parallel agentsBuilt-in worktree per threadgit worktree, worktree isolation for subagents
SkillsCodify project knowledgeSKILL.md agent skillsSKILL.md agent skills
ConnectorsReach external toolsMCP connectors and pluginsMCP servers and plugins
Sub-agentsSeparate the maker from the checkerSubagents defined in .codex/agents/Subagents in .claude/agents/, agent teams
MemoryPersist state between runsAGENTS.md, the Memories feature, or Linear via a connectorCLAUDE.md, auto memory, or Linear via MCP

Both products expose a /goal command that keeps an agent working until a verifiable stopping condition holds, with Claude Code using a separate model to grade the result. With Automations, OpenAI is enabling Codex users to run scheduled discovery as a first-class surface. Anthropic launched routines for Claude Code in April, and the dynamic workflows

The New Stack tested dynamic workflows by letting Claude write its own orchestration scripts and run parallel subagents. With these primitives, developers can convert recurring maintenance into scheduled autonomous workflows, and teams can run agents in parallel through isolated worktrees without corrupting the main branch. The viral moment came when the people who built the tools pointed out that the assembly was complete.

The verifier is the part that earns trust

The most consequential design choice in a loop is splitting the agent that writes the code from the agent that checks it. A model grading its own output is too generous, so a second agent with different instructions catches the failures the first reasoned itself into, a separation Anthropic described in its harness work for long-running agents.

In Osmani’s example, a morning automation triages the previous day’s CI failures and sends one sub-agent to draft each fix in an isolated worktree while a second reviews it against the project’s tests. Ramp’s Inspect built this shape as bespoke infrastructure six months ago, and its arrival as a first-party feature in both ecosystems shows that closed-loop operation is becoming the default.

Cost, correctness and comprehension debt

Developers went from prompt engineering to context engineering to harness engineering to loop engineering in fewer than 18 months, and the scheduling layer of a 2026 loop is a traditional scheduler such as cron. The decision logic in the middle separates the two: a cron job runs a fixed script, while a loop runs a model that reads the current state and chooses its next action.

Osmani is more cautious than the discussion he triggered, warning that token costs vary wildly and that a loop running unattended is also a loop making mistakes unattended. His sharpest warning concerns comprehension debt, the gap that widens when a system ships code you never read. Two engineers can run an identical loop and get opposite outcomes, one moving faster on work they understand, the other avoiding understanding altogether.

The road ahead

Developers can start with a single scheduled triage automation and a verifier sub-agent, capturing most of the value at a fraction of the token spend. Cursor, Google’s Antigravity, and GitHub’s new Copilot app all orchestrate agents, and none has yet named a loop as its unit of work.

The key difference among these platforms lies in the shift from the model to the loop around it, since scheduling, verification, and memory now determine what ships. Loop engineering is all set to become the orchestration layer for AI-assisted software development, and the vendor that makes loop definitions portable will take pole position.

TRENDING STORIES
Janakiram MSV (Jani) is a practicing architect, research analyst, and advisor to Silicon Valley startups. He focuses on the convergence of modern infrastructure powered by cloud-native technology and machine intelligence driven by generative AI. Before becoming an entrepreneur, he spent...
Read more from Janakiram MSV
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Anthropic, OpenAI.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.