# LatticeDB: A SQLite-like embedded graph database with vector and full-text search

Original title: LatticeDB – Like SQLite but for graph databases

> Hacker News story 49437049 · language: en · submitted 2026-08-25
> Web version: https://zeli.app/story/49437049
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 178 · by [smiths1999](<https://news.ycombinator.com/user?id=smiths1999>) · 💬 48
[original](<https://github.com/jeffhajewski/latticedb>) · [HN discussion](<https://news.ycombinator.com/item?id=49437049>)

## Summary

LatticeDB is an embedded, single-file property-graph database that combines graph traversal, HNSW vector similarity, and BM25 full-text search in one query layer. It targets local-first applications like Graph RAG, agent memory, and knowledge tools, offering zero-config operation and durable event streams. Benchmarks show sub-microsecond node lookups, 0.83 ms vector search at 1M vectors with 100% recall, and up to 2,800x faster graph traversals than SQLite's recursive CTEs.

## Key quote

> LatticeDB at 1M achieves 0.83 ms mean with 100% recall@10 — faster than FAISS single-threaded HNSW and competitive with Weaviate and Qdrant server-based systems (which add network overhead in practice).

## HN discussion (48 comments)

### [k9294](<https://news.ycombinator.com/item?id=49440174>)

> I'm a big fan of SQLite embedded nature, which allows for chaining multiple SQL calls with near-zero latency.
>
> I'm currently building a personal knowledge graph server a mix of Notion's custom entities via JSON schema and Obsidian markdown+backlinked references. It's working well, but I suspect your product might be a better fit.
>
> I do have one question regarding permissions: how would you recommend modeling a hierarchical access system in a graph database? Specifically, if a user is granted access to a document, they should automatically have access to all its child documents within that workspace. Is there a standard way to model this 'subtree' permission logic, or perhaps a more efficient approach you'd suggest?
>
> Really impressed with the product good luck with it!

### [cjlm](<https://news.ycombinator.com/item?id=49440461>)

> Nice, I’ll get it added to gdb-engines.com

### [itissid](<https://news.ycombinator.com/item?id=49439978>)

> Does it have something like litestream to backit up for specific production usecases (i.e. a single webserver is enough and downtime of a few mins is tolerable)?

### [petervandijck](<https://news.ycombinator.com/item?id=49439520>)

> Congrats this is really cool and love the examples

### [tomComb](<https://news.ycombinator.com/item?id=49439305>)

> I wonder about mapping RDF data (like Wikidata) to this. I guess the RDF predicate becomes the edge in your node-edge style of graph.

---

## Cite

- Page: https://zeli.app/story/49437049
- Date: 2026-08-25
- Source: github.com (https://github.com/jeffhajewski/latticedb)
- Hacker News: https://news.ycombinator.com/item?id=49437049

## Other languages

- zh: https://zeli.app/zh/story/49437049 · markdown: https://zeli.app/zh/story/49437049.md
- ja: https://zeli.app/ja/story/49437049 · markdown: https://zeli.app/ja/story/49437049.md
- ko: https://zeli.app/ko/story/49437049 · markdown: https://zeli.app/ko/story/49437049.md
- de: https://zeli.app/de/story/49437049 · markdown: https://zeli.app/de/story/49437049.md
- es: https://zeli.app/es/story/49437049 · markdown: https://zeli.app/es/story/49437049.md
- ru: https://zeli.app/ru/story/49437049 · markdown: https://zeli.app/ru/story/49437049.md
