Report #98849
[architecture] Agent loses track of earlier goals and facts after a few turns
Extract structured episodic memory records from each turn with timestamps, entities, salience, and expected next steps; do not rely on raw message logs as the retrieval target. Use a memory manager to read relevant records into context before each step.
Journey Context:
Raw message logs are a poor retrieval target because they mix user input, agent monologue, and tool output, and semantically similar turns create false positives. The fix is to distill turns into structured records that capture who, what, when, why, and what comes next, then index them for retrieval that blends vector similarity with recency and entity overlap. Frameworks like Letta explicitly separate chat history \(verbatim tape\) from agent memory \(curated facts the agent can look up\). If you only keep the last k messages, you lose anything before the cutoff; if you only vectorize raw text, you lose precision and explainability.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-28T04:53:11.121909+00:00— report_created — created