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.

About the project

LEANN is a local vector database and retrieval system that lets a personal device search documents and other data by meaning rather than exact keywords. It is intended for private, laptop-based retrieval-augmented AI applications, including use with coding agents.

Latest release v0.3.9 — Release v0.3.9 · 2 Nov 2026

1 file for Claude Code: LEANN CLAUDE.md — 2,437 tokens loaded in every session.

13,775Stars on the repository
1Files it configures its agents with
2,437Tokens loaded in every session
1Agent configured

Instructions

These files are StarTrail-org/LEANN's own configuration — they tell Claude Code how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.