frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: A-MEM – Memory for Claude Code that links and evolves on its own

https://github.com/DiaaAj/a-mem-mcp
8•AttentionBlock•1h ago
Hi HN,

I have been recently geeking on agentic memories, and I believe I finally came up with something that works.

I spent the last couple of weeks building a memory[0] for Claude Code that dynamically evolve as you talk with it. I followed a new paradigm inspired from zettelkasten method. Whenever Claude discover something new in the codebase or during your conversation with it, it writes a note about it, link it with related memories, update the related memories accordingly, and store it in chromaDB (this part where it keeps self-evolving based on new inputs). Later when you ask it to do/explore/implement something, it peeks into its memories (breadth-first) then drills into matches (depth-first) . The graph that builds this memory is untyped, so Claude isn't limited to a predefined relations. Its also time-aware so you can ask it to recall from yesterday for example.

What motivated me to build this tool is that I work with big codebases, I spend hours with claude digging into some functionality, and it was frustrating that I have to start from scratch next day/session. I can resume to the same session but at some point when the conversation gets too long, the responses quality drop.

I tried some of the available solutions, most of them are Knowledge Banks or some static RAG that didn't do it for me.

Here's example scenario how it helped me: I had to debug some error that was coming from one of the new functionalities that Claude implemented few days ago, when I shared the error message with Claude, it immediately recognized that this was a change we made recently, why we implemented and how we implemented it and managed to debug it fairly quickly.

Another example: vercel have encapsulated 10+ years of Next.js optimization knowledge into a bunch of .MD files[1], this is something that I would love to inject to my agent memory (if only I used Next.js)

Some of the limitations are:

  - Sometimes the agent forgets about it and I need to give it a nudge: however I implemented some hooks and so far they seem to be doing the job.

  - Response time: it's still way faster compared to re-exploring and discovering from scratch, but I would love to see it even faster

  - Categories: some memories are project-specific, others aren't e.g. preferences, best-practices, etc
What I built is based on concepts from A-MEM paper[2] with some tweaks, so I didn't personally invent something new :)

Looking for your feedbacks :)

[0]: https://github.com/DiaaAj/a-mem-mcp/tree/main [1]: https://vercel.com/blog/introducing-react-best-practices [2]: https://arxiv.org/pdf/2502.12110

Comments

mastermindSDE•1h ago
Cool idea and implementation! Does this support other agents, like Gemini-cli or local agents like qwen-code?
AttentionBlock•1h ago
Thanks for the feedback

I am planning to extend for other agents. But now it should work with some caveats.

I have configured claude specific hooks, the hooks keeps reminding Claude Code to use the memory when needed.

Without them, the agents will keep forgetting to use it and you would need to keep nudging it

bisonbear•48m ago
curious how this is different from claude-mem?

https://github.com/thedotmack/claude-mem

AttentionBlock•37m ago
great question

claude-mem uses a compaction approach. It records session activity, compresses it, and injects summaries into future sessions. Great for replaying what happened.

A-MEM builds a self-evolving knowledge graph. Memories aren’t compressed logs. They’re atomic insights that automatically link to related memories and update each other over time. Newer memories impact past memories.

For example: if Claude learns “auth uses JWT” in session 1, then learns “JWT tokens expire after 1 hour” in session 5, A-MEM links these memories and updates the context on both. The older memory now knows about expiration. With compaction, these stay as separate compressed logs that don’t talk to each other.

FluConf: An online event for Covid-cautious appreciators of FOSS

https://fluconf.online/
1•edward•42s ago•0 comments

The Illiquidity of Water Markets

https://www.restud.com/the-illiquidity-of-water-markets/
1•sebg•1m ago•0 comments

Falcon-H1-Tiny: A series of small, yet powerful language models

https://huggingface.co/spaces/tiiuae/tiny-h1-blogpost
1•ToJans•1m ago•0 comments

When AI writes almost all code, what happens to software engineering?

https://newsletter.pragmaticengineer.com/p/when-ai-writes-almost-all-code-what
1•gmays•2m ago•0 comments

Renfrew Christie has died, sabotaged South Africa's nuclear program

https://www.nytimes.com/2026/01/14/world/africa/renfrew-christie-dead.html
1•NaOH•4m ago•1 comments

You're Getting 'Screen Time' Wrong

