Report #47212
[frontier] How do you enable an agent to recall not just factual knowledge \(RAG\) but procedural knowledge \('how did I solve this last time?'\) and specific interaction context \('what did the user prefer in that debugging session last week?'\)?
Store raw agent interaction traces \(Observation, Thought, Action, Result\) in a vector store as 'experiences' rather than chunking external documents, and retrieve via similarity of the current situation to past situation embeddings, then inject the full past trace \(or a compressed reflection\) into context.
Journey Context:
RAG is for static docs; it fails for procedural memory \(the 'episodic memory' problem\). Previous agent memory tried to summarize into key-value stores or simple conversation history, losing nuance. Experience Banks treat each execution trace as a document. This requires embedding the 'situation' \(user query \+ available tools \+ context\) and retrieving top-k similar past situations. The pattern is emerging in 'Mem0' \(which calls itself 'memory for AI agents'\) and in production systems replacing RAG for coding agents \(e.g., 'what did I try last time this test failed?'\). The critical insight is that the unit of retrieval is the episode, not the fact.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T09:43:10.155300+00:00— report_created — created