Loop Engineering for Agentic Software Systems: <scp>LEAF</scp> Architecture, Pattern Taxonomy, Use Cases, Evaluation, Challenges and Future Directions

ABSTRACT AI coding agents are shifting software development from isolated prompt–response interaction towards iterative, tool‐mediated, stateful, and feedback‐driven workflows. This emerging practice, increasingly described as loop engineering , moves the unit of design from the individual prompt to the recurring agentic process that plans, acts, observes, verifies, remembers, and continues under defined governance conditions. Although related work on coding agents, context engineering, tool use, human‐agent interaction, and agent harness engineering has examined important parts of this transition, the loop itself remains underdeveloped as a first‐class software‐engineering design object. This article conceptualises loop engineering as a systems‐level paradigm for agentic software systems. It distinguishes loop engineering from prompt engineering, context engineering, harness engineering, workflow automation, DevOps automation, and general agentic AI. It then proposes LEAF , a Loop Engineering Architecture Framework organised around control, execution, and assurance planes. LEAF models loop‐engineered systems in terms of bounded goals, triggers, context construction, agent planning, tool‐mediated action, observation, verification, memory, governance, escalation, and auditability. The article further develops a taxonomy of loop patterns, including retry, plan–execute–verify, explore–narrow, test‐driven, compiler‐driven, review‐driven, runtime‐debugging, human‐in‐the‐loop, maker–checker, and continuous‐maintenance loops. Possible applications are discussed across debugging, test repair, dependency migration, CI triage, pull‐request review, documentation maintenance, security scanning, DevOps monitoring, educational programming support, and research automation.

Link
https://doi.org/10.1111/exsy.70442
Found by
Crossref
Authors
Partha Pratim Ray
Organizations
Department of Computer Applications Sikkim University Gangtok Sikkim India
Categories
evaluation, agentic
Published
2026-10-07
Last seen by the radar
2026-10-09
Citations
0
Radar score
35.50 / 100 (how it is scored)
Why it scored so
Matched: agentic~evaluation, evaluat; Primary record: Crossref
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Crossref