Report #75340
[architecture] Agent memory is either all raw conversation logs or only extracted facts, missing the use case the other serves
Maintain two complementary memory stores: episodic \(raw interaction sequences, searchable by situation\) and semantic \(extracted, deduplicated facts, searchable by entity/concept\). At retrieval time, query both and merge results. Periodically consolidate episodic memories into semantic ones via reflection.
Journey Context:
Raw logs are great for 'how did I solve this class of bug before' but terrible for 'what is the API endpoint for auth.' Extracted facts are great for precise lookups but lose the problem-solving narrative. Most agent frameworks pick one. The right architecture mirrors the cognitive science dual-store model: episodic memory \(specific experiences with temporal context\) and semantic memory \(generalized, decontextualized knowledge\). MemGPT implements this as recall memory \(conversation history\) vs archival memory \(extracted facts\). The critical insight: episodic memories should not live forever—they should be periodically reflected upon and consolidated into semantic memories, then archived. Without this, you either lose procedural knowledge \(semantic-only\) or drown in verbose history \(episodic-only\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T09:03:31.996847+00:00— report_created — created