AnythingLLM
Mintplex-Labs / anything-llm
本地优先的 RAG 桌面与服务器:把文档、网页、代码灌进 workspace,接本地或云端模型,提供 chat、agent 与 API。A local-first RAG desktop and server that ingests documents, web pages and code into workspaces, connects local or hosted models and exposes chat, agent and API modes.
为什么选Why choose it
- 桌面版开箱即用,适合个人与小团队把资料留在本机。Desktop and server modes cover personal and team use.
- 支持多 workspace、向量库与模型 provider 切换,也能 Docker 自托管。Workspaces keep separate corpora.
- 内置文档解析、引用与 agent 工具,省掉从零搭 RAG 的管线。Chat, agent and API surfaces share one backend.
不适合Not for
不是大规模多租户知识平台,权限与审计比企业产品薄。You need a code-only RAG library.
解析质量决定回答质量,PDF/表格要先检查 chunk。You cannot manage local data storage and model keys.
本地模型效果取决于机器与量化,别拿小模型直接对标云端。本地模型效果取决于机器与量化,别拿小模型直接对标云端。
最小上手Minimum setup
- 桌面版建一个 workspace,灌 3-5 份小文档。Create a workspace with five documents.
- 选嵌入与 LLM provider,问一个能引用原文的问题。Ask a cited question and check the sources.
- 检查 citation 与 chunk,再换向量库或模型对比。Try the API mode with the same workspace.
依赖与成本Dependencies and cost
桌面版或 Docker;嵌入模型 + LLM(本地 Ollama 或 API);向量库(内置 LanceDB 等)。Check runtime, model weights and external service dependencies in the README.
许可与使用边界License and usage boundaries
MIT;模型、嵌入服务与上传文档的版权另计。Code is MIT; model weights, training data and generated content may have separate terms — check each before commercial use.
开源不等于可商用:GPL / AGPL 有传染性;代码许可、模型许可、生成内容许可要分开看。上线前读仓库 LICENSE 与模型卡,必要时让法务确认。Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.
替代与相邻Alternatives and neighbors
- Open WebUI — 生产可用Production,自托管 AI 聊天/工作台:接 Ollama 与 OpenAI 兼容 API,带 RAG、联网搜索、多用户权限与工具扩展。A self-hosted AI chat and workbench for Ollama and OpenAI-compatible APIs, with RAG, web search, multi-user permissions and tool extensions.
- RAGFlow — 先试这个Start here,带文档解析、切分、检索与引用的 RAG 平台,适合把一套知识库跑起来。A RAG platform with document parsing, chunking, retrieval and citations, built to get a knowledge base running.
- Dify — 先试这个Start here,把 prompt、RAG、agent、工作流和模型接入做成可视化平台。A visual platform for prompts, RAG, agents, workflows and model connections.
下一步Next steps
- 打开 GitHub,先读 README、LICENSE、最近 release 与 issue。Open GitHub and read the README, LICENSE, latest release and issues first.
- 按“部署依赖 / 显存 / 数据 / 网络 / 权限”列一张上手清单。Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
- 用一个小样本跑通,再决定是否进生产;不要直接上生产数据。Run a small sample first, then decide on production; never start with production data.
GitHub 仓库 ↗GitHub repository ↗ 文档 ↗Docs ↗ 加入对比Add to compare