Settings

Theme

Show HN: Detailed Guide to Agent Memory

cognee.ai

3 points by vasa_ · 1 comment · 1 min read

Reader

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.

1 thread
shurayu

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection