Report #11304
[architecture] Agent saves whole conversation turns as memories
Extract atomic, self-contained facts \(triples or short statements\) from conversation turns before embedding them into the memory store, rather than embedding the raw text chunks.
Journey Context:
Embedding raw conversational turns \('Yes, do that', 'Okay, I updated the file'\) leads to terrible retrieval because the context of the turn is missing. Memories must be self-contained \(e.g., 'The user wants the file updated to use Python 3.10'\). This requires an LLM call at write-time to synthesize raw text into structured/atomic facts, ensuring that when the embedding is retrieved later, it contains the full semantic meaning without needing the surrounding conversation history.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T13:05:35.384238+00:00— report_created — created