Use cases
Primary use case:- LLM memory and context assembly — Persistent, structured, contradiction-aware memory for LLMs and agents, with budgeted retrieval
- Scientific research collaboration — Track competing hypotheses with seams, supersession as theories evolve, MVCC for reproducibility, embeddings for semantic similarity across papers, spatial clustering for domain organization
- Medical decision support — Contradiction awareness for drug interactions, treatment evolution tracking with supersession chains, time-travel MVCC for audit trails, confidence scoring for reliability, validity windows for time-based effectiveness
- Legal precedent tracking — Edges for citation chains and precedent relationships, seams for conflicting rulings, supersession for overruling decisions, MVCC for historical analysis, validity windows for effective dates
- Configuration management — Seams for detecting config drift, supersession chains for rolling changes, MVCC for instant rollback, validity windows for feature flags, confidence scoring for reliability
- Supply chain provenance — Edges for tracking product journey, seams for conflicting reports, MVCC for complete audit trails, validity windows for expiration dates, provenance tracking for accountability
The problem
How it works
Every record lives at a coordinate on a honeycomb grid. Related records are placed near each other. When you need context for an operation, HexxlaDB walks outward ring by ring from a seed coordinate — picking up the most relevant records first, staying within your budget, and automatically filtering out superseded or low-confidence content. Core primitives:Get started
Quick start
Follow our quickstart guide to get up and running with HexxlaDB in minutes.
Core features
HNSW embedding search
Store vectors alongside cells; approximate nearest-neighbor retrieval with
flat-scan fallback for small datasets.
Hybrid queries
Combine embedding similarity with tag filters, confidence thresholds, source
IDs, temporal ranges, and spatial predicates in one call.
Hex-native spatial keys
Morton-ordered
(q, r) coordinates; ring walks are prefix scans that scale
with ring area, not database size.Budgeted context assembly
LoadContextPackFrom evicts low-confidence outer-ring cells first; spatial
locality preserves semantic coherence.
Contradiction tracking
MarkConflict stores seams that surface disagreements; IncludeSeams injects
them into context so systems can reason about conflicts.
Supersession chains
MarkSupersedes records preference evolution; FilterSuperseded automatically
replaces stale cells with their successors.
MVCC time-travel
ViewAt / ViewAtTime pin read snapshots; SnapshotDiff computes changes
between any two points in time.
Encryption at rest
AES-256-XTS encryption with passphrase or raw key; per-page encryption with
HKDF-SHA256 / Argon2id key derivation.
What makes this different
Vector DBs (Pinecone, Weaviate, Chroma) excel at similarity search but have no concept of contradiction, supersession, or budgeted assembly. Graph DBs (Neo4j) model relationships well but aren’t embeddable and lack spatial coherence. Temporal DBs (Datomic) offer immutable history but no spatial indexing. General stores (Postgres, SQLite) are reliable foundations, but hex coordinates, seam semantics, and context budgeting become application-level afterthoughts.
HexxlaDB is purpose-built: HNSW vector search, Morton-ordered spatial keys, contradiction-aware seams, MVCC snapshots, and budgeted context assembly — in a single embedded engine.
Anything which requires spatial locality, contradiction tracking, time-travel queries, and budgeted context assembly — HexxlaDB is the answer.
Sponsorship
HexxlaDB is open source and under active development. If it’s useful to your work — or you want to accelerate the roadmap (distributed replication, materialized views, richer seam semantics) — sponsorship is the most direct way to help. Privacy advocate note: HexxlaDB is built on a local-first, embedded architecture — no network dependencies, no cloud lock-in, your data stays on your machine. This commitment to privacy and self-sovereignty extends to our funding model.- GitHub Sponsors: github.com/sponsors/hexxla
- Monero (XMR):
46shAhAihZ3dmVHGU4V6H2ZZt21ex8xydB7Awkxaheq4U1VZFoK53K92tsqhnL8roV2bV8pQWCryR3yNRJJd5gAeBsZUXPF