“You shouldn’t be prompting coding agents anymore. You should be designing loops that prompt your agents.” That is Peter Steinberger’s advice, and two developers writing in June both took it seriously.
Boris Cherny, head of Claude Code at Anthropic, put it more personally: “I don’t prompt Claude anymore. I have loops running that prompt Claude and figuring out what to do. My job is to write loops.”
Here’s what it means in plain terms. A prompt is one question and one answer, and you stay in charge of every step. A loop is a goal. Think of it like the difference between answering a coworker’s questions all afternoon and handing them the job, then checking back when it’s done.
Addy Osmani, who wrote about this on his blog on June 7, describes a loop as a recursive goal: you define a purpose and the AI keeps iterating until the work is complete. He is cautious about it. It is still early, he wrote, he is skeptical, and token costs need careful watching.
What goes into a loop
Osmani lists five parts plus a place to keep notes. Automations run on a schedule and handle discovery and triage. Worktrees give each agent its own working copy of a project so two of them do not overwrite the same file. Skills record project knowledge the agent would otherwise guess at. Plugins and connectors tie the agent into tools a team already uses. Sub-agents split the work so that one writes and another checks. The sixth piece is memory, such as a markdown file or a Linear board, because the model forgets everything between runs.
The checker matters most, in his telling. A model grading its own code is “way too nice,” as he puts it, while a second agent with different instructions catches what the first talked itself into. Claude Code’s /goal command works this way: after each turn a separate small model decides whether the stated condition, such as passing tests and clean lint, is actually true.
Old idea, new participant
Alfredo Navas, writing on June 11, says the shift is that people used to ask AI for answers and now ask it for outcomes. He notes that developers have run loops for decades. He quotes a joke from someone who had kept one in production for almost thirty years, a cron job that restarted Tomcat every night so he would not get a call at three in the morning. What is new, Navas writes, is that AI can now make some of the decisions inside the cycle. His example is a website that loads in four seconds and needs to load in two: the system measures, applies fixes and tests again until it gets closer.
Both writers add warnings. Osmani says verification is still on the human, because a loop running unattended also makes mistakes unattended. Navas guesses that most business value in the next few years will come from tightly bounded loops, which are easier to control and cost less to run.
Prompts are not going away, Navas says. They become one component inside larger systems.





