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

LEANN vs Memori

Side-by-side 2026 comparison in RAG, Data & Memory: MemoriLabs/Memori leads both total GitHub adoption (★ 17.8k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs Custom / Check Repo.

Cumulative Star Gain Chart (Embeddable SVG)

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

LEANN vs Memori — 14-Day Star Velocity Comparison on RepoForAI.com 14-DAY CUMULATIVE STAR GAIN COMPARISON REPOFORAI.COM LEANN ★ 13.8k (+39/7d) Memori ★ 17.8k (+259/7d) +281 +141 0 11-18 11-25 12-01 (D1 snapshot)
StarTrail-org/LEANN (Health A+ 96/100) vs MemoriLabs/Memori (Health B+ 71/100) multi-day star momentum.
Compare different repos →

Key Metrics Matrix

DimensionStarTrail-org/LEANNMemoriLabs/Memori
Total GitHub Stars★ 13,847★ 17,845
24h / 7d Velocity+0 / +39+26 / +259
7-Day Trend Curve
Engineering HealthA+ · 96/100B+ · 71/100
Deployment SignalsLocal AI · Self-Hosted · MCP · CLIDocker · Self-Hosted · API
Primary LanguagePythonPython
Commercial LicenseMIT · Commercial FriendlyCustom / Check Repo
ActivityUpdated todayUpdated 1mo ago
Latest Releasev0.3.9v3.3.6
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 with an existing LLM application or agent host that need to carry user preferences, decisions, or execution history across sessions without replacing their datastore
Maintaining LEANN, Memori, 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

Memori · Highlights & Quickstart

Memory scope: Entity and process attribution is required for memory creation; session IDs group multi-step interactions.
Execution capture: The OpenClaw plugin records tool calls, decisions, and outcomes after each turn; Hermes exposes explicit recall and summary tools.
Provider coverage: OpenAI Chat Completions and Responses API, Anthropic, Bedrock, Gemini, DeepSeek, and Grok, with streaming and sync/async modes listed.
Hosted integration: Python and TypeScript SDKs coexist with a hosted HTTP MCP endpoint for supported clients that do not need SDK integration.
npm install @memorilabs/memori

LEANN vs Memori FAQ

How do LEANN and Memori differ on commercial licensing?

StarTrail-org/LEANN uses MIT · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.), whereas MemoriLabs/Memori uses Custom / Check Repo (Custom or unspecified license; verify LICENSE file in the repository before commercial use.).

Which is growing faster in 2026: LEANN or Memori?

According to RepoForAI's 6-hour GitHub telemetry, LEANN has 13,847 stars (+39 in 7d) vs. Memori with 17,845 stars (+259 in 7d).

When should engineering teams pick LEANN vs Memori?

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 Memori (Python) for: Teams with an existing LLM application or agent host that need to carry user preferences, decisions, or execution history across sessions without replacing their datastore.

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