An AI memory system with biological decay, using the Ebbinghaus forgetting curve and a graph layer over a vector store.
Raw Developer Origin & Technical Request
Hacker News
Apr 27, 2026
Most RAG setups fail because they treat memory like a static filing cabinet. When every transient bug fix or abandoned rule is stored forever, the context window eventually chokes on noise, spiking token costs and degrading the agent's reasoning.This implementation experiments with a biological approach by using the Ebbinghaus forgetting curve to manage context as a living substrate. Memories are assigned a "strength" score where each recall reinforces the data and flattens its decay curve (spaced repetition), while unused data eventually hits a threshold and is pruned.To solve the "logical neighbor" problem where semantic search misses relevant but non-similar nodes, a graph layer is layered over the vector store. Benchmarked against the LoCoMo dataset, this reached 52% Recall@5, nearly double the accuracy of stateless vector stores, while cutting token waste by roughly 84%.Built as a local first MCP server using DuckDB, the hypothesis is that for agents handling long-running projects, "what to forget" is just as critical as "what to remember." I'd be interested to hear if others are exploring non-linear decay or similar biological constraints for context management.GitHub: github.com/sachitrafa/cognit...
Developer Debate & Comments
Frequently Asked Questions
Market intelligence mapped to An AI memory system with biological decay, using the Ebbinghaus forgetting curve and a graph layer over a vector store..
What is the technical positioning of An AI memory system with biological decay, using the Ebbinghaus forgetting curve and a graph layer over a vector store.?
How is the developer community reacting to An AI memory system with biological decay, using the Ebbinghaus forgetting curve and a graph layer over a vector store.?
Which technical concepts are associated with An AI memory system with biological decay, using the Ebbinghaus forgetting curve and a graph layer over a vector store.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like memory and context window by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics