detect_loop
Identify if an agent is stuck in a reasoning loop by analyzing its current context, goal, and chosen detection method (statistical, pattern, or hybrid) to enable intelligent recovery and progress.
Instructions
Detect if the agent is stuck in a loop using various strategies
Input Schema
Name | Required | Description | Default |
---|---|---|---|
current_context | No | Current environment context or state, in low dash format. Example: sending_email | |
detection_method | No | Loop detection method to use: statistical, pattern or hybrid. | hybrid |
goal | Yes | Current goal being pursued |