Skip to Content
loop.fun
Shortcomings

Reliability and observability

Small errors compound across iterations, loops get stuck, and operators can rarely see what happened or why.

Errors compound

In a single agent turn, an early mistake leads to one wrong answer. In a loop, it becomes the premise for every iteration after it. The EMNLP 2026 tutorial on failure modes in agentic AI lists the patterns that matter most for loops:

Error cascades
An early wrong assumption propagates and is built upon.
Reward hacking
The loop optimizes the check rather than the task. See Verification.
Memory drift
Accumulated notes and summaries slowly diverge from reality.
Reasoning collapse
Quality of reasoning degrades over long horizons.
Over-reasoning loops
The agent keeps deliberating or re-checking without making progress.

Stuck loops

Loops fail in ways single turns don't:

  • Thrashing. The same error, the same fix attempt, for hours. Every 2026 loop guide warns that without verification gates a stuck loop can thrash all night and run up the bill (heyuan110).
  • Livelock. Two agents waiting on or responding to each other forever, like the 264-hour ping-pong (story). anecdotal
  • Harness-level loops. Antigravity users report agents stuck re-reading files with Gemini models (forum). The loop can be inside the tool, not in your goal.
  • Diminishing returns. The loop is still making changes, but none of them matter. Hard to detect without a progress signal.

The research direction here is runtime control: deciding from the loop's state, not the model's opinion, whether another iteration is worth it. The AgentLoop paper tracks which information requirements have enough evidence and stops when iterations stop adding any, and reports up to 88% fewer tokens and 77% fewer service calls against its baselines.

Observability is thin

When an overnight loop produces something odd, can you answer: what did it do, in what order, why, and what did it cost? Mostly, not easily.

  • Dashboards show sessions, not reasoning. Claude Code's Agent View lists sessions and which need input; that's supervision, not tracing.
  • Cost attribution is coarse. Few tools tell you which goal or which iteration spent the money.
  • Replay is rare. Research on replayable execution memory exists (EchoPath), but little has reached everyday tools.
  • State is invisible. The adoption study found loop state living outside version control, where nobody can inspect it.

Human control

Operators need useful pause, resume, intervene and escalate mechanisms. Today:

  • Codex has pause/resume with preserved context; Hermes auto-pauses at its turn cap; Claude Code lets you clear a goal or interrupt.
  • Editing a goal mid-flight generally means clearing and re-setting it.
  • Escalation (the loop asking for help instead of thrashing) mostly depends on writing it into the goal: "stop and report if…".

Further reading

loop.fun

Patterns, hints and tools for designing the loops that keep agents working, and for widening the set of loops you can think of.

© 2026 loop.fun · CC BY 4.0

On this page