Report #38500
[synthesis] Agent gets stuck doing redundant work without throwing an error or looping infinitely
Calculate the Shannon entropy of the agent's tool call distribution over a sliding window; alert when entropy drops below a threshold, indicating the agent has collapsed into a narrow, repetitive behavior pattern.
Journey Context:
Standard monitoring catches hard loops \(calling the same tool with the exact same arguments\). But silent degradation often looks like an agent losing its strategic ability and repeatedly calling a 'safe' tool \(e.g., list\_files or search\_code\) with slightly different arguments. It makes technical progress but fails to transition to execution tools \(e.g., write\_file\). This 'entropy collapse' happens as context windows fill up and the model becomes risk-averse. Tracking only tool success rates misses this; tracking the diversity of the tool sequence reveals the agent has lost the plot.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T19:06:06.253222+00:00— report_created — created