AIToday
ITmedia AI+Published: Jul 3, 2026, 06:00 JST

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

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

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.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

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.

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Next articleFive AI stocks to watch in July as market reassesses holdings