LEANN logo

LEANN

StarTrail-org/LEANN

RAG on Everything with LEANN

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

55views this month

13k stars1.1k forksLast push Jul 31, 2026 Python MIT

Decision brief

LEANN is a retrieval-augmented generation (RAG) application that provides substantial storage savings and ensures privacy. It supports various models such as ColQwen2 and ColPali, making it easy to integrate into Python,

Good fit when

  • When you need significant storage savings, LEANN offers up to 97% reduction compared to other solutions.
  • If privacy is a top concern, use LEANN for fully private RAG applications directly on your device without relying on cloud services.

Avoid when

  • Avoid using LEANN if you have strict hardware limitations since it requires the installation of both Python and C++ dependencies.
  • LEANN may not be suitable for users who prefer tools that do not demand manual setup of vector databases or models like Ollama and ColQwen2.

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Active (17d since push)
As of Aug 18, 2026
Provenance
Not a fork · Organization account
As of Aug 18, 2026
Security (OSV)
No lockfile
As of Jul 11, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install LEANN
PyPI

How it fits your stack(15)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Alternative

Integrates

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

LEANN offers retrieval-augmented generation (RAG) applications with significant storage savings and privacy.

Capability facts

CLI
CLI entrypoint

Source: pyproject.toml:[project.scripts] · Aug 18, 2026

Languages
python

Source: github.language+pyproject.toml · Aug 18, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Aug 18, 2026)

```python from leann import LeannBuilder, LeannSearcher, LeannChat
Source link

Tags

README

📦 Prerequisites: Install uv Install uv first if you don't have it. Typically, you can install it with: 🚀 Quick Install Clone the repository to access all examples and try amazing applications, and install LEANN from PyPI to run them immediately: python from leann import LeannBu...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.