frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: AI memory with biological decay (52% recall)

https://github.com/sachitrafa/YourMemory
32•SachitRafa•2h ago
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: https://github.com/sachitrafa/cognitive-ai-memory

Comments

larrydakhissi•1h ago
you just make Alzheimer a feature lol , but seriously this is very interesting
keeda•1h ago
Missed opportunity to call it AIzheimer? ;-)
altmanaltman•1h ago
I am sorry but the whole "biological memory" thing seems like marketing fluff on basic cache mechanisms.

You said it cuts token usage by 84% but isn't that typical for any typical chunked RAG system?

And why did you specifically chose to test against the LoMoCo dataset when there's a lot of issues with it and it being very easy to cheat?

jnovek•1h ago
I think it’s reasonable, a forgetting curve is intended to models a biological process.

https://en.wikipedia.org/wiki/Forgetting_curve

xhevahir•1h ago
And a neural network is really just a composed, non-linear parameterized function that maps input vectors to output vectors. Sometimes metaphors or analogies do contribute something valuable.
throawayonthe•32m ago
isn't that an example of an analogy being more misleading than useful
tra3•1h ago
I haven’t had much like with memory implementations. I tried a few.

What I do now is preserve all my claude code conversations and set the context from there.

This allows me to curate memory and it’s been the best way so far.

cyanydeez•1h ago
on the other "biological memory" post in so many weeks, I pointed out that the decay rate shouldn't be based on a real clock but a lifetime of it's use within the coding session. Elsewise your memory fades even when there's no process change (eg, coder goes on vacation). I'm not going to check whether thats true here, but it seems like a naive first assumption thats failed conceptualization.

The other comment is that spatial memory is probably a better trigger for memory, so if you're not tracking where the coding session starts, the folders it's visits, etc, then you're not really providing a good associative footpath for the assistant to retrieve whats important for any given project.

SwellJoe•40m ago
I know everybody seems to want the agent to remember every conversation they've ever had with it, but I just don't see the value in that. In fact, it seems to hurt productivity to have the agent second guessing me based on something I said yesterday. Every time I've used any memory system, the agent gets distracted from the current tasks based on previous conversations and branches of development...often comingling unrelated projects (I work on code for work, open source projects, a bunch of unrelated side projects, etc.) and trying to satisfy requirements that don't make sense.

I've stopped trying to achieve general "memory". I just ask the agent to thoroughly, but concisely, document each project. If it writes developer documentation and a development plan/roadmap, as though a person was going to have to get up to speed and start working on the project, it provides all the information the agent needs tomorrow or next week to pick up where we left off.

The agent is not my friend. I don't need it to remember my birthday or the nasty thing I said about React last week. I need it to document what anyone, agent or human, would need to know to get productive in a particular repo, with no previous knowledge of the project.

Good, concise, developer and user documentation and a plan with checklists solves every problem people seem to think "memory" will solve: It tells the agent what tech stack to use (we hashed it out in planning), it tells it what commands it needs to run and test the app, it covers the static analysis tools in use (which formalizes code style, etc. in a way a vague comment I made a month ago cannot), and it is cheap. Markdown files are the native tongue of agents. No MCP, no skills, no API needed. Just read the file. It works for any agent, any model, and any human just getting started with the project.

Basically, I think memory makes agents dumber and less useful. I want it to focus on the task at hand.

giancarlostoro•10m ago
I prefer ticketing systems for AI. I dont care that it forgets what I did last week, I just need it to be able to compact its own memory and grab the next task once done.
mrits•4m ago
I'm just thinking of youtube or amazon type algorithms applying here.

me: "Hi AI, can you debug this SQL Statement?"

ai: "Well,based on your passion for garden hoses and extensive research of refrigerators, I'm going to guess you really want to discuss that"

xcf_seetan•5m ago
It strikes me as funny how we want to get super AI inteligence but keep trying to anthropomorphizing all AI aspects to make it more "human". IMHO, if we keep doing it we will create Human AI with all errors and deficiencies humans have.

Show HN: AI memory with biological decay (52% recall)

https://github.com/sachitrafa/YourMemory
32•SachitRafa•2h ago•13 comments

Show HN: Free textbook on engineering thermodynamics

https://thermodynamicsbook.com/
89•2DcAf•7h ago•27 comments

Show HN: Startup Equity Adventure Game

