StarTrail-org

    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.

    13.8K stars
    1.3K forks
    78 GitHub watchers
    Updated Nov 6, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    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 →

    Excerpt from the StarTrail-org/LEANN README on GitHub (MIT license). © its authors.Read the full README on GitHub

    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

    StarTrail-org/LEANN compared with AI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    D4Vinci/Scrapling101.1K+6.3K756 days ago
    thedotmack/claude-mem115.8K+4.7K75today
    heygen-com/hyperframes82.3K+4.0K75today
    harry0703/MoneyPrinterTurbo142.0K+3.8K753 days ago
    github/spec-kit149.2K+2.6K75today
    StarTrail-org/LEANN13.8K—603 days ago
    Category median115.8K+4.0K75—

    Discover Repositories

    Search across tracked repositories by name or description