Report #49821
[frontier] Agent retrieves irrelevant context from vector similarity search, causing hallucinations in long-horizon tasks
Replace vector RAG with schema-first structured memory \(graph or relational\) where agents write to typed slots \(entities, relations, episodes\) and query via graph traversal or SQL, not cosine similarity
Journey Context:
Teams start with naive chunking\+embedding RAG but hit the 'context collision' problem where semantically similar but functionally distinct information confuses the agent \(e.g., 'user wants to delete account' vs 'user wants to delete file'\). The fix is moving from retrieval-based to structured memory architectures like mem0/Letta, where memory is written with explicit schemas \(episodic vs semantic\) and queried via structured queries, not vector search. This trades flexibility for precision and enables agent self-reflection on memory.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T14:06:26.824002+00:00— report_created — created