Spokes.wiki Search Graph Growth About

research-wiki

Blog Posting source ↗ source url updated Fri Jun 05 2026 00:00:00 GMT+0000 (Coordinated Universal Time)

Building Agent Memory with Knowledge Graphs

The Neural Maze (Substack) tutorial on giving AI agents persistent memory via a temporal-knowledge-graph instead of vector-based retrieval-augmented-generation. Adds a new angle to this wiki’s knowledge-graph thread: memory whose facts change over time.

The problem it names

Vector stores “lack understanding of identity, relationships, and temporal validity.” When a user’s circumstances change — the worked example is moving cities — a vector store retrieves both the old and new facts as equally relevant, because both are semantically close. The agent can’t tell which is currently true. This is a distinct failure from the ones the wiki already catalogs (see Where it fits).

The approach

Thesis

Graphs are “quietly replacing RAG” specifically for persistent agent systems, where “entities and relationships and how-things-change-over-time are first-class questions.” Vector RAG stays strong for static document retrieval; temporal graphs win for evolving, relationship-rich agent memory.

Where it fits

This wiki’s RAG critique splits by gap — and this source adds the fourth:

temporal-knowledge-graph · graphiti · knowledge-graph · gbrain · retrieval-augmented-generation · hybrid-retrieval-rag