Built a Python “semantic memory DB” with SQLite + compressed embeddings (TurboMemory)

Posted by Hopeful-Priority1301@reddit | Python | View on Reddit | 5 comments

I’ve been working on a Python project called TurboMemory.

It’s basically a lightweight semantic memory database for agent logs / chat history / knowledge chunks:

SQLite-backed index

append-only transcripts

on-demand topic loading

embedding compression (4-bit / 6-bit / 8-bit)

fast semantic retrieval + prefiltering

Goal: store long-term memory cheaply and query fast, without running a heavy vector DB.

Repo: https://github.com/Kubenew/TurboMemory⁠

Would love feedback from Python devs:

API design suggestions?

packaging / CLI improvements?

performance profiling ideas?

Contributors welcome 🙌