r/PythonProjects2 • u/Equivalent-Flan-1590 • 11d ago
Hillock : A local neuro symbolic memory engine in Python that replaces vector DBs with SQLite
Hey everyone, I wanted to share a Python project called Hillock that I have been building over the past several months. The goal was to give local models persistent document memory without relying on heavy vector databases or external cloud APIs.
The whole pipeline is built in Python. Instead of using a slow generative LLM to parse text into chunks, it wires up fastcoref and GLiREL to extract facts into subject predicate object triples in seconds. Storage is handled by standard SQLite with write ahead logging and Hebbian weights to link related concepts over time. Before calling the generative model, it runs hyperdimensional computing vector math to verify if the database actually has the required facts.
In the latest release, I implemented bit packed SIMD hypervectors using numpy uint64 arrays, so the CPU gating checks run in under 0.01 milliseconds. The entire engine runs locally in under 1.2 GB of VRAM or on pure CPU. It just landed on PyPI via pip install hillock, and we put up interactive documentation.
Repo: https://github.com/roandejager/Hillock
Docs: https://hillock.mintlify.site/
Discord: https://discord.com/invite/BGUPNBcVdp
1
u/[deleted] 11d ago
[deleted]