QAnything
Local knowledge-base Q&A over many file types, with hybrid search and cited answers, started with one Docker Compose command.
Quick answer
QAnything is a local knowledge-base Q&A over many file types, with hybrid search and cited answers, started with one Docker Compose command, listed under Knowledge base & RAG. A typical small-business use: private Q&A over company PDFs, Office files and HTML without sending documents to a SaaS RAG host. Official hardware: minimum 20 GB RAM. That fits a Hetzner Cloud CPX52 server at about €85.49/month (server only, excl. VAT). License: AGPL-3.0, which allows internal business use.
Last updated · facts verified against official docs on · sources
Activity data comes from GitHub and was last refreshed Nov 23, 2026.
What is QAnything?
QAnything (Question and Answer based on Anything) is NetEase Youdao's RAG system for asking questions over uploaded documents. Version 2 runs as a multi-container Docker Compose stack with built-in embedding, rerank, OCR and PDF parsing on CPU, and talks to any OpenAI-compatible LLM (including Ollama) configured in the web UI. It aims at offline use once images and a local model are in place, and exposes both a front end and an HTTP API on port 8777.
Where it fits in a 10–200 person business
- Private Q&A over company PDFs, Office files and HTML without sending documents to a SaaS RAG host
- Offline knowledge base on an air-gapped machine after pulling images and a local LLM such as Ollama
- API back-end for other chat UIs that need retrieval over a large local document set
These use cases are our editorial suggestions, not claims made by the project.
Can a business use QAnything? (license)
| License | AGPL-3.0 |
|---|---|
| Type | Network copyleft (AGPL): Like GPL, and also applies when users access a modified version over a network. |
| Internal business use | Allowed under the license text |
| What to watch | Free for internal and commercial use. If you modify QAnything and let users interact with it over a network, you must offer them the modified source under AGPL-3.0. |
This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.
Data & compliance: does QAnything phone home?
| Telemetry (usage data sent to the vendor) | Not documented |
|---|---|
| Other calls home by default (updates, marketplaces, default cloud services) | Not documented Offline install is documented; LLM calls go to the OpenAI-compatible endpoint you configure (cloud or local). The docs do not say whether the stack phones home by default. |
| Single sign-on (OIDC / SAML / LDAP) | Not documented |
| Audit log | Not documented |
| Role-based access control (RBAC) | Not documented |
| Data residency / GDPR notes from the project | Documented The project describes offline installation and use with the network unplugged once images and a local LLM are available, so documents can stay on the host. |
Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.
What hardware does QAnything need?
| Minimum | 20 GB RAM |
|---|---|
| Recommended | Not published |
| GPU | CPU-only. Version 2.0.0 no longer uses a GPU; embedding, rerank and parsing run on CPU, and the LLM is reached through an OpenAI-compatible API. |
Official prerequisites table: RAM Memory >= 20GB; Docker >= 20.10.5 and Docker Compose >= 2.23.3 on Linux/Mac (Docker Desktop >= 4.26.1 on Windows). No CPU or disk minimum is published.
How much does it cost to host QAnything per month?
| Minimum spec | 20 GB RAM → CPX52 (12 vCPU, 24 GB, 480 GB disk) €85.49/mo |
|---|
How we got this: we took the cheapest Hetzner Cloud Regular Performance (shared AMD vCPU) plan with at least the RAM and vCPU the project lists, using prices read from www.hetzner.com/cloud/regular-performance on 2026-11-23. "From" monthly price cap shown by Hetzner, excluding VAT. Prices vary by location. Covers the server only; it excludes LLM API usage, backups, extra storage, GPUs and your time. Disk is not matched; add a volume if you need more than the plan includes.
How to deploy QAnything
Method: Docker Compose
git clone https://github.com/netease-youdao/QAnything.git
cd QAnything
# Linux:
docker compose -f docker-compose-linux.yaml up
# Mac: docker compose -f docker-compose-mac.yaml up
# Windows: docker compose -f docker-compose-win.yaml up
# Front end: http://localhost:8777/qanything/ From the official instructions: github.com/netease-youdao/QAnything#installation. Always check the source for the current version before you run it.
Known gotchas when self-hosting QAnything
- Version 2.0.0 no longer ships a default local LLM. Configure an OpenAI-compatible endpoint (API key, base URL, model) in the front-end settings, or run Ollama (or similar) yourself. source
- Needs at least 20 GB of RAM. The stack also pulls Milvus, MySQL, etcd and MinIO; first start downloads large images. source
- For fully offline use, pull and save the images on a networked machine first, then load them offline; a local LLM such as Ollama must already be running on the offline host. source
- If `docker compose` fails, the README says to try `docker-compose` instead. Use the OS-specific compose file (linux / mac / win); they are not interchangeable. source
Alternatives in Knowledge base & RAG
- RAGFlow RAG engine with deep document parsing (OCR, layout and tables) and cited answers. Compare QAnything vs RAGFlow
- AppFlowy Open-source Notion-style AI workspace (docs, databases, boards) with desktop apps and a self-hosted cloud server. Compare AppFlowy vs QAnything
- AFFiNE Notion- and Miro-style workspace (docs, whiteboards, databases) with built-in AI, self-hostable with Docker. Compare AFFiNE vs QAnything
- AnythingLLM All-in-one private chat with your documents, agents and an embeddable widget. Compare AnythingLLM vs QAnything
- PrivateGPT API-first private document Q&A that sits on top of your own LLM server. Compare PrivateGPT vs QAnything
- Open Notebook Private, self-hosted alternative to Google NotebookLM with your choice of AI models. Compare Open Notebook vs QAnything
- LightRAG Graph-based RAG server that builds a knowledge graph from your documents, with a web UI and REST API. Compare LightRAG vs QAnything
- Langchain-Chatchat Chinese-first local knowledge-base Q&A and agent app built on LangChain, wired to local model servers. Compare Langchain-Chatchat vs QAnything
- WeKnora Tencent's open-source knowledge-base and agent platform with document parsing, RAG and team workspaces. Compare QAnything vs WeKnora
- Onyx (formerly Danswer) AI chat and enterprise search connected to 50+ workplace apps. Compare Onyx (formerly Danswer) vs QAnything
- Karakeep Self-hosted bookmark and read-later app (formerly Hoarder) with AI tagging, summaries and full-text search. Compare Karakeep vs QAnything
- FastGPT Knowledge-base Q&A and visual AI workflow platform. Compare FastGPT vs QAnything
- kotaemon Open-source RAG web app for chatting with your documents, with citations and GraphRAG. Compare kotaemon vs QAnything
- MaxKB Enterprise knowledge-base and agent platform with RAG and workflows. Compare MaxKB vs QAnything
- LocalGPT Chat with your documents through a local RAG stack that talks to Ollama. Compare LocalGPT vs QAnything
- Linkwarden Collaborative bookmark preservation with configurable AI tagging. Compare Linkwarden vs QAnything
- DocsGPT Open-source platform for AI agents and assistants that answer from your documents with sources. Compare DocsGPT vs QAnything
- R2R Production RAG platform with a REST API, hybrid search, knowledge graphs and an agentic Deep Research mode. Compare QAnything vs R2R
- OpenAgent Self-hosted AI assistant with RAG, agent tools, SSO and an admin UI, shipped as a single binary. Compare OpenAgent vs QAnything
- PipesHub Self-hosted workplace search and AI answers across 50+ connected apps, filtered by each user's permissions. Compare PipesHub vs QAnything
- Morphik Core Multimodal document retrieval engine for RAG over PDFs, images and visually rich files, with an API, SDKs and MCP. Compare Morphik Core vs QAnything
QAnything FAQ
How much RAM does QAnything need?
The official minimum is 20 GB RAM. Official prerequisites table: RAM Memory >= 20GB; Docker >= 20.10.5 and Docker Compose >= 2.23.3 on Linux/Mac (Docker Desktop >= 4.26.1 on Windows). No CPU or disk minimum is published.
Does QAnything need a GPU?
CPU-only. Version 2.0.0 no longer uses a GPU; embedding, rerank and parsing run on CPU, and the LLM is reached through an OpenAI-compatible API.
How much does it cost to self-host QAnything?
The software is free to download. Based on the official minimum 20 GB RAM: That fits a Hetzner Cloud CPX52 server at about €85.49/month (server only, excl. VAT). That covers the server only, not LLM API usage, backups, extra storage or your time.
Is QAnything free for commercial use?
QAnything is licensed under AGPL-3.0 (Network copyleft (AGPL)). Internal business use is allowed under the license text. Free for internal and commercial use. If you modify QAnything and let users interact with it over a network, you must offer them the modified source under AGPL-3.0. This is a summary, not legal advice.
What are common problems when self-hosting QAnything?
Version 2.0.0 no longer ships a default local LLM. Configure an OpenAI-compatible endpoint (API key, base URL, model) in the front-end settings, or run Ollama (or similar) yourself. Needs at least 20 GB of RAM. The stack also pulls Milvus, MySQL, etcd and MinIO; first start downloads large images. For fully offline use, pull and save the images on a networked machine first, then load them offline; a local LLM such as Ollama must already be running on the offline host. If `docker compose` fails, the README says to try `docker-compose` instead. Use the OS-specific compose file (linux / mac / win); they are not interchangeable.
Is QAnything still maintained?
Yes, it is actively developed. Last commit: Sep 22, 2026. Latest release: v2.0.0 (Aug 30, 2024). Checked Nov 23, 2026.
How do I install QAnything?
The official method is Docker Compose. The exact commands are in the "How to deploy" section above and in the official instructions: https://github.com/netease-youdao/QAnything#installation
What are self-hosted alternatives to QAnything?
Other apps in Knowledge base & RAG: RAGFlow, AppFlowy, AFFiNE, AnythingLLM, PrivateGPT, Open Notebook, LightRAG, Langchain-Chatchat, WeKnora, Onyx (formerly Danswer), Karakeep, FastGPT, kotaemon, MaxKB, LocalGPT, Linkwarden, DocsGPT, R2R, OpenAgent, PipesHub, Morphik Core.
Sources
- GitHub repository: github.com/netease-youdao/QAnything
- Official documentation, Hardware requirements, Deploy instructions, Gotcha 2, Gotcha 4: github.com/netease-youdao/QAnything#installation
- License text: github.com/netease-youdao/QAnything/blob/qanything-v2/LICENSE
- Gotcha 1: github.com/netease-youdao/QAnything#readme
- Gotcha 3: github.com/netease-youdao/QAnything#offline-use
- Hetzner Cloud pricing (cost estimate): www.hetzner.com/cloud/regular-performance
- GitHub stars, commits and releases: GitHub REST API, fetched
Facts on this page were checked against the project's own repository and docs on 2026-11-05. Spotted something out of date? Tell us.