Self-hosted RAG and knowledge base apps for small businesses

Short answer

We track 22 self-hostable knowledge-base / RAG apps: RAGFlow, AFFiNE, AppFlowy, AnythingLLM, PrivateGPT, Open Notebook, LightRAG, WeKnora, Langchain-Chatchat, Onyx (formerly Danswer), Karakeep, FastGPT, kotaemon, MaxKB, LocalGPT, Linkwarden, DocsGPT, QAnything, R2R, OpenAgent, PipesHub, Morphik Core.

Most popular on GitHub: RAGFlow (95.2k stars).

Lowest official hardware: AnythingLLM (minimum 2 vCPU · 2 GB RAM · 5 GB disk, from €16.99/month on our reference server).

Permissive license (MIT/Apache-2.0, fewest conditions): RAGFlow, AnythingLLM, PrivateGPT, Open Notebook, LightRAG, WeKnora, Langchain-Chatchat, kotaemon, LocalGPT, DocsGPT, R2R, OpenAgent, PipesHub.

No official hardware figure published: PrivateGPT, LightRAG, Langchain-Chatchat, Karakeep, kotaemon, DocsGPT, R2R, OpenAgent.

Last updated · generated from the same verified data as each app page

Comparison table

Self-hosted RAG and knowledge base apps for small businesses
AppWhat it isLicenseOfficial hardwareEst. server costGitHub starsStatus
RAGFlowRAG engine with deep document parsing (OCR, layout and tables) and cited answers.Apache-2.0 (Permissive)recommended 4 vCPU · 16 GB RAM · 50 GB disk (no separate minimum published)from €59.49/mo95.2kActive
AFFiNENotion- and Miro-style workspace (docs, whiteboards, databases) with built-in AI, self-hostable with Docker.MIT (Community Edition) with Enterprise Edition license for server code (Open core)recommended 4 vCPU · 2 GB RAM (no separate minimum published)from €30.49/mo82.5kActive
AppFlowyOpen-source Notion-style AI workspace (docs, databases, boards) with desktop apps and a self-hosted cloud server.AGPL-3.0 (client); AppFlowy Self-Hosted Commercial License (current server images) (Open core)recommended 4 vCPU · 16 GB RAM (no separate minimum published)from €59.49/mo80.0kActive
AnythingLLMAll-in-one private chat with your documents, agents and an embeddable widget.MIT (Permissive)minimum 2 vCPU · 2 GB RAM · 5 GB diskfrom €16.99/mo69.0kActive
PrivateGPTAPI-first private document Q&A that sits on top of your own LLM server.Apache-2.0 (Permissive)Not publishedNot estimated (no official RAM figure)57.7kActive
Open NotebookPrivate, self-hosted alternative to Google NotebookLM with your choice of AI models.MIT (Permissive)minimum 4 GB RAMfrom €16.99/mo42.5kActive
LightRAGGraph-based RAG server that builds a knowledge graph from your documents, with a web UI and REST API.MIT (Permissive)Not publishedNot estimated (no official RAM figure)41.0kActive
WeKnoraTencent's open-source knowledge-base and agent platform with document parsing, RAG and team workspaces.MIT (with third-party components) (Permissive)recommended 4 vCPU · 8 GB RAM (no separate minimum published)from €30.49/mo38.9kActive
Langchain-ChatchatChinese-first local knowledge-base Q&A and agent app built on LangChain, wired to local model servers.Apache-2.0 (Permissive)Not publishedNot estimated (no official RAM figure)38.7kStale (no commit in 180+ days)
Onyx (formerly Danswer)AI chat and enterprise search connected to 50+ workplace apps.MIT (Community Edition) + Onyx Enterprise License (ee directories) (Open core)minimum 4 vCPU · 10 GB RAM · 32 GB disk (recommended 8 vCPU · 16 GB RAM · 500 GB disk)from €59.49/mo33.7kActive
KarakeepSelf-hosted bookmark and read-later app (formerly Hoarder) with AI tagging, summaries and full-text search.AGPL-3.0 (Network copyleft (AGPL))Not publishedNot estimated (no official RAM figure)31.1kActive
FastGPTKnowledge-base Q&A and visual AI workflow platform.FastGPT Open Source License (Apache-2.0 with conditions) (Custom / conditional)minimum 2 vCPU · 4 GB RAM (recommended 2 vCPU · 8 GB RAM)from €16.99/mo30.2kActive
kotaemonOpen-source RAG web app for chatting with your documents, with citations and GraphRAG.Apache-2.0 (Permissive)Not publishedNot estimated (no official RAM figure)25.9kStale (no commit in 180+ days)
MaxKBEnterprise knowledge-base and agent platform with RAG and workflows.GPL-3.0 (Copyleft (GPL))minimum 4 vCPU · 8 GB RAM · 100 GB diskfrom €30.49/mo23.3kActive
LocalGPTChat with your documents through a local RAG stack that talks to Ollama.MIT (Permissive)minimum 4 vCPU · 8 GB RAM · 50 GB disk (recommended 8 vCPU · 32 GB RAM · 200 GB disk)from €30.49/mo22.2kActive
LinkwardenCollaborative bookmark preservation with configurable AI tagging.AGPL-3.0 (Network copyleft (AGPL))minimum 2 vCPU (recommended 4 GB RAM)from €16.99/mo20.6kActive
DocsGPTOpen-source platform for AI agents and assistants that answer from your documents with sources.MIT (Permissive)Not publishedNot estimated (no official RAM figure)18.4kActive
QAnythingLocal knowledge-base Q&A over many file types, with hybrid search and cited answers, started with one Docker Compose command.AGPL-3.0 (Network copyleft (AGPL))minimum 20 GB RAMfrom €85.49/mo14.2kActive
R2RProduction RAG platform with a REST API, hybrid search, knowledge graphs and an agentic Deep Research mode.MIT (Permissive)Not publishedNot estimated (no official RAM figure)8.1kStale (no commit in 180+ days)
OpenAgentSelf-hosted AI assistant with RAG, agent tools, SSO and an admin UI, shipped as a single binary.Apache-2.0 (Permissive)Not publishedNot estimated (no official RAM figure)5.8kActive
PipesHubSelf-hosted workplace search and AI answers across 50+ connected apps, filtered by each user's permissions.Apache-2.0 (Permissive)minimum 8 GB RAM (recommended 16 GB RAM)from €30.49/mo4.2kActive
Morphik CoreMultimodal document retrieval engine for RAG over PDFs, images and visually rich files, with an API, SDKs and MCP.Business Source License 1.1 (Apache-2.0 after four years) (Source-available)recommended 8 GB RAM (no separate minimum published)from €30.49/mo3.7kActive

