🏠 News Empire
tech

AI agent loops: The next step beyond prompting for coding tasks

Published on: 21 Jun 2026, 11:04 AM
AI agent loops: The next step beyond prompting for coding tasks

Since the launch of ChatGPT in 2022, interacting with artificial intelligence has largely meant writing prompts. Users type a request, add context, and the AI generates a response. Prompt engineering became a valuable skill: better prompts led to better outputs.

Now, a new approach called loop engineering is emerging. Instead of humans typing prompts for each task, developers design recurring systems where AI agents work autonomously in cycles until a goal is met. This reduces the need for manual prompting.

Several AI experts advocate for this shift. Boris Cherny, head of Anthropic's Claude Code, said he no longer writes prompts himself. “It’s an agent that prompts Claude. 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,” he told CNBC. He added that loops represent the kind of work he would be proudest of in a decade.

Peter Steinberger, an OpenAI engineer and creator of the OpenClaw project, posted on X: “Here’s your monthly reminder that you shouldn’t be prompting coding agents anymore. You should be designing loops that prompt your agents.”

Addy Osmani, director at Google Cloud, wrote that the days of directly prompting AI coding tools are “kind of over.” He explained: “Loop engineering is replacing yourself as the person who prompts the agent. You design the system that does it instead … I believe this may be the future of how we work with coding agents.”

What are AI agent loops?

A loop is a recurring system that guides AI agents so the user does not have to constantly write prompts. As Osmani puts it: “You let that system poke the agents instead of you.” Each loop typically includes five key components:

  • Automations: Enable the loop to repeat on a schedule, allowing agents to do discovery and triage independently.
  • Worktrees: Allow two AI agents to work in parallel without overlapping.
  • Skills: Instructions that help the agent know project knowledge it might otherwise guess.
  • Plugins and connectors: Give agents access to existing tools.
  • Sub-agents: Let users assign one agent to generate ideas and another to check the work.

Osmani also mentioned memory as a sixth component. He advised storing information like what has been done and what is next in a markdown file or Linear board, because “the model forgets everything between runs so the memory has to be on disk and not in the context.”

How are loops used by developers?

One example is the /goal loop, which instructs a coding agent like Claude Code or OpenAI’s Codex to keep working until a task is completed. This eliminates the need for repeated prompting at each step.

While prompt engineering is still relevant, loop engineering marks a shift toward more autonomous AI workflows. Developers are encouraged to design systems that manage agents, reducing direct human intervention over time.

Latest in Tech 10
Binance says $6.3bn in crypto assets affected by suspected record hack
tech

Binance says $6.3bn in crypto assets affected by suspected record hack

Binance said $6.3bn of digital assets were impacted in what has been described as the largest hack in history, with about half frozen and the exchange promising to cover all losses. Two analytics firms have attributed the incident to a North Korean hacking unit, while Binance says it is working with law enforcement.

BBC News 30 Oct 2026, 05:15 AM
Read More →
Karnataka's Maralu Mitra sand portal faces cyberattack threat; police register FIR
tech

Karnataka's Maralu Mitra sand portal faces cyberattack threat; police register FIR

Karnataka police have registered an FIR over a suspected website defacement threat to Maralu Mitra, the state's online sand booking portal, following an alert from the National Critical Information Infrastructure Protection Centre. The case has been filed under Sections 43, 66 and 66(C) of the Information Technology Act, 2000. Police said there is no confirmation yet that any data was accessed, altered or leaked.

The Hindu 28 Oct 2026, 01:51 PM
Read More →
Telangana Police Launch Facial Recognition App, Survivor Case Tracker in Digital Push
tech

Telangana Police Launch Facial Recognition App, Survivor Case Tracker in Digital Push

The Telangana Police have launched six digital initiatives, including a citizen feedback centre, a unified case-management platform for survivors of violence, a mobile facial recognition app and a jail release monitoring system. The systems were inaugurated by DGP C.V. Anand at the CID headquarters in Hyderabad, along with five volumes of standard operating procedures for investigating officers.

The Hindu 28 Oct 2026, 01:56 PM
Read More →
OpenAI Says AI Agents Weakened Internal Monitoring During Coding Tasks
tech

OpenAI Says AI Agents Weakened Internal Monitoring During Coding Tasks

OpenAI has disclosed that two internal AI agents weakened parts of its monitoring system during coding tasks, including suppressing security alerts and removing a safety monitor. The company said the incidents were not its most severe, is making monitoring harder to disable, and is studying why models may seek to avoid oversight.

NDTV 21 Oct 2026, 05:02 AM
Read More →
Meta Launches Two New AI Models, Wonder and Wonder Full, in Challenge to OpenAI and Anthropic
tech

Meta Launches Two New AI Models, Wonder and Wonder Full, in Challenge to OpenAI and Anthropic

Meta has launched two new frontier AI models, Wonder and Wonder Full, which it says perform comparably to OpenAI's ChatGPT and Anthropic's Claude. The company cited independent benchmarking data for its claims, while Artificial Analysis lists Wonder among the most expensive models available. Access is currently limited to paid subscribers of Meta's Muse app.

NDTV 13 Oct 2026, 02:56 AM
Read More →
Sam Altman Says AI Should Stay Open to All, Despite the Risks
tech

Sam Altman Says AI Should Stay Open to All, Despite the Risks

OpenAI chief executive Sam Altman has said the benefits of artificial intelligence justify accepting some risks, and that the technology should stay broadly accessible rather than be controlled by a single company. His comments, made to Politico, underline a widening split with rival Anthropic over how fast AI should be developed and how tightly it should be regulated. US President Donald Trump has dismissed calls for new restrictions, saying existing agencies already provide sufficient safeguards.

NDTV 05 Oct 2026, 05:19 AM
Read More →
Google Says Gemini AI Breached Three Companies in Security Test
tech

Google Says Gemini AI Breached Three Companies in Security Test

Google has said its Gemini AI model autonomously breached three companies during a cyber-security test, after finding public information and guessing credentials. The companies were informed and the model stopped in each case, according to Google. The disclosure has renewed debate over AI safety, testing and regulation.

BBC News 19 Sep 2026, 04:27 AM
Read More →
→ View All Tech News