Show HN: Claude-engram – Brain-inspired persistent memory, runs inside Claude.ai (github.com)

6 points by mlapeter ↗ HN
Claude.ai artifacts can call the Anthropic API and have persistent storage (5MB via window.storage). I used these two capabilities to build a memory system modeled on how human memory actually works — salience scoring, forgetting curves, and sleep consolidation — all running inside a single React artifact with no external dependencies.

Just add artifact to your chat and paste instructions into your personal preferences setting.

1 comment

[ 2.6 ms ] story [ 14.8 ms ] thread
This is a really interesting direction. Most current “memory” implementations for LLMs are essentially append-only logs or vector stores, but modeling things like salience, decay, and consolidation is much closer to how useful memory actually works.

One of the biggest challenges seems to be avoiding memory bloat while still preserving important long-term context. I’m curious how you balance forgetting vs retention — especially how salience is calculated and updated over time.