# 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\.

Canonical: https://starboard.codevetter.com/explore/StarTrail-org/LEANN

[Back to Discover](https://starboard.codevetter.com/discover)

![StarTrail\-org](https://avatars.githubusercontent.com/u/288858980?v=4&s=40)

StarTrail\-org

# LEANN

[View on GitHub
](https://github.com/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\.

ai
faiss
gpt\-oss
langchain
llama\-index
llm
localstorage
offline\-first
ollama
privacy
python
rag
retrieval\-augmented\-generation
vector\-database
vector\-search
vectors


14k stars

Python

Updated 1d ago

Created Jun 9, 2025

## Star history

\+2,047 stars
17\.4% growth


## Detected tools

[CMake](https://starboard.codevetter.com/tools/cmake)
[FastAPI](https://starboard.codevetter.com/tools/fastapi)
[LlamaIndex](https://starboard.codevetter.com/tools/llamaindex)
[OpenAI](https://starboard.codevetter.com/tools/openai)
[Ruff](https://starboard.codevetter.com/tools/ruff)
[Transformers](https://starboard.codevetter.com/tools/transformers)
[pytest](https://starboard.codevetter.com/tools/pytest)
[Docker](https://starboard.codevetter.com/tools/docker)
[GitHub Actions](https://starboard.codevetter.com/tools/github-actions)
[LangChain](https://starboard.codevetter.com/tools/langchain)


Tool detection is evidence\-based, not a full runtime audit\. Package manifests, lockfiles, and SBOMs are high\-confidence; README, topics, and AI metadata are lower\-confidence signals\. Repository language is metadata, not counted as a tool\. Accuracy varies by ecosystem, especially for C/C\+\+ and custom monorepos\.

- CMake  · 98% confidence · Sources: github\-sbom, packages/leann\-backend\-diskann/CMakeLists\.txt, packages/leann\-backend\-hnsw/CMakeLists\.txt · Detected Jul 24, 2026

- FastAPI  · 98% confidence · Sources: github\-sbom, packages/leann\-core/pyproject\.toml · Detected Jul 24, 2026

- LlamaIndex  · 98% confidence · Sources: github\-sbom, github\-topic, pyproject\.toml · Detected Jul 24, 2026

- OpenAI  · 98% confidence · Sources: github\-sbom, packages/leann\-core/pyproject\.toml, pyproject\.toml · Detected Jul 24, 2026

- Ruff  · 98% confidence · Sources: github\-sbom, pyproject\.toml · Detected Jul 24, 2026

- Transformers  · 98% confidence · Sources: github\-sbom, packages/leann\-core/pyproject\.toml, pyproject\.toml · Detected Jul 24, 2026

- pytest  · 98% confidence · Sources: github\-sbom, pyproject\.toml · Detected Jul 24, 2026

- Docker  · 90% confidence · Sources: docker/Dockerfile · Detected Jul 24, 2026

- GitHub Actions  · 88% confidence · Sources: \.github/workflows/build\-and\-publish\.yml, \.github/workflows/build\-reusable\.yml, \.github/workflows/link\-check\.yml, \.github/workflows/release\-manual\.yml · Detected Jul 24, 2026

- LangChain  · 55% confidence · Sources: github\-topic · Detected Jul 24, 2026

## Similar projects

[![datawhalechina](https://avatars.githubusercontent.com/u/46047812?v=4&s=24)

datawhalechina/ all\-in\-rag

🔍大模型应用开发实战一：RAG 技术全栈指南，在线阅读地址：https://datawhalechina\.github\.io/all\-in\-rag/

Python 13k 65%](https://starboard.codevetter.com/explore/datawhalechina/all-in-rag)[![vitali87](https://avatars.githubusercontent.com/u/22404335?v=4&s=24)

vitali87/ code\-graph\-rag

The ultimate RAG for your monorepo\. Query, understand, and edit multi\-language codebases with the power of AI and knowledge graphs

Python 5\.4k 63%](https://starboard.codevetter.com/explore/vitali87/code-graph-rag)[![chatchat\-space](https://avatars.githubusercontent.com/u/139558948?v=4&s=24)

chatchat\-space/ Langchain\-Chatchat

Langchain\-Chatchat（原Langchain\-ChatGLM）基于 Langchain 与 ChatGLM, Qwen 与 Llama 等语言模型的 RAG 与 Agent 应用 \| Langchain\-Chatchat \(formerly langchain\-ChatGLM\), local knowledge based LLM \(like ChatGLM, Qwen and Llama\) RAG and Agent app with langchain

Python 39k 61%](https://starboard.codevetter.com/explore/chatchat-space/Langchain-Chatchat)[![memvid](https://avatars.githubusercontent.com/u/241489775?v=4&s=24)

memvid/ memvid

Memory layer for AI Agents\. Replace complex RAG pipelines with a serverless, single\-file memory layer\. Give your agents instant retrieval and long\-term memory\.

Rust 17k 62%](https://starboard.codevetter.com/explore/memvid/memvid)[![swirlai](https://avatars.githubusercontent.com/u/125765320?v=4&s=24)

swirlai/ swirl\-search

AI Search & RAG Without Moving Your Data\. Get instant answers from your company's knowledge across 100\+ apps while keeping data secure\. Deploy in minutes, not months\.

Python 3\.0k 64%](https://starboard.codevetter.com/explore/swirlai/swirl-search)[![pathwaycom](https://avatars.githubusercontent.com/u/25750857?v=4&s=24)

pathwaycom/ llm\-app

Ready\-to\-run cloud templates for RAG, AI pipelines, and enterprise search with live data\. 🐳Docker\-friendly\.⚡Always in sync with Sharepoint, Google Drive, S3, Kafka, PostgreSQL, real\-time data APIs, and more\.

Jupyter Notebook 59k 63%](https://starboard.codevetter.com/explore/pathwaycom/llm-app)[![dataelement](https://avatars.githubusercontent.com/u/103249391?v=4&s=24)

dataelement/ bisheng

BISHENG is an open LLM devops platform for next generation Enterprise AI applications\. Powerful and comprehensive features include: GenAI workflow, RAG, Agent, Unified model management, Evaluation, SFT, Dataset Management, Enterprise\-level System Management, Observability and more\.

Python 12k 60%](https://starboard.codevetter.com/explore/dataelement/bisheng)[![athina\-ai](https://avatars.githubusercontent.com/u/139258696?v=4&s=24)

athina\-ai/ rag\-cookbooks

This repository contains various advanced techniques for Retrieval\-Augmented Generation \(RAG\) systems\.

Jupyter Notebook 2\.6k 63%](https://starboard.codevetter.com/explore/athina-ai/rag-cookbooks)
