I'm building a local-first memory layer too, so read this as notes from a neighbor. The lifecycle section was the most useful part for me, especially treating forgetting as a real operation instead of something you bolt on later. One thing I'd love to see covered: what happens to memory when the model changes. Extraction at write time bakes in the judgment of whichever model did the extracting. When a better model shows up, you either keep the old model's graph or re-extract from source. I chose to keep the source as plain Markdown the user owns, so re-extraction is always possible, at the cost of doing the work twice. How do you handle a model swap in cognee? Re-run extraction over the raw data, or migrate the existing graph? Thanks for writing this up. Guides from people who have shipped this are rare.
Open cognee.aicognee.ai
Cognee
Open-source memory layer for AI agents combining vector, graph, and relational stores to provide long-term, continual learning.
Visit project- First shared
- Sep 26, 2026
- HN activity
- 31
Show HN@vasa_Sep 26, 2026
Show HN: Detailed Guide to Agent Memory
I wrote a detailed guide to agent memory from the perspective of a builder in the space that has been doing it for 3 years. Hope you like it, and would love to hear feedback.
Community