Free

AnythingLLM: build an assistant for your documents

Build a document workspace in AnythingLLM Desktop. Choose a model, add your files and check answers against retrieved passages and original sources.

Tools

Download the app · Download source code (ZIP)

AnythingLLM lets you ask questions about your documents and inspect the passages behind its answers. Start with Desktop for a personal knowledge base; a server version supports shared access.

What you can use it for

  • Find a specific point across several guides or policies.
  • Compare information in documents and produce an answer with source references.
  • Prepare an assistant that answers recurring questions about your working knowledge base.

How to install and start

  1. Download Desktop from the official link above for macOS, Windows or Linux.
  2. Launch it and choose a local or cloud model. A cloud provider processes the text sent to its model; enter its key in application settings.
  3. Create a workspace, add a few documents on one topic and wait for them to be processed for search.
  4. Ask a question whose answer you can easily verify. Open the retrieved passage and compare it with the answer.

The official version guide explains Desktop and server editions. You do not need to download source code to install Desktop.

How to work alongside Codex

This is a separate application. MCP support in AnythingLLM lets its own agent use connected tools; it does not automatically expose your knowledge base to Codex. Codex can prepare documents and build a separate integration through the official API if your task needs one.

Useful instructions

An assistant for your documents covers selecting documents and checking answers. Build an Obsidian knowledge base and use it with Codex helps organise the material first. These are suitable AnythingLLM scenarios, not a requirement to use it in every step.

How to check the result

Test a simple fact, an answer spanning several documents and a question the documents cannot answer. For the last one, the assistant should report missing information instead of inventing it. If retrieval fails, check that the documents are processed and attached to the current workspace.

Prompt to prepare your documents

Paste this into Codex or Work with access to your document folder. It will prepare material you can add to AnythingLLM.

Prepare my documents for an AnythingLLM knowledge base. Find the material in the current project, remove exact duplicates from the prepared collection without losing originals, group documents by topic and give them clear names. Create ten test questions with answers and source passages, plus three questions the documents cannot answer. Save the prepared collection separately and explain how to add it to an AnythingLLM workspace.
In This Article
Saved