Agent memory worked better as a statement graph than as a bigger context window
chrislally · reddit · 2026-07-26
The author found that agent memory kept failing when they tried to make it work by stuffing more context into the window or searching harder over history.
They switched to a statement graph model with typed entities, relationships, and statements about statements, so each fact can carry provenance, validity windows, and supersession history. The post lays out several lessons:
- framework memory assumptions break under real-world identity conflicts and temporal validity
- names should be treated as labels, not IDs
- temporal history should be appended, not overwritten
- conflicting claims should remain visible until a policy or human resolves them
- resolution depends on trust rules, so the believed result should be recorded too
The remaining open problem is context assembly: how to pick the right bounded slice of the graph during execution.
Related event: Andrew Ng Advocates Graph-Based Memory for AI Agents(2 posts)→
More from coding & agent
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11
- Investment Analyst Asks How to Build a Claude-Based Diligence Agent Stack — Careless_Tie2286 · 2026-09-11
- Treating agents like 50 First Dates: a 3-layer context system so every conversation doesn't start from zero — evielync · 2026-09-11
- Running the Firefox MCP on Android via Termux, ngrok, and mcp-proxy — Nervous-Strain7544 · 2026-09-11