Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
Self-host AnythingLLM
updated Jul 2026deployed by usprices checked · Jul 2026Install verified on Ubuntu 26.04 · Nov 2026 (also on arm64) · how we test
We earn commissions when you shop through the links below. Full disclosure →
All-in-one self-hosted chat application with retrieval-augmented generation (RAG) over your own documents, organized into workspaces, and support for any local or hosted LLM and vector database.
Pick AnythingLLM when the point is chatting with your own documents — it's an all-in-one app that bundles RAG, workspaces, and a vector database, and connects to any local or hosted LLM. It's the middle path: more batteries-included than Open WebUI for document Q&A, simpler than assembling LibreChat's stack. If you don't need retrieval over your files, a plain chat UI is less to run.
AnythingLLM does document RAG out of the box, but retrieval quality and the model behind it are still yours to own:
non-negotiableRAG is only as good as its setup. Chunking, embeddings, and the vector store all shape answer quality — expect to tune them, and to see confidently-wrong answers when retrieval misses the relevant passage.
non-negotiableIt still needs a model. AnythingLLM is the app around an LLM, not the LLM — point it at a local runtime (Ollama, LocalAI) or a hosted API, and that choice sets both your privacy and your hardware bill.
non-negotiableThe container wants SYS_ADMIN. The official quick-start adds the SYS_ADMIN capability for its document processing — understand what that grants before running it on a shared host.
AnythingLLM used 457 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.9.3 (first boot, measured Nov 2026). We list a minimum of 2048 MB.
Is the AnythingLLM install snippet verified?
The AnythingLLM install snippet is marked verified on Ubuntu 26.04 (Nov 2026).
AnythingLLM exits with "unable to open database file: ../storage/anythingllm.db". How do I fix it?
The image runs as uid 1000, and SQLite cannot create its database in a storage directory owned by any other user. Give the directory to uid 1000 before starting the container: sudo chown -R 1000:1000 $STORAGE_LOCATION. With --rm in the docker run command, the crashed container is deleted immediately, so docker ps shows nothing and there are no logs to read; drop --rm temporarily to see the error.