AltHub

StarTrail-org/LEANN Alternatives

retrieval-augmented generation / vector database

LEANN is a Python vector database library for private, offline RAG that compresses embeddings via graph-based selective recomputation to save ~97% storage, enabling semantic search over personal documents on local devices.

12.8kPythonMITactive · last push 2mo agoGitHub

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

neuml/txtaiGitHub

Choose when you need a broader all-in-one AI framework with semantic search and LLM orchestration instead of a storage-optimized vector DB.

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

12.9k
Python
Apache-2.0
active2mo ago
HKUDS/LightRAGGitHub

Choose when you prefer a graph-based RAG index with simpler integration and do not require LEANN's embedding compression.

[EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation

39.1k
Python
MIT
active2mo ago
microsoft/graphragGitHub

Choose when you need a modular, production-tested graph-RAG pipeline with entity extraction for structured knowledge.

A modular graph-based Retrieval-Augmented Generation (RAG) system

35.6k
Python
MIT
active2mo ago
deepset-ai/haystackGitHub

Choose when you want a mature NLP framework with extensive pipeline control and retrieval components, accepting higher overhead.

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.

26.3k
Python
Apache-2.0
active2mo ago
HKUDS/RAG-AnythingGitHub

Choose when you want an all-in-one RAG framework with many data-source connectors and easy setup over low-level vector control.

"RAG-Anything: All-in-One RAG Framework"

23.0k
Python
MIT
active2mo ago
llmware-ai/llmwareGitHub

Choose when you target enterprise RAG with small specialized models and document-processing modules.

Unified framework for building enterprise RAG pipelines with small, specialized models

14.8k
Python
Apache-2.0
active5mo ago
VectifyAI/PageIndexGitHub

Choose when you want a vectorless, reasoning-based document index to avoid embedding storage altogether.

📑 PageIndex: Document Index for Vectorless, Reasoning-based RAG

35.3k
Python
MIT
active2mo ago
SciPhi-AI/R2RGitHub

Choose when you want a production-ready RAG server with REST API and retrieval evaluation instead of a library you embed.

SoTA production-ready AI retrieval system. Agentic Retrieval-Augmented Generation (RAG) with a RESTful API.

8.0k
Python
MIT
slowing11mo ago
OpenBMB/UltraRAGGitHub

Choose when you want low-code, MCP-based RAG pipeline assembly with less low-level manipulation.

A Low-Code MCP Framework for Building Complex and Innovative RAG Pipelines

5.7k
Python
Apache-2.0
active2mo ago

End-user tools

Does the same job, but ships as an app. Useful to a person, not swappable into a codebase.

Tencent/WeKnoraGitHub

Choose when you want a self-hosted knowledge platform with UI and document management rather than a programmatic library.

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

20.4k
Go
NOASSERTION
active2mo ago
infiniflow/ragflowGitHub

Choose when you want a full-featured RAG engine with UI, deep document parsing, and agent capabilities rather than a library.

RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs

89.1k
Go
Apache-2.0
active2mo ago
zylon-ai/private-gptGitHub

Choose when you want a ready-to-run private AI API service with RAG endpoints, not an embeddable library.

Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more. Works with any OpenAI-compatible inference server.

57.5k
Python
Apache-2.0
active2mo ago
eosphoros-ai/DB-GPTGitHub

Choose when you want an agentic data assistant platform with SQL and agent integration, not a library.

open-source agentic AI data assistant for the next generation of AI + Data products.

19.9k
Python
MIT
active1mo ago
khoj-ai/khojGitHub

Choose when you want a self-hostable personal AI assistant app with web UI and multiple integrations.

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.

36.7k
Python
AGPL-3.0
active3mo ago
onyx-dot-app/onyxGitHub

Choose when you want a full AI chat platform with connectors and UI, not a library.

Open Source AI Platform - AI Chat with advanced features that works with every LLM

31.7k
Python
NOASSERTION
active2mo ago
1Panel-dev/MaxKBGitHub

Choose when you need an enterprise-grade agent-building platform with UI and knowledge base management.

🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。

22.6k
Python
GPL-3.0
active2mo ago
arc53/DocsGPTGitHub

Choose when you want a private AI assistant platform with document analysis and enterprise search.

Private AI platform for agents, assistants and enterprise search. Built-in Agent Builder, Deep research, Document analysis, Multi-model support, and API connectivity for agents.

18.2k
Python
MIT
active2mo ago
LearningCircuit/local-deep-researchGitHub

Choose when you want a dedicated deep-research app that searches web and local docs, not a programmable RAG library.

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

9.0k
Python
MIT
active2mo ago
the-open-agent/openagentGitHub

Choose when you want a full personal AI assistant app with computer-use and agent automation.

⚡️next-generation personal AI assistant powered by LLM, RAG and agent loops, supporting computer-use, browser-use and coding agent, demo: https://demo.openagentai.org

5.5k
Go
Apache-2.0
active2mo ago
ItzCrazyKns/VaneGitHub

Choose when you want a standalone AI answering engine rather than an embeddable RAG library.

Vane is an AI-powered answering engine.

36.4k
TypeScript
MIT
active6mo ago

Listed as an alternative to

These projects were analysed and named LEANN among their alternatives. The relationship is not symmetric — how LEANN rates them is a separate judgement, made when LEANN is analysed in its own right.

PromtEngineer/localGPTGitHub

calls LEANN “Choose when you want 97% storage savings while keeping a fast, private RAG application on a personal device.”

Chat with your documents on your local device using GPT models. No data leaves your device and 100% private.

22.2kPythonactive
llmware-ai/llmwareGitHub

calls LEANN “Choose if you want a privacy-focused RAG system with 97% storage compression on-device.”

Unified framework for building enterprise RAG pipelines with small, specialized models

14.8kPythonactive
infiniflow/ragflowGitHub

calls LEANN “Choose it when you want on-device, storage-efficient private RAG with lower resource use.”

RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs

89.1kGoactive
pathwaycom/llm-appGitHub

calls LEANN “when you need a private, storage-efficient RAG for personal devices”

Ready-to-run cloud templates for RAG, AI pipelines, and enterprise search with live data. 🐳Docker-friendly.⚡Always in sync with Sharepoint, Google Drive, S3, Kafka, PostgreSQL, real-time data APIs, and more.

59.0kJupyter Notebookactive
zylon-ai/private-gptGitHub

calls LEANN “Choose if you need highly optimized local RAG with minimal storage footprint.”

Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more. Works with any OpenAI-compatible inference server.

57.5kPythonactive
HKUDS/LightRAGGitHub

calls LEANN “Choose when you need a lightweight, private on-device RAG with extreme storage compression, using a different indexing strategy.”

[EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation

39.1kPythonactive
chatchat-space/Langchain-ChatchatGitHub

calls LEANN “Private on-device RAG with storage-optimized indexing (97% savings); choose if you need efficient storage and fast local retrieval.”

Langchain-Chatchat(原Langchain-ChatGLM)基于 Langchain 与 ChatGLM, Qwen 与 Llama 等语言模型的 RAG 与 Agent 应用 | Langchain-Chatchat (formerly langchain-ChatGLM), local knowledge based LLM (like ChatGLM, Qwen and Llama) RAG and Agent app with langchain

38.6kPythonslowing
microsoft/graphragGitHub

calls LEANN “Choose it when you need a private, local RAG with storage savings rather than a graph-indexing pipeline.”

A modular graph-based Retrieval-Augmented Generation (RAG) system

35.6kPythonactive
VectifyAI/PageIndexGitHub

calls LEANN “Use when you want a private, storage-efficient local RAG system with a learned-index approach rather than PageIndex's LLM-reasoning retrieval.”

📑 PageIndex: Document Index for Vectorless, Reasoning-based RAG

35.3kPythonactive
HKUDS/RAG-AnythingGitHub

calls LEANN “Compression-first on-device RAG; choose when storage footprint and privacy on personal devices are the priority.”

"RAG-Anything: All-in-One RAG Framework"

23.0kPythonactive
Tencent/WeKnoraGitHub

calls LEANN “choose for a private, on-device RAG with extreme storage savings if you don't need a full server platform.”

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

20.4kGoactive
memvid/memvidGitHub

calls LEANN “Choose when you want a highly storage-efficient, private on-device RAG system instead of a simple embedded memory layer.”

Memory layer for AI Agents. Replace complex RAG pipelines with a serverless, single-file memory layer. Give your agents instant retrieval and long-term memory.

16.4kRustactive
MODSetter/SurfSenseGitHub

calls LEANN “when you want a highly storage-efficient private on-device RAG app, not live web research.”

Open-source NotebookLM alternative. Research the open web with live data(Reddit, YT, IG, TikTok, Indeed, Google Search, Maps etc) through one platform, API or MCP server. Join our Discord: https://discord.gg/ejRNvftDp9

16.0kPythonactive
neuml/txtaiGitHub

calls LEANN “Choose when storage constraints and on-device privacy matter more than txtai's full feature set.”

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

12.9kPythonactive
Future-House/paper-qaGitHub

calls LEANN “choose when you need storage-efficient, private on-device RAG rather than citation-grounded scientific Q&A.”

High accuracy RAG for answering questions from scientific documents with citations

9.1kPythonactive
SciPhi-AI/R2RGitHub

calls LEANN “Choose when storage efficiency and privacy on personal devices are more important than R2R's production features.”

SoTA production-ready AI retrieval system. Agentic Retrieval-Augmented Generation (RAG) with a RESTful API.

8.0kPythonslowing
airweave-ai/airweaveGitHub

calls LEANN “Choose it for local, storage-efficient personal-device RAG when you do not need multi-source connector sync or a shared search service.”

Open-source context retrieval layer for AI agents

6.6kPythonactive