Report #3144
[architecture] The agent cannot answer questions that connect facts from two different memories
Build a graph memory layer with entities, relations, and episodes; retrieve one anchor by vector, then traverse edges to assemble multi-hop answers.
Journey Context:
Vector retrieval is single-hop: it finds chunks similar to the query. Many coding questions require composition: 'Which service introduced the bug that broke the migration last sprint?' needs an entity, a relation, and a temporal event. GraphRAG showed that constructing a knowledge graph from source documents and traversing communities outperforms flat retrieval on such questions. For agent memory, store extracted entities and relations and let the agent walk the graph. The cost is higher indexing complexity and entity resolution. The alternative is to hope a large context window sees all relevant chunks, but lost-in-the-middle effects make that unreliable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T15:34:45.944729+00:00— report_created — created