Introduction
LEANN is an innovative vector database and personal AI platform. It transforms your laptop into a powerful RAG (Retrieval-Augmented Generation) system, enabling semantic search across millions of documents—file system, emails, browser history, chat logs, codebase, or external knowledge bases—locally, with zero cloud cost and full privacy.
Key Features
- 97% storage reduction vs. traditional solutions, no accuracy loss
- Graph-based selective recomputation and high-degree preserving pruning
- Computes embeddings on-demand, not stored
- Ready-to-use RAG for everything: documents, code, emails, history
- Fully compatible with Claude Code (MCP), drop-in semantic search
- Open-source, privacy-first, zero cloud dependency
Use Cases
- Personal AI assistant on your laptop
- Semantic search for local and external knowledge bases
- Private, cost-free RAG for enterprise or individual
- Intelligent retrieval for code, documents, and more
Technical Highlights
- Graph-based vector storage and pruning
- On-demand embedding computation
- Python implementation, easy to extend
- MCP service, compatible with Claude Code