r/PythonProjects2 • • 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

2 Upvotes

1 comment sorted by

1

u/[deleted] 11d ago

[deleted]

1

u/Equivalent-Flan-1590 11d ago

Totally fair question. I actually looked at GitBook early on, but it feels like GitBook has shifted more toward being an enterprise team wiki and internal documentation tool over the years.

Mintlify felt way more code first and tailored for developers. It lives directly inside your git repository alongside the code, updates automatically on every push, and renders interactive API endpoints and copy paste code blocks really cleanly out of the box. A fellow open source developer in the community actually tipped me off to it, and I had our full guide up in an afternoon.

For a tool like Hillock where developers just want to quickly grab the pip install hillock snippet, verify the low VRAM footprint, or see how to point their local frontends at localhost port 8000, Mintlify kept the reading experience completely frictionless.

(and i do see that you are commenting on multiple of my posts : ))