Skip to content

Agent loop engineering

All topics · Alphabetical index

Concepts

  • Observe-decide-act loop; action-result feedback; next-action selection
  • Explicit task state; objectives; completion criteria
  • Stop conditions; maximum steps; token budgets; time budgets; cost budgets
  • Progress detection; repeated-action detection; stuck-loop detection
  • No-progress termination; partial completion; handoff
  • Replanning; recoverable failure; terminal failure
  • Retry policy; recovery policy; tool failure recovery
  • Checkpointing; resumability; durable state
  • Interruptibility; user steering; cancellation propagation
  • Context compaction; objective preservation; verified completion

Further reading

Reference links for this topic.

“Loop engineering” is an emerging umbrella term; the execution mechanisms listed here are the concrete study topics.