Private LLMs and RAG
AnythingLLM: Desktop, Docker, Agents and Enterprise Security
AnythingLLM explained for enterprises: Desktop vs Docker, where data goes, telemetry, roles, agents and MCP, advisories and how it compares to Open WebUI.
In short
AnythingLLM is an MIT-licensed app from Mintplex Labs for chatting with documents and running AI agents. It ships as a desktop app, a self-hosted Docker server, a hosted cloud service and an Android app. With its default local model, embedder and vector database, data stays on your machine; choosing cloud providers sends prompts and document text to them.
Key takeaways
- AnythingLLM bundles a chat interface, document ingestion, a built-in LanceDB vector database, a native embedder and AI agents in one MIT-licensed app; version 1.20.0 was released on 17 November 2026.
- Desktop is single-user. Multi-user mode, roles, workspace access management and embeddable chat widgets exist only in the self-hosted Docker version, and switching to multi-user mode cannot be undone.
- Data stays local only while every provider is local. Anonymous telemetry to PostHog is on unless you set DISABLE_TELEMETRY or switch it off in the app, and some downloads still reach Mintplex Labs and GitHub.
- Access control works at workspace level. The documentation describes no per-document permissions and no sync of permissions from source systems, which limits use on mixed-sensitivity corpora.
- As of 19 November 2026 the repository listed 25 published security advisories, including a critical Desktop flaw where a prompt-injected document could lead to code execution, so patching and hardening matter.
AnythingLLM is an application for chatting with documents on your own machine or server, and teams often try it as a local alternative to hosted chat assistants. This article explains what it is, where your data goes, how its users and agents work, and where it fits next to an enterprise retrieval platform. Facts are checked against the project’s documentation and repository as of 19 November 2026.
What is AnythingLLM?
AnythingLLM is an all-in-one application from Mintplex Labs for chatting with documents, running AI agents and, in its server version, managing multiple users. It is open source under the MIT licence, and version 1.20.0 was released on 17 November 2026.
The app bundles the parts of a retrieval-augmented generation (RAG) pipeline that you would otherwise assemble yourself. RAG means the app finds relevant passages in your documents and passes them to the model with the question. AnythingLLM includes:
- Workspaces, which are containers for documents, settings and chats.
- A document collector that parses uploaded files into text.
- An embedder, which turns text chunks into vectors, numeric representations of meaning. The default is the AnythingLLM Native Embedder. Our guide to vector embeddings explains the concept.
- A vector database, by default the built-in LanceDB.
- A model engine, with a built-in local engine and connectors to 38 LLM providers in the README, from Ollama and LM Studio to OpenAI, Anthropic, Azure OpenAI and AWS Bedrock.
- Agents with built-in skills, custom skills and MCP tools.
You can also swap in one of 14 embedders and nine vector databases, including PGVector, Qdrant, Milvus, Chroma and Pinecone. The source code, releases and security advisories are on GitHub under Mintplex-Labs/anything-llm.
Which AnythingLLM edition should you use: Desktop, Docker, cloud or mobile?
Use Desktop for one person, Docker for a shared team instance, and treat cloud and mobile as separate decisions with their own data paths. The editions share a core but differ sharply on access control.
- AnythingLLM Desktop runs on Mac, Windows and Linux. It is single-user. The documentation lists no multi-user support, user management, workspace access management, password protection or embeddable chat widgets on Desktop.
- Self-hosted Docker runs the image
mintplexlabs/anythingllmas a web server, by default on port 3001. It supports single-user and multi-user modes and is the edition the documentation recommends when many people need the same instance. - Cloud is a hosted instance that Mintplex Labs sells. Data then sits with the vendor, so it needs the same supplier, contract and transfer review as any hosted AI service.
- AnythingLLM Mobile is available only on Android as of 19 November 2026, with iOS planned but undated. It runs GGUF model files on the phone through llama.cpp and can sync chats and workspaces with Desktop or a server after pairing by QR code.
Both Desktop and Docker support documents, any vector database, any LLM, agents and the developer API. The choice is therefore mainly about who uses it and how you control access.
Where does AnythingLLM store your data, and what leaves the machine?
With the default local components, documents, vectors and the application database stay in one storage folder on your machine. As soon as you choose a hosted model, embedder or vector database, the text you send to it leaves the machine.
On Desktop, the storage folder sits under the user profile: ~/Library/Application Support/anythingllm-desktop/storage on macOS, ~/.config/anythingllm-desktop/storage on Linux and AppData\Roaming\anythingllm-desktop\storage on Windows. It holds:
documents, the parsed text of uploaded files;vector-cache, cached embeddings of earlier uploads;lancedb, the local vector database;models, downloaded model files;anythingllm.db, the SQLite application database;plugins, custom agent skills and the MCP configuration.
In Docker, you mount a host folder to /app/server/storage. The documentation warns that this folder contains the database, documents and a .env file that may hold API keys, and advises against world-writable permissions.
What leaves the machine depends on each provider you pick. A hosted LLM receives prompts, retrieved chunks and chat history. A hosted embedder receives the text of every chunk you embed, which means whole documents in pieces. A cloud vector database stores the vectors and usually the chunk text. The vector database documentation says vectors never leave AnythingLLM with the default option. If you mix local and hosted components, map each data flow before anyone uploads sensitive files. Our guide to GDPR-compliant LLM deployment covers that mapping.
Deletion has two levels. Removing a document from a workspace deletes its vectors there but keeps the parsed file in “My Documents”. Only deleting it from My Documents removes the parsed source and cached embeddings.
Does AnythingLLM send telemetry, and how do you turn it off?
Yes. AnythingLLM sends anonymous usage telemetry to PostHog unless you opt out. Set DISABLE_TELEMETRY="true" in the server or Docker .env file, or turn telemetry off under Privacy in the app’s sidebar.
According to the README, telemetry covers the installation type, document added or removed events without document details, the vector database type, the LLM provider and model tag, and chat-sent events without content. The README says it does not collect IP addresses or other identifying information.
Turning telemetry off does not make the app fully offline. The README lists traffic that continues: calls to the providers you configure, downloads from cdn.anythingllm.com when you fetch models, and requests to GitHub for some context-window caching files. For an air-gapped or tightly filtered network, pre-load models, set an egress allowlist and test what the app tries to reach.
How do users, roles and permissions work in AnythingLLM?
Multi-user mode exists only in the Docker version and offers three roles: admin, manager and default. Access is granted per workspace, not per document.
- Admin has full access to the system, including logs and analytics.
- Manager can see all workspaces and manage most settings, but not the LLM, embedder or vector database.
- Default users can chat only in workspaces they have been added to and cannot change settings.
Two details matter for a pilot. First, the documentation warns that you cannot switch back to single-user mode once multi-user mode is on. Second, single-user password protection is shared: anyone with the password can change settings and see all chats.
For sign-in, AnythingLLM offers “Simple SSO passthrough”. It is not SAML or OpenID Connect (OIDC). An external system with an API key requests a single-use login link, valid for ten minutes, for a user who already exists in AnythingLLM. Sessions last 30 days by default, which the JWT_EXPIRY setting can shorten.
Retrieval follows the workspace boundary. The model sees only documents embedded in the current workspace. The documentation we reviewed describes no per-document permissions and no sync of access rights from SharePoint, file shares or other source systems. In practice, you create one workspace per access group. That works for a few teams but becomes hard to maintain across many sources and roles. Our article on policy-enforced RAG boundaries describes the alternative, filtering retrieval by the user’s rights at query time.
How do AnythingLLM agents, agent skills and MCP work?
Agents let the model call tools instead of only answering. AnythingLLM uses tools automatically when the model supports tool calling, and you can start an agent session explicitly by typing @agent.
Built-in skills include RAG search, web browsing and scraping, saving files, document summaries, charts, an SQL agent, a file system agent, document generation, Gmail, Google Calendar and Outlook agents, and scheduled jobs. Agent Flows let you chain blocks such as web scraping, API calls and file reads and writes without code.
Custom agent skills are NodeJS code that can start other processes and, on Desktop, make operating-system calls. The documentation tells users to run only skills they trust. Downloads of skill bundles from the Community Hub are disabled by default. An administrator can allow verified skills only, or all public skills, which the documentation does not recommend.
MCP, the Model Context Protocol, is an open standard for connecting agents to external tools. AnythingLLM reads MCP servers from anythingllm_mcp_servers.json in the storage plugins folder. It supports local stdio servers and remote servers over SSE or streamable HTTP. An optional forwardIdentity setting passes the caller’s user ID, username and role to the server. Credentials in that file are stored as plain configuration, so protect the storage folder.
The configuration reference also describes tool-call approval. Unanswered approval requests are rejected after 120 seconds by default, and AGENT_AUTO_APPROVED_SKILLS can auto-approve listed skills, or all skills, for every user. Keep that list short. Each agent tool widens what a prompt-injected document or web page can do, a risk covered in our guide to MCP security.
Is AnythingLLM safe? What do the security advisories show?
AnythingLLM can be run safely, but it is active software with a steady flow of security fixes. As of 19 November 2026, the GitHub repository listed 25 published security advisories: one critical, seven high, eleven moderate and six low.
Several show how a chat-with-documents app is attacked:
- CVE-2026-32626 (critical) affected Desktop up to version 1.11.1. Text in a RAG document or a malicious model endpoint could inject markup into a streamed reply, and the Electron configuration let it run code on the host. Version 1.11.2 fixed it.
- CVE-2026-48116 (high) allowed remote code execution through argument injection in the file system search agent skill in versions up to 1.12.1.
- GHSA-8wh8-3v68-whwj (moderate), published in September 2026, placed the instance owner’s private memories in the system prompt served to anonymous visitors of an embedded chat widget, in versions 1.13.0 to 1.16.1.
Other advisories cover path traversal, cross-user access to objects, cross-site scripting and a permissive cross-origin policy. The pattern is familiar: prompt injection, agent tools and multi-tenant features each add attack surface.
Hardening steps from the documentation and these advisories:
- Run a current release and subscribe to the repository’s advisories.
- Keep the Docker instance off the public internet and behind your own TLS proxy and identity checks.
- Set
DISABLE_SWAGGER_DOCSandDISABLE_METRICS_ENDPOINT; the metrics endpoint is otherwise unauthenticated. - Require a domain allowlist for chat widgets with
EMBED_REQUIRE_ALLOWLIST, since embeds otherwise accept any origin. - Enable only the agent skills and MCP servers a workspace needs, and leave
COLLECTOR_ALLOW_ANY_IPoff so the scraper cannot reach internal addresses.
Our AI security page sets out the wider control set for self-hosted AI.
AnythingLLM vs Open WebUI: which fits an enterprise team?
They overlap but start from different places. AnythingLLM is a document-and-agent workbench that also runs as a server. Open WebUI is a multi-user web interface for models with knowledge features added. Our Open WebUI enterprise guide covers Open WebUI in depth.
| Question | AnythingLLM | Open WebUI |
|---|---|---|
| Licence | MIT | Open WebUI License: BSD-style, with a clause that bars removing its branding for deployments above 50 users in 30 days unless permitted |
| Latest release (as of 19 November 2026) | v1.20.0, 17 November 2026 | v0.13.4, 17 November 2026 |
| Sign-in | Local accounts; Simple SSO token passthrough | OIDC, LDAP and other identity providers; SCIM 2.0 provisioning |
| Access to knowledge | Per workspace, by role and membership | Knowledge bases shared with users or groups at read or write level |
| Built-in RAG stack | Native embedder and LanceDB included | Several supported vector databases, with ChromaDB and PGVector officially maintained |
| Agents and tools | Built-in skills, NodeJS custom skills, Agent Flows, MCP (stdio, SSE, streamable HTTP) | Python tools and functions, OpenAPI servers, MCP over streamable HTTP |
Neither tool offers document-level access control tied to the permissions in your source systems.
When does AnythingLLM fit, and when do you need an enterprise RAG platform?
AnythingLLM fits individuals, small teams and time-boxed pilots on non-sensitive or uniformly accessible documents. An enterprise RAG platform fits when many users, many sources and mixed permissions meet audit and regulatory duties.
AnythingLLM is a reasonable choice when:
- one analyst or engineer needs a private assistant on their own documents, with local models;
- a team wants to test retrieval quality on a defined corpus before building anything;
- a small group shares one or a few workspaces with the same access rights.
Look at a fuller platform when you need:
- identity federation with OIDC or SAML and group sync;
- retrieval filtered by each user’s rights in the source systems;
- connectors that keep sources in sync, with deletion propagated;
- evaluation of answer quality, central logging and audit evidence;
- model serving and capacity planning shared across many applications, as described on our private LLM page.
A pilot in AnythingLLM can still pay off. It shows which documents users ask about, which models are good enough and where retrieval fails, and that evidence shapes the platform requirements.
What do GDPR and the EU AI Act mean for an AnythingLLM deployment?
Local deployment can reduce the number of parties that process personal data, but it does not remove GDPR duties. If workspaces contain personal data, you still need a lawful basis, retention rules, security measures and a way to act on access and erasure requests across documents, vectors, chats and backups.
Any hosted model, embedder or vector database you connect, or the vendor’s cloud edition, becomes a processor or other recipient. That needs a contract review and, for transfers outside the EU, a transfer assessment.
Under the EU AI Act, organisations using AI systems must take measures to support AI literacy among the staff who operate them, which has applied since 2 February 2025. The Act became generally applicable on 2 August 2026, including transparency rules, and the rules for Annex III high-risk uses apply from 2 December 2027. Most document chat is not high-risk, but the use case decides, not the tool. This is general information, not legal advice; check your specific use with qualified counsel.
How SysArt helps
SysArt designs and implements retrieval for regulated organisations on their own infrastructure, from assessing a pilot built on tools such as AnythingLLM to running permission-aware retrieval with logging, evaluation and GDPR controls. See our enterprise RAG service to discuss your use case.
Featured image by Declan Sun on Unsplash.
Frequently asked questions
What is AnythingLLM?
AnythingLLM is an open-source application from Mintplex Labs for chatting with your documents and running AI agents. It combines a chat interface, document parsing, an embedder, a vector database and agent tools in one install. It works with local models through its built-in engine, Ollama or LM Studio, and with hosted providers such as OpenAI, Anthropic, Azure OpenAI and AWS Bedrock. It is released under the MIT licence.
Is AnythingLLM free?
The software is free and MIT-licensed, so you can run AnythingLLM Desktop or the self-hosted Docker version without a licence fee, including inside an organisation. You still pay for any hosted model, embedding or vector database provider you connect, and for the hardware or servers it runs on. Mintplex Labs also sells a hosted cloud instance; check its current terms and prices on the vendor's site.
Is AnythingLLM safe and private?
It can be private if every component is local: the built-in or a local model, the native embedder and the default LanceDB vector database. Telemetry is on until you disable it, and the project has published 25 security advisories as of 19 November 2026. Run a current version, disable telemetry, restrict network exposure, review agent skills and MCP servers, and keep cloud providers off for sensitive workspaces.
What is the difference between AnythingLLM Desktop and Docker?
Desktop is a single-user app for Mac, Windows and Linux that stores everything in a local folder. The Docker version runs as a web server, by default on port 3001, and adds multi-user mode with admin, manager and default roles, workspace access management, password protection, embeddable chat widgets and browser access. Both support documents, any vector database, any LLM, agents and the developer API.
Does AnythingLLM support MCP?
Yes. AnythingLLM agents can use tools from Model Context Protocol (MCP) servers listed in a file called anythingllm_mcp_servers.json in the storage plugins folder. It supports local stdio servers and remote servers over SSE or streamable HTTP, and an admin interface starts, stops and inspects them. An optional setting forwards the caller's user ID, username and role to the server, which helps with authorisation and audit.
Is there an AnythingLLM mobile app?
Yes, for Android. As of 19 November 2026 the documentation says AnythingLLM Mobile is available only on Android, with iOS planned but undated. It runs GGUF models on the device through llama.cpp, works offline, and keeps documents and chats on the phone. It can also sync workspaces and chats with Desktop or a self-hosted instance after pairing by QR code. The mobile app is open source.
Is AnythingLLM better than Open WebUI?
Neither is better in general; they suit different jobs. AnythingLLM bundles document ingestion, a vector database and agents, and its Desktop app suits individuals. Open WebUI is a web interface built for many users, with OIDC and LDAP sign-in, SCIM provisioning and knowledge bases shared with groups. Licences differ too: AnythingLLM is MIT, while Open WebUI uses its own licence with a branding clause.
Sources
- Mintplex Labs: anything-llm repository on GitHub, including the README (providers, telemetry and opt-out), MIT licence and release v1.20.0 (17 November 2026) · checked 19 November 2026
- Mintplex Labs: anything-llm security advisories on GitHub (25 published) · checked 19 November 2026
- AnythingLLM documentation: Desktop overview (Desktop and Docker feature comparison) and Desktop storage locations · checked 19 November 2026
- AnythingLLM documentation: Self-hosted Docker overview and local Docker installation · checked 19 November 2026
- AnythingLLM documentation: Security and access (single-user and multi-user modes, roles) · checked 19 November 2026
- AnythingLLM documentation: Other configurations (Simple SSO, tool-call approval, Community Hub, metrics endpoint, embed allowlist) · checked 19 November 2026
- AnythingLLM documentation: AI agents, custom agent skills and MCP compatibility · checked 19 November 2026
- AnythingLLM documentation: AnythingLLM Mobile overview · checked 19 November 2026
- Open WebUI: repository, Open WebUI License and release v0.13.4 (17 November 2026) · checked 19 November 2026
- Open WebUI documentation: Groups and resource access control · checked 19 November 2026
- European Commission: AI Act, regulatory framework and application dates · checked 19 November 2026
- Publications Office of the EU: Regulation (EU) 2016/679, General Data Protection Regulation · checked 19 November 2026