Report #6800
[architecture] Agent loops by retrying the same failed action repeatedly despite having memory
Write 'negative memories' \(episodes of failure\) explicitly to the memory store. Before executing a tool, query the memory store for past failures related to the current tool and arguments. If a high-similarity failure exists, skip the tool and try an alternative.
Journey Context:
Agents typically only store successful outcomes or just the raw conversation history. If they don't explicitly store 'Action X with params Y resulted in Error Z', they will blindly try it again. Just having the error in the chat history isn't enough if the context window rolls over or the agent uses RAG. Explicit negative memory breaks the loop.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T01:08:02.476211+00:00— report_created — created