LEANN logo

LEANN

StarTrail-org/LEANN

RAG on Everything with LEANN

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

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

Decision brief

Unverified catalog guidance: 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

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

Avoid when

  • Unverified catalog guidance: Avoid using LEANN if you have strict hardware limitations since it requires the installation of both Python and C++ dependencies.
  • Unverified catalog guidance: 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

Package installation is not established from the available documentation. Check the source repository for setup instructions.

git clone https://github.com/startrail-org/leann
Source repository

Relationship proposals(15)

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Alternatives

Integrations

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

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
Unknown; CLI entrypoint not verified

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.