09 / FAQ
Questions that define the boundary.
Use these tests to decide whether a recurring agent system needs a loop.
What is loop engineering?
Loop Engineering is the practice of designing recurring AI-agent and coding-agent systems that discover work, delegate it, verify results, persist state outside the model, decide what happens next, and run again.
How is it different from prompt, context, and harness engineering?
Prompt, context, and harness engineering improve one agent run. Loop Engineering governs how agent work repeats, verifies, persists state, and escalates over time.
When should you use an agent loop?
Use a loop when work recurs, external evidence can verify progress, useful state should persist, actions and budgets can be bounded, and a human owner can handle exceptions. Prefer one supervised run when the task is one-off, completion is mainly subjective, or no safe permission boundary can be stated.
What belongs in a loop contract?
A Loop Contract is a reviewable operating specification for one recurring agent job. It fixes the objective, trigger, intake, workspace and permissions, context, roles, external verification, durable state, budget, escalation path, and success or blocked exit so repeated runs do not depend on hidden defaults.
Does every loop need to reach the highest maturity level?
No. Choose the lowest level that meets the job's continuity, evidence, and blast-radius requirements. Many useful workflows should stop at Level 2 or 3. Persist state before increasing autonomy, add external verification before more agents, and reserve production supervision for workflows with production impact.
Which runtimes can run agent loops?
The same loop can run as a Claude Code loop or scheduled task, a Codex automation, a GitHub agentic workflow, a shell or cron wrapper, or a durable-execution runtime.