Documentation Index
Fetch the complete documentation index at: https://hexxladb.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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
| What you get today | What you actually need |
|---|---|
| Stateless API calls — context lost between sessions | Persistent memory that survives restarts and spans sessions |
| Retrieval by similarity alone | Retrieval that combines semantic similarity with tags, confidence, source, and recency |
| Preferences silently overwritten | Supersession chains that track how preferences evolve over time |
| Contradictions invisible to the system | Explicit conflict markers the system can see and reason about |
| Budget enforced by truncation | Intelligent eviction that drops low-confidence outer context first |
| No audit trail | MVCC snapshots: “what did the system know at 3pm Tuesday?” |
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:| Primitive | What it is |
|---|---|
| Cell | A record — a fact, message, preference, or document chunk — at a hex coordinate (q, r) with content, tags, provenance, confidence, and a validity window |
| Seam | A visible marker linking two cells that contradict each other, with a reason, confidence delta, and resolution status |
| Edge | A directed relationship between cells (“see also”, “follow-up”, “derived from”) |
| Facet | A summary or annotation cryptographically bound to a cell |
| Embedding | A vector stored alongside a cell for semantic similarity search (HNSW-indexed) |
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
| Capability | HexxlaDB | Vector DBs | Graph DBs | General stores |
|---|---|---|---|---|
| Semantic search (HNSW) | ✓ | ✓ | — | — |
| Structured filters in same query | ✓ | partial | ✓ | ✓ |
| Contradiction tracking | ✓ | — | — | — |
| Supersession chains | ✓ | — | — | — |
| Budgeted context assembly | ✓ | — | — | — |
| Spatial locality (ring walks) | ✓ | — | — | — |
| MVCC time-travel | ✓ | — | — | partial |
| Reproducible context construction | ✓ | — | — | — |
| Provenance + confidence per record | ✓ | — | — | — |
| Embedded (no network) | ✓ | — | — | ✓ |
| Encryption at rest | ✓ | varies | — | ✓ |
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