Tool Open source

LatticeDB

LatticeDB is an embedded, single-file property-graph database written in Zig for local applications. It combines relationship traversal, HNSW vector similarity search, and BM25 full-text search in one query language and engine, allowing graph, semantic, and textual queries over the same dataset. It also provides durable named event streams and a graph changefeed through the same transaction and write-ahead-log path as graph writes.

View repository Mentioned in 2 videos ↓

Overview

The database operates without a server or configuration and is designed for one owning process on one machine with WAL-backed durability. It is distributed through a CLI and bindings or packages for Python, TypeScript/Node.js, Java, and Go. Graph RAG, agent memory, and local knowledge tools are documented as example workloads rather than the engine's definition.

What LatticeDB is used for

2 uses taken from transcripts — each links to the moment in the video.

  • An embedded, single-file graph database written in Zig. It supports relationship traversal, vector similarity, and full-text ranking in one query language without a server.

  • An embedded single-file property graph database combining graph traversal, vector similarity search, and full-text search in one query engine. It is presented for agent memory and RAG pipelines, with bindings for Python, TypeScript, Go, and C.

Videos mentioning LatticeDB

2 in the library.