The AI database
that reasons
ReasonDB introduces Hierarchical Reasoning Retrieval — LLM-guided tree traversal over your documents. Not chunks. Not embeddings. Structure.
$ brew tap brainfish-ai/reasondb-tap && brew install reasondbRAG fails at scale
Flat chunks can't model document hierarchy. Vector similarity can't resolve cross-references. Black-box retrieval can't be audited. Standard RAG wasn't built for complex, regulated documents.
Structure, not chunks.
Standard RAG flattens documents into chunks ranked by embedding similarity. HRR preserves the original hierarchy as a tree — the LLM navigates it deterministically, with full cross-reference awareness built at ingestion.
- Sections stored as tree nodes — parent/child relationships intact
- Cross-references resolved at ingestion: §4.2 knows it links to §3.8
- LLM traverses the tree via beam search instead of ranking flat chunks
- Identical structure every run — no embedding drift, no approximation
Every decision.
Fully visible.
ReasonDB logs every phase of every query. See which nodes were selected, why, and with what confidence. Replay any query identically — critical for regulated industries.
- Full 4-phase trace per query — stored and replayable
- Export to OpenTelemetry, Splunk, or any SIEM
- Query cache ensures deterministic replay
- Designed for SOC 2, HIPAA, SEC, and FedRAMP audit requirements
“We’d spent months trying to solve policy retrieval accuracy internally. RAG wasn’t cutting it — only 60% accurate on insurance benchmarks. ReasonDB is exactly what we’d been trying to build.”
Up in minutes
Single Rust binary. Deploy on your own infra. No data leaves your environment.
Ready to go beyond RAG?
Open source. Single binary. Deploy anywhere. Bring your own LLM.