New Tool Radar

AI Agents & Automation

How to Set Up an AnythingLLM Workspace Agent and Chat with It

Pick a workspace agent model, choose which skills the agent may use, and start an agent chat with @agent so the model can use tools.

Schematic diagram with three steps: choose the workspace agent model in workspace settings, enable skills such as Web-Browsing, then start an agent chat with @agent.

An agent in AnythingLLM is a language model that can use tools to perform tasks and complete your requests. That is different from ordinary document chat, where the model only answers from your files: an agent can search the web, open pages, search your documents, and more, then put the results together into one answer. Setting one up means three choices: which model acts as the agent, which skills it may use, and then starting an agent chat.

Choose the workspace agent model

By default, your workspace uses the system LLM for agentic chat sessions. You can optionally change the model and provider per workspace if you want to use a different LLM for agentic chat sessions for a given workspace. Open the workspace settings and go to the agent configuration menu, then pick a Workspace Agent LLM Provider and a Workspace Agent model. Pick a model that supports tool calling: AnythingLLM automatically determines whether your LLM can use tools, so that every chat is more intelligent.

Choose the agent skills

On the Agent Skills page via Settings > Agent Skills, you can granularly choose which skills you want your Agent to be able to use. Some skills are enabled by default, and some skills require additional configuration. You can click on a skill to see more information about it, including the required configuration, if any. Be sure to click the “Save” button to save your changes. You can also toggle skills from the prompt input in the chat UI by clicking on the “Tools” button.

One of the tools agents can use is Web-Browsing, which allows agents to browse the internet. By default, AnythingLLM uses the DuckDuckGo search engine to browse the internet, which requires no additional configuration. You can change this to use a different search provider by clicking on the “Search Provider” button. AnythingLLM also offers Intelligent Tool Selection, which only adds the tools and MCPs that are actually useful for the chat to the prompt window, saving up to 80% every single chat; you enable it from the settings icon on the Agent Skills page.

Start an agent chat with @agent

In a workspace chat, start your message with the @agent directive to start an agentic chat session. Then ask for something the agent has to go and find, rather than something it can answer from memory — for example:

@agent Search the web for the current version of AnythingLLM and summarize what changed in the latest release.

The agent decides which of its enabled tools to use, runs them, and synthesizes the results into its reply. A good check is that the answer contains something the model could only know by using a tool: a search result, a page it opened, or a document it searched. If the reply reads like a plain answer with no tool use, check that the skill is enabled and that the agent model supports tool calling.

Try it: four checks from setup to first agent reply

Check What you should see If you do not see it
Agent model set A provider and model chosen in the workspace agent configuration Open the workspace settings and check the agent configuration menu
Skills saved The skills you want, such as Web-Browsing, enabled on the Agent Skills page Check the skill is switched on and you clicked Save
Agent session starts Your @agent message opens an agentic chat session Check the message starts with @agent and the workspace agent model is set
Tools used in the reply An answer that uses a search result or a page the agent opened Check the skill is enabled and the model supports tool calling

Expected result. We checked the AnythingLLM agent overview docs page, which says agents are LLMs that have the ability to use tools to perform tasks, that AnythingLLM automatically determines whether your LLM can use tools, and that you can use the @agent directive at the start of your chat to start an agentic chat session; and the AnythingLLM agent setup docs page, which gives the per-workspace agent provider and model setting, the Settings > Agent Skills page with the Save button and the prompt Tools button, the Web-Browsing tool with DuckDuckGo as the default search provider, and Intelligent Tool Selection with its settings icon. We did not install AnythingLLM or run an agent chat on this machine.

Limits

This guide covers setting up one workspace agent and starting one agent chat only. It is not about chatting with documents: document chat answers from your files, while the agent uses tools, and the two can be combined when the agent searches your documents. Some skills need extra configuration before they work, and the setup page says to click a skill to see what it requires. A model that cannot call tools cannot act as an agent, even with the skills switched on. AnythingLLM can also use custom tools, MCP servers, and Agent Flows to build your own tools, but those are separate jobs. We did not run any of this ourselves.

Sources

See all