StarTrail-org/LEANN
[MLsys2026]: RAG on Everything with LEANN. Enjoy 97% storage savings while running a fast, accurate, and 100% private RAG application on your personal device. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 74
- Longevity 32
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 450
- days_rel: 178
- days_push: 8
- n_releases_24m: 28
Adoption not part of the score
12836 stars · 1152 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
LEANN is a low-storage vector index that enables retrieval-augmented generation (RAG) on personal devices by recomputing embeddings on the fly instead of storing them, achieving up to 97% (50x) storage savings with no accuracy loss. It ships as a Python library and CLI with integrations for Ollama, LangChain, LlamaIndex, and MCP, letting users semantically search files, emails, browser history, and documents fully offline and privately.
Use cases
- run a private RAG assistant on my laptop over my own documents
- semantic search across PDFs, emails, and files without uploading data to the cloud
- build a vector index that doesn't blow up my disk with embeddings
- chat with my local files using Ollama models offline
- index millions of documents on a personal device with minimal storage
- add retrieval-augmented generation to a LangChain or LlamaIndex app
- query my codebase or browser history locally with an MCP-connected agent
When to choose
- you need 100% private, offline RAG on a laptop or personal device
- storage overhead of traditional vector indices (FAISS, etc.) is a blocker
- you want local semantic search over heterogeneous personal data (files, email, browser history)
- you use Ollama, LangChain, LlamaIndex, or MCP and want drop-in RAG
When to avoid
- you need a distributed, multi-node vector database for server-scale deployments
- your workload demands the lowest possible query latency and can afford large storage
- you need GPU-accelerated or heavily optimized production serving today
- you require a managed service with built-in replication and sharding
Facets
library · maturity active
vector-database rag search-engine llm-inference mcp large-language-models databases privacy self-hosted windows python cli self-hosted local-rag vector-index storage-efficient semantic-search ollama personal-ai offline-first embeddings retrieval-augmented-generation search macos linux
6 sources
- readme: https://github.com/StarTrail-org/LEANN · fetched 2026-08-28 · bd83287695ae
- homepage: https://arxiv.org/abs/2506.08276 · fetched 2026-08-29 · 937419d25e95
- site_page: https://info.arxiv.org/about/donate.html · fetched 2026-08-29 · cca9c3a11c56
- site_page: https://info.arxiv.org/about/ourmembers.html · fetched 2026-08-29 · 47cbc55ff1de
- site_page: https://info.arxiv.org/about · fetched 2026-08-29 · a1f16f915a9a
- site_page: https://info.arxiv.org/labs/index.html · fetched 2026-08-29 · b14a8d05a0ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| StarTrail-org/LEANN | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="StarTrail-org/LEANN")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem