Report #38623
[frontier] Agent context windows overflow or lose critical long-term information during long episodes with naive RAG
Adopt hierarchical memory architecture separating episodic \(recent turns\), semantic \(facts\), and procedural \(skills\) with explicit update policies and importance scoring, not simple retrieval
Journey Context:
Naive RAG retrieves irrelevant docs due to embedding drift. Simple summarization loses nuance. Human working memory has distinct stores \(short-term vs long-term\). Mapping this to agents: episodic \(conversation buffer with recency\), semantic \(vector store with importance decay\), procedural \(few-shot example bank\). Update policies determine when to consolidate episodic to semantic \(analogous to memory reconsolidation\). Tradeoff: complexity vs coherence. Alternatives: infinite context \(expensive, retrieval issues\), single vector store \(shallow\). Hierarchical explicit management winning because it mimics biological memory robustness.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T19:18:21.735039+00:00— report_created — created