QAnything

Local knowledge-base Q&A over many file types, with hybrid search and cited answers, started with one Docker Compose command.

Active Knowledge base & RAG AGPL-3.0

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

GitHub stars14.2k
Forks1.4k
Latest releasev2.0.0Aug 30, 2024
Last commitSep 22, 2026
Est. server costfrom €85.49/mo

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)

LicenseAGPL-3.0
TypeNetwork copyleft (AGPL): Like GPL, and also applies when users access a modified version over a network.
Internal business useAllowed under the license text
What to watchFree 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.

Source: github.com/netease-youdao/QAnything#readme

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?

Minimum20 GB RAM
RecommendedNot published
GPUCPU-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.

Source: github.com/netease-youdao/QAnything#installation

How much does it cost to host QAnything per month?

Minimum spec20 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

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

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.