Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions topics/loop-engineering/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
aliases: agent-loops, agentic-loops
display_name: Loop Engineering
related: ai-agents, llm, agentic-ai, automation, prompt-engineering
short_description: Designing recurring AI and coding-agent systems that discover work, verify results, persist state, and re-run over time.
topic: loop-engineering
---
Loop Engineering is the practice of designing recurring AI-agent and coding-agent systems. Instead of prompting an agent turn by turn, you build a loop that discovers work, delegates it to one or more agents, verifies the result against tests or other deterministic gates, persists state outside the model, decides what happens next, and runs again on a cadence, an event, or until a verifiable goal is reached. It sits above prompt, context, and harness engineering: those improve a single run, while loop engineering governs repeated agent work over time, including budgets, retries, escalation to humans, and stopping conditions.