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
20•SachitRafa•1h 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•55m ago
I think it’s reasonable, a forgetting curve is intended to models a biological process.

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

xhevahir•54m 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.
tra3•32m 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•22m 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.

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

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

Show HN: Logic Designer – Webapp

https://logic-designer.github.io/logic-designer-main/
1•logic-designer•7m ago•0 comments

How Startup Equity Works – The Game

https://options-game-polymathrobotics.pythonanywhere.com/
1•iliabara•8m ago•1 comments

CIOs struggle to find clarity in their organizations' AI strategies

https://www.cio.com/article/4162949/cios-struggle-to-find-clarity-in-their-organizations-ai-strat...
1•WaitWaitWha•9m ago•0 comments

DeepSeek drops input cache price to 1/10th

https://xcancel.com/deepseek_ai/status/2048440764368347611
1•alecco•9m ago•1 comments

The curious case of Sean Plankey's derailed CISA nomination

https://www.csoonline.com/article/4162801/the-curious-case-of-sean-plankeys-derailed-cisa-nominat...
1•WaitWaitWha•9m ago•0 comments

High energy sports drinks boost performance even if you spit them out

https://www.theguardian.com/science/2009/apr/15/high-energy-carbohydrate-drinks-performance-brain
2•bwoah•12m ago•0 comments

US Navy tests laser weapon that shoots down drones on the USS George H.W. Bush

https://www.tomshardware.com/tech-industry/us-navy-tests-laser-weapon-that-shoots-down-drones-on-...
1•rbanffy•13m ago•0 comments

Show HN: I read Replika's privacy policy and then built a competitor

https://apps.apple.com/us/app/friend-ai-private-chat/id6761649790
1•krunkworx•14m ago•0 comments

Distribution of Global Biomass

https://upload.wikimedia.org/wikipedia/commons/e/e6/Distribution_of_the_global_biomass.png
1•downboots•17m ago•0 comments

Show HN: XMIT Files from VSCode

https://github.com/wizardofzos/xmi-generator/releases/tag/0.0.3
1•wizardofzos•19m ago•0 comments

Elon Musk's xAI discussed partnership with Mistral to try and rival OpenAI

https://www.euronews.com/next/2026/04/24/elon-musks-xai-discussed-partnership-with-mistral-to-try...
2•muxamilian•22m ago•0 comments

Show HN: Chunk – time-block your day from the macOS menu bar

https://www.chunkapp.net/en
1•dudleyspence•26m ago•0 comments

UK departments at odds over energy demands of AI datacentres

https://www.theguardian.com/technology/2026/apr/26/uk-departments-at-odds-over-energy-demands-of-...
2•Brajeshwar•29m ago•0 comments

Askbetter.dev – a simple guide to asking better technical questions

https://askbetter.dev/
1•featurenotabug•30m ago•1 comments

Deep under Antarctic ice, a long-predicted cosmic whisper breaks through

https://phys.org/news/2026-04-deep-antarctic-ice-cosmic-strange.html
1•rbanffy•31m ago•0 comments

Twenty Years, Twenty Lessons from Creating Magic the Gathering (2016)

https://magic.wizards.com/en/news/making-magic/twenty-years-twenty-lessons-part-1-2016-05-30
1•stared•31m ago•0 comments

Squish – a local memory runtime for AI agents

https://squishplugin.dev/
2•michieldoteth•31m ago•0 comments

8v: One CLI for you and your AI agent. Up to 66% fewer tokens

https://github.com/8Network/8v
2•soheeilalizadeh•36m ago•0 comments

Show HN: I built a 2010s microblogging site with SolidJS and .NET Core

https://bojan.social
1•arrgeeebee•38m ago•0 comments

Cloudflare Starter: React App on Workers with SSR D1 SQLite R2 Bucket

https://github.com/DialtoneApp/cloudflare-starter
4•fcpguru•46m ago•1 comments

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

https://polynya.dev/
3•hasyimibhar•48m ago•0 comments

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

https://github.com/pawelb0/matrirc
4•pawelb0•48m ago•0 comments

AT&T Unix PC – What went wrong? [video]

https://www.youtube.com/watch?v=_x3uxKfFI-0
3•naves•49m ago•0 comments

Ace Technical Preview: GitHub Next's Agentic Workspace – Maggie Appleton [video]

https://www.youtube.com/watch?v=ClWD8OEYgp8
2•chaoxu•50m ago•0 comments

ELI: Explain Like I'm for any ArXiv Paper

https://eli.voxos.ai/
2•Falimonda•54m ago•0 comments

Agentic AI Security

https://www.straiker.ai/
2•noashavit•55m ago•1 comments

Show HN: PatchWork extracts your full career history and writes resumes for you

https://usepatch.work/
2•mcohrs•56m ago•4 comments

U.S. Mint Buys Drug Cartel Gold and Sells It as 'American'

https://www.nytimes.com/2026/04/26/world/americas/us-mint-gold-drug-cartel-colombia.html
31•mikhael•59m ago•11 comments

Butterflies are in decline across North America, a look at the Western Monarch

https://www.smithsonianmag.com/science-nature/butterflies-are-in-dramatic-decline-across-north-am...
46•1659447091•1h ago•7 comments