Live data from Hacker News

Show HN: Rekal – Long-term memory for LLMs in a single SQLite file

github.com

1–10 of 18 posts

Show HN: Rekal – Long-term memory for LLMs in a single SQLite file

#1
I got tired of repeating myself to my LLM every session. rekal is an MCP server that stores memories in SQLite and retrieves them with hybrid search (BM25 + vectors + recency decay). One file, local embeddings, no API keys.

Show HN: Rekal – Long-term memory for LLMs in a single SQLite file
github.com

Re: Show HN: Rekal – Long-term memory for LLMs in a single SQLite file

#5
The hybrid search scoring is really well thought out. One question: are the 0.4/0.4/0.2 weights fixed or configurable? To me it feels like different use cases would want different balances (e.g. a coding assistant would want higher recency weights than a research tool would).

Re: Show HN: Rekal – Long-term memory for LLMs in a single SQLite file

#7

The hybrid search scoring is really well thought out. One question: are the 0.4/0.4/0.2 weights fixed or configurable? To me it feels like different use cases would want different balances (e.g. a coding assistant would want higher recency weights than a research tool would).

The 0.4/0.4/0.2 weights are just based of hand wavy trail an error, will look into other options. I could make them configurable?

Re: Show HN: Rekal – Long-term memory for LLMs in a single SQLite file

#9
I’m going to try this out. Curious how effective it’s been for your own use, OP? Anything particularly interesting or where it still falls over and requires tuning that you’ve observed? I find these types of projects interesting in sort of an anthropological sort of way. So far, I’ve yet to try anything that hasn’t still required a great deal of intervention to keep agents using guardrails without scolding them to do so. I guess this might force them more reliably, but I’ll need to try it and find out.

Re: Show HN: Rekal – Long-term memory for LLMs in a single SQLite file

#10
post #7

The hybrid search scoring is really well thought out. One question: are the 0.4/0.4/0.2 weights fixed or configurable? To me it feels like different use cases would want different balances (e.g. a coding assistant would want higher recency weights than a research tool would).

The 0.4/0.4/0.2 weights are just based of hand wavy trail an error, will look into other options. I could make them configurable?

I think that'd be cool, maybe just a simple config option in pyproject.toml or a .rekal/config.yml would cover most use cases: they could default to 0.4/0.4/0.2 but could be overriden.
Post reply on HN