Skip to content

Latticedb

Embedded single-file knowledge graph database with vector search and full-text search for AI/RAG apps - jeffhajewski/latticedb

Latticedb screenshot

About Latticedb

LatticeDB is a single-file local database for connected, semantic, and textual data. It lets you traverse relationships, run vector similarity search, and do BM25 full-text search over the same dataset in one engine and one query layer. It is designed for relationship-heavy workloads on a single machine, with zero-config operation and an embedded single-writer model.

LatticeDB is an embedded, single-file graph database that lets local applications query the same data by relationship, semantics, and text, then consume durable graph and application events from the same file. Workloads like Graph RAG, agent memory, and local knowledge tools are examples built on those primitives, not the definition of the engine.

One file. Your entire database is a single portable file. No server, no configuration.

One query layer. Graph traversal, HNSW vector similarity, and BM25 full-text — in the same query language.

One event log. Durable named streams and a built-in graph changefeed share the same transaction/WAL path as graph writes.

Local-first. Designed for one owning process on one machine, with WAL-backed durability.

Fast. 0.13 μs node lookups. 0.83 ms vector search at 1M vectors with 100% recall.

Discussion

Sign in to join the discussion.

Loading comments…

Tagged

Alternatives to Latticedb

Tools in the same space, ranked by how they are performing in the directory.

Compare all
  • Hexstrike AI

    HexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomously run 150+ cybersecurity tools for automated pent…

    /AI Agents
  • CAIPE

    Open-source multi-agent system for AI-powered platform engineering.

    Open source/AI Agents
  • CarWatch

    Your car as a chat-room agent: Raspberry Pi 5 + dashcam + local AI.

    Open source/Video & Audio
  • Tako VM

    Tako VM is a secure file system and Python execution layer for AI agents: gVisor-isolated Docker containers with job queues, workers, retries, and replay.

    /Developer Tools
  • Pktscope

    Wireshark-style terminal packet analyzer on eBPF/TCX — live packet list, protocol detail tree, section-colorized hex; works on raw-IP tunnel devices - yeet-src…

    /Developer Tools
  • learnfrom.co

    Turn your knowledge into a scalable business.

    One-time/Design