Report #91273
[agent\_craft] Agent gets stuck in infinite tool loops gathering unnecessary data
Add a mandatory 'satisficing checkpoint' step in the system prompt: After every tool call, the agent must output a XML block containing: \(1\) the original goal, \(2\) current result summary, \(3\) boolean 'satisfied' \(true if goal met\), \(4\) reasoning. If satisfied==true, agent must stop and return result immediately.
Journey Context:
ReAct-based agents often suffer from 'maximizing' behavior: they keep calling tools to 'verify' or 'optimize' even after achieving the goal, like checking weather forecasts for 5 more cities when the user asked for 'the weather in Paris.' This wastes tokens and time. The concept of 'satisficing' \(Herbert Simon\) means accepting 'good enough' solutions. Hardcoding a checkpoint forces the agent to explicitly evaluate goal completion. Without this structured check, natural language reasoning often drifts into 'let me also check...' patterns.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T11:47:37.329842+00:00— report_created — created