Productivity · How-to
How to Use AnythingLLM: A Step-by-Step Guide
A complete beginner's guide to AnythingLLM. Learn how to set up local document chat, configure background tasks, and explore how to use AnythingLLM API workflows.
AnythingLLM is an open-source, MIT-licensed application designed to function as a private AI assistant that runs entirely on your device. It enables users to query documents, run autonomous agent actions, transcribe meetings, and perform web searches without requiring accounts, API keys, or token limits when using local setups.
Whether you want to interact locally on macOS, Windows, or Linux, self-host via Docker, or connect external applications, understanding how to use anythingllm api tools, agents, and retrieval features gives you full control over your private AI workflows. This guide covers what you need to get started, the step-by-step setup process, tips for optimal results, and how to avoid common pitfalls.
What You Will Achieve and What You Need
By following this guide, you will configure a functional AnythingLLM installation, add documents to a private knowledge base, set up autonomous agent skills, and learn how developers interact with the platform using external interfaces.
Before you begin, ensure you have the following:
- A computer running macOS, Windows, or Linux (or a system with Docker installed if you plan to self-host).
- Sufficient hardware resources to host local language models, or access to an external provider if preferred.
- Any documents (PDFs, text files, or notes) you want to include in your local knowledge base.
- An Android device if you wish to use the companion mobile application.
Step-by-Step Guide: How to Use AnythingLLM
- Download and Install the Application: Visit the official site to download the free desktop application for macOS, Windows, or Linux. If you prefer server-based deployment, install the container image using Docker. Follow the setup prompts provided on your operating system.
- Select Your Preferred LLM Engine: AnythingLLM includes dynamic model selection that automatically recommends a model based on your system hardware specs. You can also connect to external local model runtimes. For example, learning how to use anythingllm with ollama or how to use anythingllm with lm studio lets you run models managed by external engines locally on your machine.
- Create a Workspace and Add Documents: Workspaces organize your chats and data. Upload your files to make them part of your knowledge base. AnythingLLM processes these documents for Retrieval-Augmented Generation (RAG) entirely on your device, ensuring no sensitive data leaves your machine.
- Configure Real-Time Web Search: Web scraping and web search are integrated via You.com from the very first chat without requiring an API key. This lets your assistant pull fresh information from the internet alongside your static documents.
- Enable Custom Agent Skills and Tools: Activate agent behaviors to allow the system to execute tasks autonomously. You can set up background jobs to automate recurring tasks or configure custom agent skills to build tailored workflows.
- Utilize the Developer API: For developers seeking programmatic access, AnythingLLM provides a custom tool builder and an API. Exploring how to use anythingllm api endpoints enables you to trigger agent tasks, manage document ingestion, and connect external automation pipelines directly into your workspace.
- Explore Built-in Productivity Tools: Take advantage of additional local features, such as the Meeting Assistant to record, transcribe, and summarize meetings with clear action items, or Magic Echo for on-device dictation with real-time text refinement.
Common Mistakes to Avoid
- Overloading Limited Hardware: Running large models on machines without adequate memory or graphics processors can cause significant slowdowns. When learning how to make anythingllm use gpu resources, ensure your drivers and system runtimes correctly recognize your hardware.
- Assuming Desktop Requires Paid Accounts: The desktop and Docker distributions are completely free under an MIT license. Paid cloud plans exist, but they are separate managed hosting offerings.
- Skipping Model Compatibility Checks: Using incompatible model formats can cause local engine errors. Always check the model requirements suggested by the dynamic model selection feature.
- Confusing Local and Cloud Workspaces: Local workspaces store files directly on your machine. If you switch between local instances and cloud instances, documents and agent settings do not automatically sync unless configured through export or shared hosting.
Tips for Better Results
- Structure Your Documents: While RAG handles diverse formats, breaking complex topics into well-titled sections helps the retrieval system extract precise answers.
- Combine Web Search with Local RAG: Take advantage of the built-in You.com search to augment documents that lack recent updates.
- Automate Recurring Tasks: Use background jobs for repetitive tasks rather than issuing manual queries repeatedly.
- Explore Mobile Functionality: AnythingLLM Mobile for Android runs small models fully on-device, offering document chat, web search, memory, and scheduled jobs on the go.
Free-Plan and Self-Hosted Limits to Keep in Mind
AnythingLLM provides different deployment models, and understanding the pricing boundaries ensures you choose the right setup:
| Plan / Tier | Confirmed Price | Key Features and Requirements |
|---|---|---|
| Desktop / Self-Hosted | Free | Available for macOS, Windows, Linux, and Docker; runs entirely on your device with no token limits or accounts. |
| Basic (Cloud) | $50 /monthly | Private instance, custom subdomain, RAG, agents; requires bringing your own LLM API key. |
| Pro (Cloud) | $99 /monthly | Private instance, RAG, agents, priority resources for daily team usage, 72-hour support SLA. |
| Enterprise (Cloud) | Contact Us | On-premise deployment, custom SLA, custom integrations, SSO, and fine-grained RBAC. |
Keep in mind that free tiers rely on your local processing power, whereas cloud options manage infrastructure in exchange for a monthly subscription.
Troubleshooting Common Issues
If you encounter slow query responses, review your selected model size to ensure it matches your hardware capacity. If the application fails to fetch web data, verify your general internet connectivity, as the included You.com search requires network access. If background jobs do not run as expected, verify that the host machine remains awake and has not entered sleep mode during scheduled hours.
Alternative Local and Private AI Tools
If you want to explore other options in the open-source and local AI ecosystem, several notable tools offer local execution and model hosting:
- Ollama: A command-line tool designed to download and run local open-source models effortlessly.
- LM Studio: A desktop application for discovering, downloading, and running local models with a graphical interface.
- Open WebUI: A self-hosted, user-friendly interface often paired with local backends.
- Jan: An open-source desktop alternative that runs local AI models directly on your computer.
- GPT4All: A privacy-focused desktop application designed to run local models on consumer-grade hardware.
Frequently asked questions
Is AnythingLLM completely free to use?
Yes, the desktop application for macOS, Windows, and Linux, as well as the Docker self-hosted version, is completely free and open source under the MIT license.
What is the AnythingLLM API used for?
The developer API allows external applications to interact with AnythingLLM to query workspaces, ingest documents, manage agent tasks, and automate workflows.
Do I need an API key to use web search in AnythingLLM?
No, real-time web search via You.com is built into AnythingLLM and works from the first chat without requiring an API key.
What are the costs for AnythingLLM Cloud?
AnythingLLM Cloud offers a Basic plan at $50 per month (bring your own API key), a Pro plan at $99 per month with priority resources, and custom quotes for Enterprise deployments.