#44th of 34 in Vector databases

leann

Vector index that recomputes embeddings on demand instead of storing them

Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
13.8k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 35 weeks+3,644
25 Mar 2026: 10,201 stars1 Apr 2026: 10,227 stars8 Apr 2026: 10,605 stars15 Apr 2026: 10,666 stars22 Apr 2026: 10,748 stars29 Apr 2026: 10,795 stars6 May 2026: 10,831 stars13 May 2026: 10,863 stars20 May 2026: 11,503 stars27 May 2026: 11,665 stars3 Jun 2026: 11,746 stars10 Jun 2026: 11,792 stars17 Jun 2026: 12,182 stars24 Jun 2026: 12,473 stars1 Jul 2026: 12,534 stars8 Jul 2026: 12,579 stars15 Jul 2026: 12,614 stars22 Jul 2026: 12,646 stars29 Jul 2026: 12,679 stars5 Aug 2026: 12,707 stars12 Aug 2026: 12,725 stars19 Aug 2026: 12,761 stars26 Aug 2026: 12,787 stars2 Sept 2026: 12,838 stars9 Sept 2026: 12,891 stars16 Sept 2026: 12,907 stars23 Sept 2026: 12,928 stars30 Sept 2026: 12,982 stars7 Oct 2026: 12,999 stars14 Oct 2026: 13,018 stars21 Oct 2026: 13,054 stars28 Oct 2026: 13,649 stars4 Nov 2026: 13,789 stars11 Nov 2026: 13,817 stars18 Nov 2026: 13,835 stars25 Nov 2026: 13,845 stars

10,201 on 25 Mar 202613,845 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

LEANN is a Python vector database that uses graph-based selective recomputation with high-degree preserving pruning, so embeddings are computed at query time rather than stored. The README claims 60M chunks fit in 6GB versus 201GB. It ships RAG examples for documents, Apple Mail, browser history, WeChat, iMessage and ChatGPT/Claude exports, plus an MCP server for Claude Code.

Who it is for: Self-hosters wanting private semantic search over personal data on a laptop

Ranked among open-source alternatives to Pinecone (#4 of 10).

Strengths

  • Claims 97% less storage than conventional vector DBs; 60M chunks in 6GB vs 201GB
  • HNSW and DiskANN backends, selectable with --backend-name
  • Works with Ollama, LM Studio, vLLM, llama.cpp or any OpenAI-compatible endpoint
  • Ready-made ingestion for mail, chat history, browser history and PDFs, plus an MCP server

Weaknesses

  • Embeddings are recomputed at query time, adding search latency and compute cost
  • Prebuilt macOS wheels need macOS 15 or later; macOS 14 must pin 0.3.9 or build
  • Building from source with DiskANN needs many native dependencies (MKL, Boost, protobuf, ZeroMQ)
  • Coding-agent benchmark covers only 30 SWE-Bench Pro tasks, a small sample

What it needs

  • GPU optional
  • Docker
  • Needs uv, Python 3.10-3.14, Ollama or OpenAI-compatible API (optional)
  • Models: HuggingFace, Ollama, OpenAI-compatible APIs, Anthropic, sentence-transformers

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Head to head

Also in Vector databases

See all 34
Also in Vector databases
RankProjectScore
2QdrantRust vector database with payload filtering, REST and gRPC Live demo ↗ (opens in a new tab)35.8k stars+470 (+1.3%) in 30 daysApache-2.087 out of 100
3MeilisearchRust search engine with typo tolerance, filtering and hybrid semantic search Live demo ↗ (opens in a new tab)60k stars+381 (+0.6%) in 30 dayscustom license85 out of 100
#5HelixDBGraph database with built-in vector and BM25 search, written in Rust6.3k stars+76 (+1.2%) in 30 daysApache-2.083 out of 100
#6faissC++ library for similarity search and clustering of dense vectors42k starsMIT82 out of 100
#7lancedbEmbedded vector database for multimodal data on the Lance format12k stars+207 (+1.8%) in 30 daysApache-2.082 out of 100