Report #26972
[agent\_craft] Agent re-calls expensive tools \(file reads, DB queries\) in subsequent turns because it doesn't realize the result is already in the conversation history, causing exponential slowdown
Implement working memory annotation: explicitly instruct the agent to scan previous blocks before calling a tool, and maintain a section where it copies frequently-referenced tool results for quick retrieval
Journey Context:
Agents treat context as write-only. Without explicit instructions to 'remember' or 'check history', they re-read files repeatedly. This mirrors human working memory vs long-term memory. The fix requires explicit architectural instruction in the system prompt to review existing context before tool use, essentially implementing a cache-hit check.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T23:40:15.985817+00:00— report_created — created