firehose> #llmops

Agent Loop

A loop is a playbook with feedback built in: it turns a one-shot instruction into a repeatable process by giving the agent a way to learn from each result and take the next useful step. Where an open-ended "keep improving this" leaves too much room for guessing, a loop supplies a clear finish line and a consistent way to judge progress — so the agent can compare results instead of trusting its own confidence, keep improvements instead of merely making changes, and stop when it succeeds or stops making progress.

A good loop answers four questions: what is the agent trying to accomplish; how will it know whether the latest attempt worked (a real acceptance check); what should it do with what it learned; and when should it finish or hand back to a human. Critically, a loop is deliberately bounded — a real check, a clear stopping point, a finite run boundary supplied before acting, and a hand-back to a person at approval or judgment boundaries. This is the evaluator-optimizer pattern and the bounded agent loop of Workflows vs Agents, packaged as a first-class reusable design object rather than re-derived per task.

Claims


Linked from