Cozo-NG
The Embedded Graph + Vector Database for AI Agents & GraphRAG in Rust.
What is Cozo-NG?
Rust & PythonCozo-NG is an independent, community-maintained continuation of CozoDB, optimized as a high-performance, transactional, embedded database for Rust, AI agents, and GraphRAG applications. It natively combines relational storage, Datalog knowledge graphs, and HNSW vector search into a single local data layer.
Designed to give modern local-first applications and intelligent agents a unified in-process data layer, Cozo-NG bridges structured relationships and semantic embeddings without requiring heavy client-server infrastructure.
- Embedded GraphRAG Building Block: Seamlessly compose vector similarity search, relational filters, and multi-hop graph traversal directly in-process.
- Rust-Native & ACID Transactional: Powered by MVCC transaction models for ultra-low latency and local-first reliability.
- Cross-Language Ecosystem: Available as a Rust crate, a Python package on PyPI, and a standalone Docker HTTP server.
Project Gallery & Architecture
Overview & Logo
Vector & Graph Queries
CLI Data Cleaner
Performance Benchmarks
Docker Deployment
Loading comments...