Remix.run Logo
Show HN: Local semantic memory for coding agents(github.com)
2 points by chadiiek 13 hours ago

Hi HN, i’m Chadi. I built "thr", a local semantic memory cli that lets you or your coding agent store memories locally and retrieve them later by meaning or fuzzy search. You don’t need to run any server or do any api call.

I built this because I got tired of telling my coding agent the same things over and over. I also didn’t want to use a hosted memory service like supermemory, or run a local server like mem0. I wanted something small to store notes locally, retrieve them semantically, and keep all the data on my laptop.

It’s not a complex system it’s intentionally simple. You just have a local embedding model that index each memory you add or edit and return the closest embeddings on retrieval (there is a minimum distance threshold so it doesn’t return weak matches).

You can use it like this:

thr add “This repo prefers small PRs with tests“

thr ask “how should i structure this pr?“

I’ve also found myself using it without any coding agent, just as a small notetaking app with semantic retrieval. I might build a tui around it later.

If you try it, I’d love feedback!!!