Apps from our "Knowledge base & RAG" category, sorted by GitHub stars. We do not rank by quality; pick by the criterion that matters to you. Cost = cheapest Hetzner Cloud Regular Performance (shared AMD vCPU) plan that meets the project's official RAM and vCPU figure, list price read on 2026-11-30, excl. VAT, server only (no LLM API usage, backups or your time).

Frequently asked questions

What is the best self-hosted RAG app for a small business?

Most popular on GitHub: RAGFlow (95.2k stars). Lowest official hardware: AnythingLLM (minimum 2 vCPU · 2 GB RAM · 5 GB disk, from €16.99/month on our reference server). Permissive license (MIT/Apache-2.0, fewest conditions): RAGFlow, AnythingLLM, PrivateGPT, Open Notebook, LightRAG, WeKnora, Langchain-Chatchat, kotaemon, LocalGPT, DocsGPT, R2R, OpenAgent, PipesHub. No official hardware figure published: PrivateGPT, LightRAG, Langchain-Chatchat, Karakeep, kotaemon, DocsGPT, R2R, OpenAgent. The right choice depends on which of these matters most to you.

Which self-hosted knowledge base needs the least hardware?

AnythingLLM: minimum 2 vCPU · 2 GB RAM · 5 GB disk (from €16.99/month); Open Notebook: minimum 4 GB RAM (from €16.99/month); FastGPT: minimum 2 vCPU · 4 GB RAM (recommended 2 vCPU · 8 GB RAM) (from €16.99/month); Linkwarden: minimum 2 vCPU (recommended 4 GB RAM) (from €16.99/month); AFFiNE: recommended 4 vCPU · 2 GB RAM (no separate minimum published) (from €30.49/month); WeKnora: recommended 4 vCPU · 8 GB RAM (no separate minimum published) (from €30.49/month); MaxKB: minimum 4 vCPU · 8 GB RAM · 100 GB disk (from €30.49/month); LocalGPT: minimum 4 vCPU · 8 GB RAM · 50 GB disk (recommended 8 vCPU · 32 GB RAM · 200 GB disk) (from €30.49/month); PipesHub: minimum 8 GB RAM (recommended 16 GB RAM) (from €30.49/month); Morphik Core: recommended 8 GB RAM (no separate minimum published) (from €30.49/month); RAGFlow: recommended 4 vCPU · 16 GB RAM · 50 GB disk (no separate minimum published) (from €59.49/month); AppFlowy: recommended 4 vCPU · 16 GB RAM (no separate minimum published) (from €59.49/month); Onyx (formerly Danswer): minimum 4 vCPU · 10 GB RAM · 32 GB disk (recommended 8 vCPU · 16 GB RAM · 500 GB disk) (from €59.49/month); QAnything: minimum 20 GB RAM (from €85.49/month).

Which self-hosted RAG apps have an MIT or Apache license?

RAGFlow, AnythingLLM, PrivateGPT, Open Notebook, LightRAG, WeKnora, Langchain-Chatchat, kotaemon, LocalGPT, DocsGPT, R2R, OpenAgent, PipesHub. AFFiNE uses MIT (Community Edition) with Enterprise Edition license for server code. AppFlowy uses AGPL-3.0 (client); AppFlowy Self-Hosted Commercial License (current server images). Onyx (formerly Danswer) uses MIT (Community Edition) + Onyx Enterprise License (ee directories). Karakeep uses AGPL-3.0. FastGPT uses FastGPT Open Source License (Apache-2.0 with conditions). MaxKB uses GPL-3.0. Linkwarden uses AGPL-3.0. QAnything uses AGPL-3.0. Morphik Core uses Business Source License 1.1 (Apache-2.0 after four years).

Related

Every figure on this page comes from the linked app pages, which cite the project's own repository and docs. Spotted something wrong? Tell us.