EveryDev.ai
Subscribe
Home
Tools

3,713+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. LatticeDB
    LatticeDB icon

    LatticeDB

    Vector Databases
    Featured

    Embedded single-file property-graph database with native HNSW vector search, BM25 full-text indexing, and ACID transactions, queryable via Cypher.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully open-source under MIT License. Free to use, modify, and distribute.

    Engagement

    Available On

    Web
    API
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Vector DatabasesRetrieval-Augmented GenerationDatabase Tools

    Alternatives

    Helix-DBMemvidLEANN
    Developer
    Jeff HajewskiOlympia, WA

    Listed Aug 2026

    About LatticeDB

    LatticeDB is an open-source, single-file embedded property-graph database written in Zig, created by Jeff Hajewski and released under the MIT License. It combines relationship traversal, HNSW vector similarity search, and BM25 full-text search in one local engine and one Cypher query layer — with no server, no configuration, and no external dependencies. The project reached v0.14.0 as of August 2026 and has accumulated over 500 GitHub stars since its creation in December 2025.

    What It Is

    LatticeDB is a local-first, embedded graph database designed for workloads where relationships, semantics, and text all matter at once. Think of it as SQLite for connected data: your entire database lives in a single portable file, opened by one owning process. The engine supports ACID transactions with write-ahead log durability, a Cypher query language subset, durable named streams with graph changefeeds, and property equality indexes the query planner can use. It is built for single-machine, single-writer workloads — not distributed or multi-client deployments.

    Architecture and Performance

    LatticeDB is built in Zig with zero external dependencies. Its storage layer uses a B+Tree with overflow pages for large properties, a BFS adjacency cache with bitset visited tracking for graph traversal, an HNSW index with heuristic neighbor selection and connection page packing for vector search, and a BM25 inverted index with tokenization, stemming, and fuzzy Levenshtein matching for full-text search.

    Benchmarks run on Apple M1 (single-threaded, auto-scaled buffer pool) show:

    • Node lookup: 0.13 µs (7.9M ops/sec)
    • 10-NN vector search at 1M vectors: 0.83 ms mean, 100% recall@10
    • 2-hop graph traversal (100K nodes): 39 µs vs. 548 µs for SQLite recursive CTE (14x faster)
    • Full-text search (100 docs): 19 µs (~300x faster than SQLite FTS5 per the README)

    The README notes that only the SQLite comparison rows are measured head-to-head on the same machine; figures for Neo4j, Kuzu, Weaviate, and Qdrant come from third-party published sources and should be treated as order-of-magnitude orientation.

    Query Model: One Query, Three Search Modes

    A single Cypher query can combine all three retrieval modes simultaneously. The vector distance operator (<=>) and full-text operator (@@) are first-class citizens in WHERE clauses alongside standard graph MATCH patterns. This means a query can filter chunks by embedding similarity, filter their parent documents by keyword, and traverse to authors — all in one statement. Built-in hash_embed helpers let examples run without an external embedding service; for production use, the engine includes an HTTP client for Ollama and OpenAI embeddings.

    Language Bindings and Installation

    LatticeDB exposes a clean C API and ships bindings for Python, TypeScript/Node.js, and Go:

    • Python: pip install latticedb — published wheels bundle liblattice
    • TypeScript: npm install @hajewski/latticedb — published tarballs bundle liblattice
    • Go: cgo workflow via pkg-config; -tags repolocal for in-repo development
    • CLI: install script via curl for shell-level access and the lattice compact / lattice backup commands

    Source builds require only Zig (zig build).

    Update: v0.14.0 (August 2026)

    The latest GitHub release is v0.14.0, published August 26, 2026. The README documents a release history going back to v0.8.0, with notable milestones including:

    • v0.10.0: Durable property indexes used by the query planner, strict single-writer ownership (contention error instead of racing), and B+Tree delete rebalancing with lattice compact for physical space reclamation
    • v0.11.x: Durable named streams and graph changefeeds stored in system B+Trees, per-stream sequences, and explicit consumer offsets
    • v0.14.0: Current release (full changelog in repo release notes)

    The project direction signals continued investment in the embedded graph-plus-retrieval substrate, with the README explicitly positioning Graph RAG, agent memory, and local knowledge tools as example workload classes rather than the engine's definition.

    When Not to Use It

    The README is candid about limitations: LatticeDB is not suitable for multi-writer or multi-client network deployments, purely tabular data, multi-machine scaling, workloads requiring the full Cypher spec (e.g., OPTIONAL MATCH, CALL procedures), or teams that need mature operational tooling and ecosystem depth. For those cases, the README points to Neo4j, PostgreSQL, Dgraph, or managed services.

    LatticeDB - 1

    Community Discussions

    Be the first to start a conversation about LatticeDB

    Share your experience with LatticeDB, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully open-source under MIT License. Free to use, modify, and distribute.

    • Single-file embedded graph database
    • HNSW vector search
    • BM25 full-text search
    • Cypher query language
    • ACID transactions

    Capabilities

    Key Features

    • Single-file embedded property-graph database
    • HNSW approximate nearest neighbor vector search with configurable M and ef parameters
    • BM25 full-text search with tokenization, stemming, and fuzzy Levenshtein matching
    • Cypher query language with vector distance operator (<=>) and full-text operator (@@)
    • ACID transactions with write-ahead log and crash recovery
    • Durable named streams with explicit consumer offsets and graph changefeeds
    • Durable property equality indexes used by the query planner
    • Multi-hop graph traversal with variable-length path patterns
    • Built-in hash embeddings plus HTTP client for Ollama and OpenAI
    • Hot backup and continuous backup with point-in-time restore
    • In-memory database mode (:memory:)
    • lattice compact for physical space reclamation
    • Python, TypeScript/Node.js, Go, and C API bindings
    • Zero configuration — open a file and start working
    • Single-writer embedded model with WAL-backed durability

    Integrations

    Python
    TypeScript
    Node.js
    Go
    Ollama
    OpenAI
    CLI
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate LatticeDB and help others make informed decisions.

    Developer

    Jeff Hajewski

    Jeff Hajewski builds LatticeDB, an embedded single-file property-graph database with native vector and full-text search capabilities. The project is written in Zig with zero external dependencies and released under the MIT License. LatticeDB targets local-first, relationship-heavy workloads for AI, RAG, and agent memory applications.

    Olympia, WA
    Read more about Jeff Hajewski
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Helix-DB icon

    Helix-DB

    An open-source OLTP graph-vector database built in Rust for AI applications, knowledge graphs, and agent memory, available self-hosted or as a managed cloud service.

    Memvid icon

    Memvid

    A portable, single-file memory layer for AI agents with instant retrieval, long-term memory, and no database required.

    LEANN icon

    LEANN

    A low-storage vector index that enables private, on-device RAG on millions of documents using 97% less storage than traditional vector databases.

    Browse all tools

    Related Topics

    Vector Databases

    Specialized databases optimized for storing and retrieving vector embeddings that power semantic search, recommendation systems, and other AI applications with similarity matching.

    36 tools

    Retrieval-Augmented Generation

    RAG Systems that enhance LLM outputs by retrieving relevant information from external knowledge bases, combining the power of generative AI with information retrieval for more accurate and contextual responses.

    115 tools

    Database Tools

    AI-powered tools for database management, optimization, query construction, and schema design that enhance developer productivity and database performance.

    58 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions