AIToday
ITmedia AI+Published: Jul 3, 2026, 06:00 JST2 min read

Software engineering shifts to "loop" design as AI coding agents reshape development

Software engineering shifts to "loop" design as AI coding agents reshape development

Key takeaway

  • Software engineering is undergoing a structural shift as AI coding agents become more capable.

  • Rather than writing code themselves, engineers are increasingly designing "loops"—outer frameworks where humans set tasks and review results, with inner loops where AI agents execute the work.

  • This transformation parallels broader changes in how people collaborate with AI, though its practical limits and security implications are still being tested by early adopters.

3 Key Points

  1. What happened

    Armin Ronacher, creator of the Flask web framework, has written about "The Coming Loop," distinguishing between an inner loop (where AI agents execute tasks) and an outer loop or harness (where humans oversee the process). This framework reflects a fundamental shift in how software engineers structure work with AI coding assistants.

  2. Why it matters

    As AI coding agents become more capable, engineers are rethinking their role. Rather than writing code directly, they increasingly manage loops—defining tasks, reviewing outputs, and deciding when the AI has completed its work. This mirrors how the relationship between humans and machines is evolving across industries, potentially making loop engineering a core skill rather than traditional code writing.

  3. What to watch

    The article highlights concrete practices emerging now: engineers are using Markdown files (PLAN.md, TODO.md) to communicate task lists to AI agents, and tools like Linear are being adapted to track loop-based workflows. Early adopters are experimenting with whether this approach can scale, though questions remain about security, cost, and whether AI systems can be trusted to operate reliably within defined boundaries.

Ask the AI about this article →

FAQ

What is the difference between the inner loop and outer loop that Ronacher describes?
The inner loop is where an AI agent executes work—using tools, reading files, testing code, and learning from results before stopping. The outer loop (harness) is the human-controlled framework where engineers define the task, set safeguards, and monitor whether the AI has achieved the goal.
How are engineers currently implementing this loop-based approach in practice?
Early adopters are organizing tasks in Markdown files (PLAN.md, TODO.md) that AI agents can read and execute, and using project management tools like Linear to track tasks designed for loop-based workflows. Some teams are also experimenting with checklist-style tracking to communicate loop boundaries to AI systems.

Get AI news like this every morning

For example, today's edition would include:

  • CrowdStrike unveils SafeMind, autonomous red teamingSiliconANGLE AI · 1h ago
  • ASE CEO: AI resource squeeze is short-termDIGITIMES Asia · 1h ago
  • Google signs largest enhanced geothermal deal with FervoYahoo Finance AI · 1h ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Next articleNVIDIA scores Blackwell server order, Palantir partnership