StarTrail-org/LEANN
[MLsys2026 Best Paper]: https://arxiv.org/abs/2506.08276. RAG on Everything with LEANN. Enjoy 97% storage savings while running a fast, accurate, and 100% private RAG application on your personal device.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
2 releases in the last 90 days, the latest 3 days ago, with 62 contributors on GitHub.
Peaked at #3 in the weekly ranking the week of Dec 28, its best in the past year.
Use Cases & Benefits
- Implements a highly storage-efficient vector database enabling fast, accurate, and private retrieval-augmented generation (RAG) on personal devices.
- Achieves 97% storage savings over traditional vector databases by using graph-based selective recomputation and on-demand embedding computation without accuracy loss.
- Use for building a personal AI assistant that semantically searches your local documents, emails, browser history, chat logs, and codebase entirely offline.
- Use for integrating semantic search and intelligent code assistance into development workflows with AST-aware code chunking and native MCP support for Claude Code.
- Use for privacy-sensitive applications requiring local-only data processing and RAG on large personal datasets without cloud dependency or data leakage.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
LEANN is an innovative vector database that democratizes personal AI. Transform your laptop into a powerful RAG system that can index and search through millions of documents while using 97% less storage than traditional solutions without accuracy loss.
LEANN achieves this through graph-based selective recomputation with high-degree preserving pruning, computing embeddings on-demand instead of storing them all. Illustration Fig → | Paper →
Ready to RAG Everything? Transform your laptop into a personal AI assistant that can semantic search your file system, emails, browser history, chat history, codebase* , or external knowledge bases (i.e., 60M documents) - all on your laptop, with zero cloud costs and complete privacy.
* Claude Code only supports basic
grep-style keyword search. LEANN is a drop-in semantic search MCP service fully compatible with Claude Code, unlocking intelligent retrieval without changing your workflow. 🔥 Check out the easy setup →
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
1.3K+139
Open issues
49+7
Compared with peers in AI
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| D4Vinci/Scrapling | 101.1K | +6.3K | 75 | 6 days ago |
| thedotmack/claude-mem | 115.8K | +4.7K | 75 | today |
| heygen-com/hyperframes | 82.3K | +4.0K | 75 | today |
| harry0703/MoneyPrinterTurbo | 142.0K | +3.8K | 75 | 3 days ago |
| github/spec-kit | 149.2K | +2.6K | 75 | today |
| StarTrail-org/LEANN | 13.8K | — | 60 | 3 days ago |
| Category median | 115.8K | +4.0K | 75 | — |
Discover Repositories
Search across tracked repositories by name or description