anything-llm

Self-hosted workspace for chatting with documents and running AI agents

Overview

AnythingLLM is an all-in-one AI application for chatting with your own documents and running AI agents. It can connect to local or cloud language models, ingest files, and support multiple users, and it runs locally by default with minimal setup. A desktop build is available for Mac, Windows, and Linux, and an Android mobile client is open source.

The product targets people and teams who want a private assistant over their own material without assembling separate document, model, and vector database components. It ships with a built-in vector database powered by LanceDB, a native embedder, agents that live inside workspaces, and a chat interface with drag-and-drop uploads and source citations.

What sets it apart is breadth of configuration combined with local-first defaults. Administrators can choose from many local and cloud model providers, define routing rules across providers, schedule recurring agent tasks, build agents without code, and use MCP compatibility. The Docker version adds multi-user permissioning, branding and white-labeling, and an embeddable chat widget, while a developer API supports custom integrations.

Best for

  • IT administrators managing private AI instances
  • Developers building custom integrations
  • Teams evaluating local versus cloud model providers
  • Knowledge workers querying internal documents
  • Operations staff scheduling recurring agent tasks

How to use

  1. Pull the AnythingLLM Docker image or download the desktop app for your platform.
  2. Mount a storage folder on the host and start the container, then open the application in your browser.
  3. Complete onboarding by selecting or configuring a language model provider and embedder.
  4. Upload documents to a workspace and begin chatting with cited answers.
  5. Enable agents or configure scheduled tasks as needed for your workflows.

What it can do

Document chat with citations

Upload documents in formats such as PDF, TXT, and DOCX through a drag-and-drop interface and chat over them. Responses include source citations, so users can see which material informed an answer. Text is embedded privately by default on the instance.

Broad model and provider support

Connect local or cloud language models from a long list of providers, including OpenAI, Azure OpenAI, AWS Bedrock, Anthropic, Google Gemini Pro, Ollama, LM Studio, LocalAI, and many others. Embedder and speech models can also be selected. A built-in engine can run local models on CPU or GPU without a separate inference server.

Agents and intelligent tool selection

Workspaces can include agents that browse the web and take other actions. Intelligent skill selection lets models use many tools while lowering token consumption per query, and custom agents can be defined for specific needs.

No-code agent builder and scheduling

Agent flows let users build agents without writing code. Scheduled tasks run recurring prompts or jobs on a cron schedule with full agent capabilities, supporting repeated workflows without manual triggering.

Model routing

Dynamic model routing sends chats to the best provider and model for a given conversation based on rules the administrator defines. This lets an instance mix providers according to its own criteria.

Memories

Automatic and user-managed memories let the language model retain important information about a user or a workspace, giving conversations continuity beyond a single session.

Multi-user access and branding

The Docker version supports multiple users with per-user control over access and experience, without compromising instance security or intellectual property. It also supports custom color themes and white-labeling applied across an instance.

Embeddable widget and developer API

The Docker version offers a customizable chat widget that can be embedded in a website. A full developer API supports custom integrations, and MCP compatibility extends how agents connect to external tools.

How it works

AnythingLLM runs locally by default, whether as the desktop app or a Docker container with storage mounted on the host. Administrators pick a language model provider and embedder during onboarding or in settings; the built-in engine, powered by Lemonade and llama.cpp, is optional and must be enabled, after which it downloads the engine and models into the storage folder. The default vector database is LanceDB, and text is embedded on the instance by default. For self-hosting, deployment guides exist for Docker, AWS CloudFormation, and GCP Deployment Manager; the cloud guides note that their instances use HTTP without HTTPS and recommend setting a password after setup.

Humans still make the key decisions. They define routing rules, choose which model and embedder to use, configure user permissions on Docker instances, build or select agents, and decide what scheduled tasks should do. Cloud deployments also leave cost responsibility and firewall or access configuration to the operator.

Supervised

Agents can browse and run scheduled tasks, but setup, model routing, permissions, and task definitions are configured and approved by humans.

Where it fits

  • Chat with uploaded PDFs, TXT, and DOCX files and review cited sources in answers.
  • Run a private ChatGPT-style instance with access controlled per user.
  • Schedule recurring agent prompts on a cron schedule for repeated tasks.
  • Deploy a private instance on AWS or GCP and protect it with a password.

