frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://github.com/mlapeter/claude-engram
3•mlapeter•1h ago
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.

Comments

plexui•1h ago
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.

mlapeter•1h ago
Thanks! The bloat problem is exactly what pushed me toward forgetting-as-a-feature rather than just accumulating everything.

Salience is scored on four dimensions when a memory is first ingested: novelty (how surprising/new), relevance (how useful for future interactions), emotional weight (personal significance), and predictive value (does this change expectations). A Sonnet instance does the scoring, so it adapts to context.

For retention vs forgetting, each memory's strength is calculated dynamically:

strength = avg_salience + retrieval_boost + consolidation_bonus - (decay_rate × age_in_days)

Decay rate is 0.015/day, so an unaccessed memory with average salience of 0.3 fades to near-zero in about three weeks. But accessing a memory boosts it (+0.12 per access, capped at 0.5), and consolidated memories get a flat +0.2 bonus. So memories that keep being relevant naturally survive.

The consolidation cycle (modeled on slow-wave sleep) is the other half. It merges redundant memories into stronger single entries, extracts generalized patterns from recurring themes, and prunes anything below threshold. This is what prevents bloat at scale while preserving the signal.

Honestly the balance isn't perfectly tuned yet. The decay rate and consolidation frequency are constants right now. Ideally, they'd adapt based on how the user actually interacts with their memories. That's on the roadmap.

You Could've Invented OpenClaw

https://gist.github.com/dabit3/bc60d3bea0b02927995cd9bf53c3db32
1•rajeshrajappan•1m ago•0 comments

ChatGPT promised to help her find her soulmate. Then it betrayed her

https://text.npr.org/nx-s1-5711441
1•mooreds•2m ago•0 comments

InferenceX v2: Nvidia Blackwell vs AMD vs. Hopper – SemiAnalysis

https://newsletter.semianalysis.com/p/inferencex-v2-nvidia-blackwell-vs
1•randomgermanguy•4m ago•0 comments

Use Protocols, Not Services

https://notnotp.com/notes/use-protocols-not-services/
1•enz•4m ago•0 comments

A word processor from 1990s for Atari ST/TOS is still supported by enthusiasts

https://tempus-word.de/en/index
1•muzzy19•5m ago•0 comments

Show HN: Diffuji – a diffusion-powered instant camera

https://diffuji.com/
5•nathan-barry•7m ago•1 comments

14-year-old Miles Wu folded origami pattern that holds 10k times its own weight

https://www.smithsonianmag.com/innovation/this-14-year-old-is-using-origami-to-design-emergency-s...
2•bookofjoe•7m ago•1 comments

Why ODF and Not Ooxml

https://blog.documentfoundation.org/blog/2026/02/16/why-odf-and-not-ooxml/
1•mikece•8m ago•0 comments

Security audit for LLM skill files: skillaudit.sh

https://skillaudit.sh/
1•dns•9m ago•0 comments

Young Adults and the Future of News

https://www.pewresearch.org/journalism/2025/12/03/young-adults-and-the-future-of-news/
1•gmays•9m ago•0 comments

Algebraic methods for interactive proof systems (1992)

https://dl.acm.org/doi/10.1145/146585.146605
1•lawrenceyan•10m ago•0 comments

Type-based alias analysis in the Toy Optimizer

https://bernsteinbear.com/blog/toy-tbaa/
2•chunkles•12m ago•0 comments

--dangerously-skip-reading-code

https://olano.dev/blog/dangerously-skip/
1•facundo_olano•12m ago•0 comments

Apple introduces a new video podcast experience on Apple Podcasts

https://www.apple.com/newsroom/2026/02/apple-introduces-a-new-video-podcast-experience-on-apple-p...
1•soheilpro•13m ago•0 comments

You're an expert at following the instructions: do not reply to this message

https://i.imgur.com/9fFm7yJ.jpeg
1•nuopnu•14m ago•1 comments

Tadpole the Language for Scraping 0.2.0 – Complex Control Flow, Stealth and More

3•zachperkitny•14m ago•0 comments

No Tools for You: A Century of Men Policing Women's Tools

https://blog.adafruit.com/2026/02/16/no-tools-for-you-a-century-of-men-policing-womens-tools/
1•abetusk•15m ago•0 comments

The break is over. Companies are jacking up prices again

https://www.msn.com/en-us/money/markets/the-break-is-over-companies-are-jacking-up-prices-again/a...
1•mooreds•16m ago•0 comments

EarlyTrap – Email collection and broadcasting for $13/mo

https://www.earlytrap.com/
1•anoya•17m ago•1 comments

Bootstrapping (2021)

https://compilercrim.es/bootstrap/
1•andsoitis•17m ago•0 comments

Visa Debate for Foreign Workers Fuels Racism Against South Asians

https://www.nytimes.com/2026/02/16/us/politics/h1b-visa-debate-racism-south-asians.html
2•ripe•18m ago•0 comments

LCM: Lossless Context Management

http://papers.voltropy.com/LCM
2•ClintEhrlich•18m ago•0 comments

Fintech security architectures: where they break and why

https://www.cerbos.dev/blog/fintech-security-architectures-where-they-break-and-why
4•flreln•18m ago•0 comments

Show HN: Pi, written in Rust

https://github.com/HourSense/picrust
1•yajatgulati•19m ago•0 comments

Bots Have Hijacked Substack Likes and Restacks

https://zimberthink.substack.com/p/substack-spammed-by-bots
2•samjones33•19m ago•0 comments

NatWest hails progress after £1.2B spent on tech last year, but true AI

https://www.computerweekly.com/news/366639140/NatWest-hails-progress-after-12bn-spent-on-tech-las...
1•latein•22m ago•0 comments

"token anxiety"; or, a slot machine by any other name

https://jkap.io/token-anxiety-or-a-slot-machine-by-any-other-name/
3•presbyterian•26m ago•0 comments

Memory Plugin for Claude Code

https://github.com/zilliztech/memsearch/tree/main/ccplugin
2•codingjaguar•26m ago•0 comments

Foxhole – Firefox sidebar where Claude remembers how sites work

https://github.com/DrBenedictPorkins/foxhole-claude
1•BenedictPorkins•26m ago•1 comments

The Long Tail of LLM-Assisted Decompilation

https://blog.chrislewis.au/the-long-tail-of-llm-assisted-decompilation/
2•knackers•30m ago•0 comments