SabaKore

Home / Articles / AI guides

What Is AnythingLLM? A Free Self-Hosted App That Lets AI Read Your Documents

AnythingLLM is a free self-hosted app that lets you load your own documents and ask the AI questions about them. This explains how it divides roles with Ollama and what it's good for.

Ren, a junior infrastructure engineer

Ren

It'd be handy if I could ask an AI about the manuals and meeting notes I have on hand.
Procura, a cloud AI robot who explains

Procura

Then AnythingLLM is a good fit. It's a self-hosted tool that packages, as one app, a mechanism where the AI answers based on documents you load (generally called RAG).

Features of AnythingLLM

  • You can upload PDFs, text files and the like to have their contents loaded
  • You can split material into separate units (workspaces) and organize it by topic
  • It shows which part of your documents an answer came from, so it's easy to check the basis of the answer
  • In the Docker version, several people can have separate accounts with permissions set
Ren, a junior infrastructure engineer

Ren

Is it the same kind of tool as Ollama? How do they divide up the work?
Procura, a cloud AI robot who explains

Procura

They're actually closer to being combined than competing. AnythingLLM itself has the document management and search mechanism, and you can run it so that the part that actually generates text is handled by a runtime like Ollama.

So if Ollama is the "engine that runs models", AnythingLLM is "an app that uses that engine and builds up the mechanism for reading your documents". For just chatting, Ollama alone is enough, but if you want answers based on internal documents and notes, using AnythingLLM gets you a working result faster than building that mechanism yourself.

What to check before installing

  • Loading documents tends to be heavier than just chatting
  • If the material you handle contains confidential information, always check the settings that keep it from being exposed to the outside
  • If several people will use it, decide in advance how to split permissions by account
Procura, a cloud AI robot who explains

Procura

If your goal is not to chat idly with AI but to ask about your own documents, it's worth considering AnythingLLM from the start.

Why split workspaces

If you don't lump documents together and instead split workspaces by topic, the search target is narrowed and answer accuracy tends to improve. Split them by units such as project or department, and put documents you don't want mixed in a separate workspace, which saves you from reorganizing later.

  • Split workspaces by project or department
  • Put documents you don't want mixed into a separate workspace from the start
  • Tidy up workspaces you no longer use, and don't let the search scope keep growing
Ren, a junior infrastructure engineer

Ren

Ollama for just chatting, AnythingLLM for answers based on my documents. Choosing by purpose works.

Running a local LLM on a VPS?

The plan finder shows which plans have enough memory for a model, and Run AI on a VPS covers the steps.

This article is translated from the Japanese original. If the two differ, the Japanese version is the one we keep up to date.