https://www.theatlantic.com/technology/2025/10/screen-time-television-internet/684659/
1•Anon84•4m ago•2 comments

Headless blog using SleekCMS, NextJS and Vercel

https://sleekcms-nextjs-blog-1.vercel.app/
1•yusufnb•7m ago•0 comments

Wrist Photoplethysmography Pulse Waves: Morphology and Physiological Influences

https://www.mdpi.com/2673-4591/118/1/83
1•PaulHoule•8m ago•0 comments

Reddit Stock Down 8% After Digg Open Beta Launch

https://finance.yahoo.com/quote/RDDT/
1•madihaa•9m ago•0 comments

L Ellison Renames Yacht After Critics Point Out It Spells "I'm a N*Zi" Backwards

https://calfkicker.com/larry-ellison-quietly-renames-yacht-after-critics-point-out-it-spells-im-a...
2•ndsipa_pomu•9m ago•1 comments

Scientists develop smart transparent woods that block UV and save energy

https://www.thebrighterside.news/post/scientists-develop-smart-transparent-woods-that-block-uv-an...
1•westurner•10m ago•0 comments

Manic Technology

https://www.robinsloan.com/lab/manic-technology/
1•speckx•10m ago•0 comments

Show HN: Not a marketer? Let experts promote your startup FAST

https://sharemrr.com/
1•AzizBelAbed•10m ago•0 comments

The Downside to Using AI for All Those Boring Tasks at Work

https://www.wsj.com/lifestyle/careers/the-downside-to-using-ai-for-all-those-boring-tasks-at-work...
1•gmays•12m ago•1 comments

FDA paves way for more consumer wearables to hit the market

https://www.fiercehealthcare.com/digital-health/fda-paves-way-more-consumer-wearables-hit-market
1•brandonb•12m ago•0 comments

Oracle Trying to Lure Workers to Nashville for New 'Global' HQ

https://www.bloomberg.com/news/articles/2026-01-15/oracle-nashville-hq-trying-to-recruit-cloud-wo...
1•petethomas•12m ago•0 comments

Briar keeps Iran connected via Bluetooth and Wi-Fi when the internet goes dark

https://briarproject.org/manual/fa/
2•us321•13m ago•0 comments

"Hello, Computer." Vocal computing seems primed to take off, for real this time

https://spyglass.org/vocal-computing-ai/
1•ChrisArchitect•14m ago•0 comments

Astrophotography visibility plotting and planning tool

https://airmass.org/
1•NKosmatos•18m ago•0 comments

A.I. Is Keeping Aging Coal Plants Online

https://e360.yale.edu/digest/ai-coal-nuclear
1•speckx•19m ago•0 comments

Shipping a Universe: A Post-Mortem

https://medium.com/@boris.churzin/shipping-a-universe-a-post-mortem-1b75b55b205b
1•devenvdev•19m ago•1 comments

I Did a Daring Fireball Ad

https://www.finalist.works/i-did-a-daring-fireball-ad/
2•slaven•23m ago•0 comments

Show HN: Superfocus – Pomodoro timer built for students

https://www.superfocus.live/
1•Jcjimenez•23m ago•1 comments

Show HN: Stdskill – The skill for wicked coding agents

https://github.com/ZeroAurora/stdskill
1•ZeroAurora•23m ago•0 comments

Health NZ confirms another major tech outage

https://www.rnz.co.nz/news/national/584179/health-nz-confirms-another-major-tech-outage
3•billybuckwheat•23m ago•0 comments

Gail.com

https://gail.com/
2•RyanShook•24m ago•0 comments

Lexica: A word-of-the-day SMS service

https://lexica.io
1•sestarkman•25m ago•0 comments

OpenAI invests $250m in Sam Altman's brain computer interface startup Merge Labs

https://techcrunch.com/2026/01/15/openai-invests-in-sam-altmans-brain-computer-interface-startup-...
2•tobarpal•25m ago•0 comments

Digg launches its new Reddit rival to the public

https://techcrunch.com/2026/01/14/digg-launches-its-new-reddit-rival-to-the-public/
3•madihaa•26m ago•1 comments

Visualize OpenUSD in Rerun

https://github.com/art-e-fact/usd-rerun-logger
1•Tycho87•26m ago•0 comments