GitHub · #616

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. On Linux: git clone, python3 -m venv .venv, then pip install -e . 13,033 GitHub stars (#616 in this directory).

Repository
https://github.com/StarTrail-org/LEANN
Homepage
https://arxiv.org/abs/2506.08276
Owner
StarTrail-org (Organization)
Stars
13,033
Forks
1,281
Open issues
46
Language
Python
License
MIT
Created
2025-06-09
Last push
2026-10-17
Topics
ai, faiss, gpt-oss, langchain, llama-index, llm, localstorage, offline-first, ollama, privacy, python, rag
Snapshot
2026-10-18 · weekly refresh

Try it on Shadowfetch Linux.

Shadowfetch Linux is a Debian testing desktop with KDE Plasma, local AI tools, and ShadowCode. Clone this repository there, follow the steps for its primary language, and ask ShadowCode to finish the build.

Clone and set up a Python environment.

git clone https://github.com/StarTrail-org/LEANN.git
cd LEANN
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

If the project has no installable package, use the README’s requirements file or conda notes instead of pip install -e .

ShadowCode prompt.

Paste this into ShadowCode after you open the project.

Clone https://github.com/StarTrail-org/LEANN into ~/Workspaces/LEANN.
Read the README.
On this Shadowfetch Linux desktop, create a Python virtualenv, install from the README, then run or import the project.
Ask before installing packages or using the network.

Download Shadowfetch Linux — ISO, checksum and signature.

Back to the GitHub directory · Methodology