orneryd/NornicDB
One Go database for Graph RAG: Cypher traversal, hybrid search, and MVCC history
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
NornicDB is a Go database that combines Cypher graph queries, vector and full-text retrieval, and historical reads under an MVCC model. Applications can connect through Bolt or HTTP, or embed the database in a Go process. For a Graph RAG application, this lets one database handle both similarity search and traversal of explicit relationships. Historical reads remain bounded by the retained versions.
Badger v4 is used for persistent storage: v1.5.3 gives newly created user databases on persistent standalone servers a dedicated Badger store and write-ahead log (WAL) by default. The Go manifest also includes ANTLR v4 and gqlgen, but those dependencies alone do not establish complete Cypher or GraphQL coverage. Evaluate client integration on the actual query types and interfaces the application needs.
Key Capabilities & Differentiators
The main capability is combining Cypher traversal with HNSW vector search and full-text retrieval. This is useful when a relevant result must match both the query's meaning and relationships in the data, such as whether a document belongs to a particular product or version. With history retained, applications can inspect earlier database states rather than relying only on current nodes and properties.
The default Compose build packages bge-m3.gguf, and CPU and supported GPU deployment paths are available. v1.5.3 adds staged CSV imports and projected property reads, giving operators a way to load tabular data and applications a way to request selected properties. Before adopting the hybrid retrieval path, measure recall and tail latency with production-like graph depth, filters, corpus size, and concurrent writes; a result for one workload is not a sizing target for another.
Trade-offs & Limitations
Compared with a Neo4j graph service plus a separate vector store, NornicDB can reduce the number of services and remove the need to synchronize graph records with an external vector index. The trade-off is that graph queries, search, and writes share a resource budget in a single deployment. Measure them together, including ingestion and any local embedding generation, before counting on that consolidation to simplify operations.
Bolt compatibility is a migration starting point, not a guarantee of identical Cypher functions or transaction behavior. Keep the existing database if your application depends on semantics you cannot confirm with regression tests. History retention also adds a storage planning dimension. For a distributed production rollout, validate failover and recovery under your own failure scenarios; the standalone storage changes do not establish those guarantees.
Hardware & Deployment Guide
For self-hosting, choose a host-appropriate Docker image rather than assuming the root Compose file is portable: docker-compose.yml defaults to docker/Dockerfile.arm64-metal-heimdall with EMBED_MODEL enabled. The Docker quick start maps HTTP on 7474 and Bolt on 7687 and persists data at /data. Start with authenticated, loopback-only access. An amd64 CPU image is available, alongside CUDA and Vulkan variants; macOS Docker does not expose Metal. For a native installation, macOS packages and Homebrew are available, and the source path uses make build followed by ./bin/nornicdb serve.
Plan upgrades from the v1.5.3 storage defaults: on persistent standalone servers, newly created user databases get separate Badger stores and WALs, while existing layouts are preserved and shared storage remains an option. Inventory both layouts and test backup and restore. The v1.5.2-hotfix addressed fine-grained graph-read and search authorization, making permission regression tests especially relevant for shared deployments. Pin a tested release instead of deploying an unqualified latest tag.
Self-hosted Graph RAG that needs semantic retrieval, explicit relationships, and historical reads in one database, with time to test real queries and permissions.
You need proven drop-in Cypher behavior, independently scaled vector search, or distributed recovery guarantees you cannot validate before rollout.
Quick Start & Installation
# Homebrew brew tap orneryd/nornicdb && brew install nornicdb && brew services start nornicdb # arm64 / Apple Silicon docker run -d --name nornicdb -p 7474:7474 -p 7687:7687 -v nornicdb-data:/data timothyswt/nornicdb-arm64-metal-bge:latest # amd64 / CPU only docker run -d --name nornicdb -p 7474:7474 -p 7687:7687 -v nornicdb-data:/data timothyswt/nornicdb-amd64-cpu-bge:latest
Comparison vs. Top RAG, Data & Memory Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| NornicDB ★ | 936 | +3 | Go | MIT | One Go database for Graph RAG: Cypher traversal, hybrid search, and MVCC history |
| milvus | 46.8k | +63 | Go | Apache-2.0 | Distributed vector database for filtered and hybrid retrieval at scale |
| Scrapling | 107.9k | +1.8k | Python | BSD-3-Clause | Python HTTP and browser crawlers that turn websites into RAG-ready Markdown |
| quivr | 39.7k | +23 | Go | MIT | A Go engine for turning content streams into hybrid search and alerts |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/orneryd/NornicDB.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about NornicDB
How should an existing Go or Neo4j-backed application integrate with NornicDB?
Do I need a GPU, and how should I size RAM or VRAM?
Can we self-host NornicDB commercially?
When should we choose it over Neo4j or a separate vector database?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy