frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: A memory layer for AI agents that organizes itself

3•srisanth_temprl•1h ago
I kept running into the same issue building agents:

Memory just grows forever. Nothing gets cleaned up.

So I tried something different - treating memory like a system that maintains itself.

StixDB is a small experiment around that idea.

Instead of just storing facts, it runs a background loop that:

- merges similar entries - tracks which ones are actually used - gradually reduces the importance of unused ones

Over time, the memory graph reshapes itself.

One interesting constraint:

* The background process only touches a small batch each cycle (64 nodes), so the cost stays predictable even as memory grows.

It works fully local (no API key), and you can still layer an LLM on top if needed.

I’m not sure if this is genuinely useful or just an over-engineered idea.

Would love to hear how others are handling long-term memory in agents.

Github: https://github.com/Pr0fe5s0r/StixDB