Good fit

  • Teams or individuals who want to chat with their own documents using local or cloud LLMs while keeping data private
  • Organizations that need multi-user access and permission control (available in Docker version)
  • Developers building custom integrations via the full Developer API
  • Users automating workflows with built-in AI agents, scheduled tasks, or a no-code agent builder

Not a fit

  • Those seeking a fully managed cloud service with no infrastructure management; the sources describe self-hosted deployments on AWS/GCP/Docker, requiring an account with billing
  • Users who need HTTPS out of the box on cloud deployments; AWS and GCP deployment guides state HTTPS is not supported
  • Environments without Docker (for the Docker version) or without an LLM running locally or remotely

How to evaluate

  1. Confirm your hardware meets the minimum requirements for Docker deployment: at least 2GB RAM and 10GB disk, plus Docker installed
  2. Check that you have access to a local or remote LLM provider supported by AnythingLLM, or plan to enable the built-in LLM engine
  3. Verify whether you need multi-user support and permissioning, which is available only in the Docker version
  4. Decide between desktop app, Docker, or cloud deployment (AWS/GCP) based on your setup and security needs
  5. If deploying on AWS or GCP, note that the instance may take 5-10 minutes to boot and you are responsible for cloud resource costs

Our take

AnythingLLM is a self-hosted AI application that lets you chat with documents, use AI agents, and connect to many local or cloud LLM providers. It offers a built-in LLM engine for local inference and supports multi-user access and white-labeling in the Docker version. Setup is relatively straightforward via Docker or cloud templates, but cloud deployments require you to manage security (e.g., setting a password, HTTPS is not supported) and bear the infrastructure costs. Overall, it is a flexible option for private, customizable AI chat with your data.

Alternatives

AgentPricingAutonomyBest for
ragflow—SupervisedAI developers, RAG engineers, Data engineers, Knowledge managers, Platform engineers
deer-flow—SupervisedSoftware developers, AI and agent engineers, Research engineers, Technical teams building agent workflows, Data pipeline builders
Vane—AssistantPrivacy-conscious researchers, AI developers testing local models, Technical writers and documentation specialists, Students doing academic research, Data analysts comparing model outputs
FrontierAgent—SupervisedResearch analysts, Developers building agent workflows, Benchmark and evaluation engineers, Data and file-processing specialists, Technical operations staff
Sidekick—SupervisedResearchers, Students, Writers and editors, Software developers, Knowledge workers, Analysts
claude-scientific-writer—SupervisedResearch scientists, Academic writers, Principal investigators drafting grant proposals, Clinical researchers, Graduate students and postdoctoral researchers, Data scientists preparing publications, Medical writers

FAQ

What deployment options are available for AnythingLLM?
You can run AnythingLLM as a desktop app on Mac, Windows, or Linux, via Docker for a faster and more complete startup, or deploy a private instance on AWS or GCP using provided templates.
Does AnythingLLM support multi-user access?
Yes, multi-user instance support and permissioning are available, but only in the Docker version according to the documentation.
Which LLM providers can I connect to?
AnythingLLM supports a wide range of local and cloud LLM providers, including OpenAI, Anthropic, Google Gemini, Ollama, LM Studio, and many others. A full list is provided in the README.
Can I run local models without an external inference server?
Yes, AnythingLLM includes an optional built-in LLM engine powered by Lemonade and llama.cpp that can run local models on CPU or GPU. It is disabled by default and can be enabled with the ENABLE_BUILT_IN_LLM environment variable.
What are the minimum system requirements for Docker deployment?
You need Docker installed, and at least 2GB of RAM is recommended, with a minimum of 10GB disk space recommended for storage. You also need access to an LLM running locally or remotely.
Is HTTPS supported on cloud deployments?
No, the AWS and GCP deployment guides state that HTTPS is not supported for the created URL. It is recommended to set a password to protect your instance.
How long does it take to deploy on AWS or GCP?
The instance may take 5-10 minutes to fully boot up after deployment, depending on the instance size.
Who is responsible for cloud resource costs?
When deploying on AWS or GCP, you are responsible for any costs of the cloud resources used.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/agents/anything-llm"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options