https://options-game-polymathrobotics.pythonanywhere.com/
4•iliabara•50m ago•2 comments

Show HN: Tiao, A two-player turn-based board game

https://playtiao.com
9•trebeljahr•2h ago•0 comments

Show HN: Turning a Gaussian Splat into a videogame

https://blog.playcanvas.com/turning-a-gaussian-splat-into-a-videogame/
196•yak32•3d ago•47 comments

Show HN: Out Loud – open-source desktop TTS app for macOS/Windows/Linux

https://github.com/light-cloud-com/out-loud
2•julia-kafarska•45m ago•0 comments

Show HN: Auge Vision from Your Terminal

https://auge.franzai.com/
19•franze•3h ago•2 comments

Show HN: Polynya – Turn your Postgres into workspaces for AI

https://polynya.dev/
4•hasyimibhar•1h ago•0 comments

Show HN: Matrirc – run irssi in 2026, talk to people on Matrix

https://github.com/pawelb0/matrirc
5•pawelb0•1h ago•0 comments

Show HN: Mdlens – Reduce token spend and boost retrieval on Markdown-heavy repos

https://github.com/Dreeseaw/mdlens
3•dreeseaw•2h ago•0 comments

Show HN: AgentSwarms – free hands-on playground to learn agentic AI, no setup

https://agentswarms.fyi/
4•rohan044•2h ago•0 comments

Show HN: Stop Destroying Your Charging Cables

https://www.bbc.com/future/article/20260421-your-bad-habits-are-destroying-your-charging-cables
9•wasimsk•3h ago•0 comments

Show HN: A free ESG stock screener that publishes its losses and methodology

https://jumpstartsignal.com/
27•irldexter•13h ago•23 comments

Show HN: I remade my blog into a Windows 3.1 environment

https://passo.uno/
23•theletterf•12h ago•17 comments

Show HN: Time Pin – a Geo Guessr style game but history themed

https://www.crazygames.com/game/time-pin
7•AndreiCx•3h ago•0 comments

Show HN: <Hyper-frame> – an iframe element to embed any website

https://www.hyper-frame.art/
5•keepamovin•4h ago•2 comments

Show HN: WaveletLM – wavelet-based, attention-free model with O(n log n) scaling

https://github.com/ramongougis/WaveletLM
6•anarmorarm•5h ago•0 comments

Show HN: Parlor Jarvis – Realtime AI (audio+screen in, voice out) & multilingual

https://github.com/typomonster/parlor-jarvis
8•unusual_typo•5h ago•2 comments

Show HN: Kadō – habit tracker app for iOS, open source and privacy-friendly

https://github.com/scastiel/kado
6•scastiel•6h ago•0 comments

Show HN: Kloak, A secret manager that keeps K8s workload away from secrets

https://getkloak.io/
61•neo2006•1d ago•52 comments

Show HN: Browse GitHub repos in Emacs without cloning

https://github.com/agzam/remoto.el
22•iLemming•18h ago•10 comments

Show HN: Lambda ERP – Open-source ERP you can run through chat

https://github.com/lambdadevelopment/lambda-erp
5•jcfrei•7h ago•0 comments

Show HN: A Karpathy-style LLM wiki your agents maintain (Markdown and Git)

https://github.com/nex-crm/wuphf
251•najmuzzaman•1d ago•112 comments

Show HN: I've built a nice home server OS

https://lightwhale.asklandd.dk/
185•Zta77•2d ago•75 comments

Show HN: Browser Harness – Gives LLM freedom to complete any browser task

https://github.com/browser-use/browser-harness
127•gregpr07•2d ago•61 comments

Show HN: A bilingual guide to Thaayam, a Tamil board game

https://amal-david.github.io/thaayam-guide/
10•amaldavid•9h ago•0 comments

Show HN: Honker – Postgres NOTIFY/LISTEN Semantics for SQLite

https://github.com/russellromney/honker
308•russellthehippo•3d ago•80 comments

Show HN: Gova – The declarative GUI framework for Go

https://github.com/NV404/gova
140•aliezsid•2d ago•28 comments

Show HN: DDoS detection in 0.9s, tested against a 48 Gbps attack live

https://flowtriq.com/blog/lorikeet-security-case-study
15•jacob_masse•22h ago•3 comments

Show HN: Agent Vault – Open-source credential proxy and vault for agents

https://github.com/Infisical/agent-vault
154•dangtony98•4d ago•55 comments