icon of AnythingLLM

AnythingLLM

AnythingLLM is a self-hosted ChatGPT alternative that lets you chat with your documents, run AI agents, and connect any LLM, locally or via cloud API. MIT licensed.

60K stars6.5K forksJavaScriptMITActive this week
Open source alternative toGleanKore.aiGuru

What AnythingLLM does

AnythingLLM is the self-hosted ChatGPT alternative built for teams and individuals who want AI chat on their own terms, any LLM, any document format, no data leaving their machine unless they choose.

The Problem

ChatGPT and other cloud AI chat tools process your documents on remote servers. Uploading a confidential contract, internal wiki, or proprietary codebase means that content is sent to OpenAI's infrastructure. For companies with compliance requirements or anyone handling sensitive data, that architecture is a non-starter.

How AnythingLLM Solves It

AnythingLLM keeps everything local by default. Connect any LLM, Ollama, LM Studio, GPT-4, Claude, Gemini, or any OpenAI-compatible API, to a workspace that ingests PDFs, Word docs, text files, websites, and YouTube transcripts. Each workspace is an isolated memory scope, so your sales team's context doesn't bleed into engineering's.

Key Features

  • Multi-user workspaces with per-workspace document context and LLM settings
  • Agent mode: browse the web, run code, and query databases from within chat
  • Embeddable chat widget for adding AI to any website
  • Supports Ollama, LM Studio, LocalAI, OpenAI, Anthropic, Gemini, and more
  • Vector storage via Chroma, Pinecone, Milvus, or built-in LanceDB

Self-Hosting

Run docker pull mintplexlabs/anythingllm and start the container. The web UI walks through connecting an LLM and uploading your first documents in under ten minutes. A desktop application installer is also available for single-user local use without Docker.

License

MIT. Free to use, modify, and distribute for personal or commercial projects without restriction.

Who It's For

AnythingLLM is best for teams who need a private document-chat platform for internal knowledge bases, compliance-sensitive industries that cannot send data to cloud AI providers, and developers building internal AI tooling on a flexible multi-LLM foundation.

Compared to ChatGPT

Unlike ChatGPT, AnythingLLM runs entirely on your own infrastructure, no conversation data leaves your machine, you choose which LLM handles your queries, and there are no per-message costs or usage limits baked into the platform itself.

GitHub Activity

Last commit

1 day ago

Last synced

May 13, 2026

60KStars
6.5KForks
361Open Issues
MITLicense

Tech Stack

Detected via GitHub

Languages

JavaScript

Frameworks

ExpressReact

Databases

MySQLPostgreSQL

Details

Similar Open Source Tools

Stay Updated

Subscribe to our newsletter for the latest news and updates about Alternatives