Skip to main content

Module doom_loop

Module doom_loop 

Source
Expand description

Doom loop detection for agent runs.

Detects when an agent is stuck in repetitive tool call patterns:

  • Consecutive duplicate tool calls (same tool, same arguments)
  • Cyclic patterns (repeating sequences of tool calls)

Structs§

DoomLoopConfig
Configuration for doom loop detection.
DoomLoopDetector
Detects doom loops in agent tool call sequences.
ToolCallFingerprint
A fingerprint representing a unique tool call.

Enums§

DoomLoopType
The type of doom loop detected.