← All Comparisons (/vs)
HEAD-TO-HEAD TECHNICAL COMPARISON (2026)

LEANN vs Yuxi

Cross-track 2026 comparison (RAG, Data & Memory vs Agents & Frameworks): StarTrail-org/LEANN leads both total GitHub adoption (★ 13.8k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.

Cumulative Star Gain Chart (Embeddable SVG)

Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.

LEANN vs Yuxi — 14-Day Star Velocity Comparison on RepoForAI.com 14-DAY CUMULATIVE STAR GAIN COMPARISON REPOFORAI.COM LEANN ★ 13.8k (+39/7d) Yuxi ★ 7.8k (+33/7d) +69 +35 0 11-18 11-25 12-01 (D1 snapshot)
StarTrail-org/LEANN (Health A+ 96/100) vs xerrors/Yuxi (Health A+ 98/100) multi-day star momentum.
Compare different repos →

Key Metrics Matrix

DimensionStarTrail-org/LEANNxerrors/Yuxi
Total GitHub Stars★ 13,847★ 7,763
24h / 7d Velocity+0 / +39+2 / +33
7-Day Trend Curve
Engineering HealthA+ · 96/100A+ · 98/100
Deployment SignalsLocal AI · Self-Hosted · MCP · CLIDocker · Self-Hosted · MCP · API
Primary LanguagePythonPython
Commercial LicenseMIT · Commercial FriendlyMIT · Commercial Friendly
ActivityUpdated todayUpdated today
Latest Releasev0.3.9v0.8.0
Best ForLocal-first document and code retrieval where index storage or portability matters, and teams can benchmark the embedding model on their target hardware before adding generationTeams that need a shared workbench where staff can verify answers against internal sources and delegate multi-step work with approval and file delivery
Maintaining LEANN, Yuxi, or an open-source alternative? Reach engineers comparing this stack.
Feature Repo ($19)Sponsor Track

LEANN · Highlights & Quickstart

Index design: High-degree-preserving graph pruning and CSR storage reduce graph overhead; candidate embeddings are recomputed during search.
Storage benchmark: The 60-million-chunk comparison shows a 6 GB index versus 201 GB, about 97% less index storage.
Integration: Use LeannBuilder and LeannSearcher directly, add LeannChat for generation, or expose semantic search through MCP.
PDF retrieval: ColQwen2 and ColPali can use page layout and visual features; ColQwen supports Apple Silicon MPS acceleration.
curl -LsSf https://astral.sh/uv/install.sh | sh

Yuxi · Highlights & Quickstart

Durable intake: PostgreSQL Input and Receipt records separate raw submissions from idempotent acceptance.
Run lifecycle: Redis/ARQ workers execute dispatched runs, PostgreSQL retains final state, and Redis Streams carry short-lived updates.
Retrieval stack: Milvus combines vector and keyword search; Neo4j graphs can be built from indexed chunks.
Human oversight: Users can review proposed commands in conversation and inspect artifacts in a sandbox-backed workspace.
git clone --branch v0.8.0 --depth 1 https://github.com/xerrors/Yuxi.git
cd Yuxi
./scripts/init.sh
docker compose --profile container up --build -d

LEANN vs Yuxi FAQ

How do LEANN and Yuxi differ on commercial licensing?

StarTrail-org/LEANN uses MIT · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.), whereas xerrors/Yuxi uses MIT · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.).

Which is growing faster in 2026: LEANN or Yuxi?

According to RepoForAI's 6-hour GitHub telemetry, LEANN has 13,847 stars (+39 in 7d) vs. Yuxi with 7,763 stars (+33 in 7d).

When should engineering teams pick LEANN vs Yuxi?

Choose LEANN (Python) for: Local-first document and code retrieval where index storage or portability matters, and teams can benchmark the embedding model on their target hardware before adding generation. Choose Yuxi (Python) for: Teams that need a shared workbench where staff can verify answers against internal sources and delegate multi-step work with approval and file delivery.

More Head-to-Head Comparisons

WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare