Hillock replaces vector DBs with SQLite and SIMD hypervector gating, sub-300MB and 0.01ms retrieval
Equivalent-Flan-1590 · reddit · 2026-10-07
The developer of Hillock, an open source (AGPL-3.0) neuro-symbolic memory engine, explains why it ditches dense vector retrieval for local document memory:
- Problem: LLM-based extraction is quadratic and token-bound; cosine similarity lacks a strict out-of-domain rejection threshold, causing hallucinations when context is missing.
- Approach: extracts Subject-Predicate-Object triples with lightweight models (Fastcoref, MiniLM, GLiREL) in seconds under 300MB VRAM, no LLM needed; facts live in SQLite with WAL; associations update via local Hebbian synaptic weights on co-queries.
- Retrieval: queries pass a 10,000-dim hypervector gate with ColBERT-style late-interaction MaxSim scoring; vectors bit-packed into 157 uint64 ints, gated via CPU popcount in under 0.01ms.
- Recent fixes: stop-word filtering before scoring, single-valued predicate overwrite schema patch, true streaming over FastAPI.
Available via pip install hillock; source and benchmarks on GitHub.
More from coding & agent
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- Clairvoyance dev reveals 'staff model' agent architecture: one PM, named agents, per-agent inboxes — draginol · 2026-11-29
- Claude Opus Configures Karabiner Media Keys End-to-End, No Human Hands — cantrell · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29