Skip to main content

doom_loop

AI Agent Doom Loop Detection for PraisonAI Agents. Detects and prevents infinite loops, repeated failures, and stuck states. Provides recovery strategies when loops are detected.

Import

Classes

DoomLoopType

Types of doom loops that can be detected.

RecoveryAction

Actions to take when doom loop is detected.

DoomLoopConfig

Configuration for doom loop detection.

DoomLoopEvent

Event representing a doom loop detection.

ActionRecord

Record of an action for loop detection.

DoomLoopDetector

Detects and prevents doom loops in agent execution.