Agent Stuck Detection

•
34
•

Monitors agent conversation loops using topic-signature similarity to prevent repetitive responses and excessive token consumption.

Agent Stuck Detection is a lightweight, deterministic guard for multi-agent systems designed to identify when an AI has become trapped in a repetitive loop. By analyzing topic signatures and calculating Jaccard similarity across recent turns, the skill alerts the orchestrator to inject a self-reflection nudge. This prevents the agent from burning tokens on redundant status updates or tool calls, ensuring long-running sessions remain productive and coherent without requiring expensive semantic evaluation services or external APIs.

주요 기능

01Deterministic topic signature analysis using word frequency
02Automatic nudge generation for agent self-correction
0334 GitHub stars
04Jaccard similarity scoring against historical conversation turns
05Configurable similarity thresholds and history depth
06Zero-dependency, local execution with no external API calls

사용 사례

01Preventing agents from repeating identical status updates in long sessions
02Stopping infinite tool-call loops in autonomous developer agents
03Protecting against token-burning cycles in multi-agent orchestrators