Repeatable chat tasks often need the same input and processing order. An agent flow in AnythingLLM Docker on Linux packages those actions as a callable tool, allowing an agent to produce an item-specific checklist from a saved block sequence.

The flow name and description tell the model when to call it. Flow Variables supply its inputs, and the blocks execute in order until Flow Complete. An LLM Instruction block uses the workspace agent's model, so model errors can affect both tool selection and the generated checklist.

An existing workspace with a working, tool-capable agent and permission to manage instance settings is required. Agent flows are available across workspaces, rather than belonging only to the workspace used to create them. A text-only checklist needs no external API, website access, or file-writing block.

Steps to create an agent flow in AnythingLLM:

  1. Open instance settings with the wrench at the bottom of the workspace sidebar.

    The pictured Orbit Workshop and local-agent:latest are replaceable workspace and model names. With Ollama, a working connection and a downloaded tool-capable model are prerequisites. The pictured custom model uses qwen2.5:3b with a 2,048-token context, two CPU threads, a prompt batch of 64 and a 256-token generation limit. Larger tool sets need more context and memory. The workspace gear's Agent Configuration controls its agent provider and model.

  2. Open Agent Skills in the settings sidebar.

    Enabling a flow makes it callable by agents across the instance. Flow blocks run with their configured access; this checklist uses only model generation.

  3. Click Create Flow under Agent Flows.
  4. Enter Orbit Checklist in Flow Name.
  5. Enter the following Description.
    Create an Orbit checklist for a requested item. Call this flow when asked to run the Orbit checklist.

    The description gives the agent a reason to select this flow when a chat request names the Orbit checklist.

  6. Define a variable named item with the description Item to check under Flow Variables.

    The initial value stays blank because the chat request will supply the item.

  7. Select Required from the variable's type list.

    A new variable starts as Optional. Required tells the model to supply this argument when it calls the flow; Static would keep a fixed value hidden from the model.

  8. Open Add Block beneath Flow Complete.
  9. Select LLM Instruction from the block menu.

    The new block is inserted before Flow Complete, after the input variables.

  10. Enter the following text in the block's Instruction field.
    Return exactly this checklist line and nothing else: Orbit checklist: ${item} - inspect, pack, label.

    ${item} is replaced by the value supplied to the flow, such as lantern.

  11. Select item as the Result Variable.

    The block reads the input before replacing that variable with the generated checklist. Direct Output stays off so the agent can use the flow result in its reply.

  12. Click Save in the builder toolbar.

    The Save button stores the flow locally and enables a new flow. The Publish button uploads a flow to the Community Hub.

  13. Click the builder's back arrow to return to Agent Skills.
  14. Confirm that Orbit Checklist appears as On under Agent Flows.

    A missing entry means the flow was not saved. An Off entry is disabled; selecting the entry exposes its enable switch.

  15. Return to workspaces with the back arrow at the bottom of the settings sidebar.
  16. Open your workspace from the sidebar.
  17. Click New Thread beneath that workspace.

    A fresh thread avoids carrying earlier instructions into the flow request. Agent mode invokes tools automatically with a provider and model that support native tool calling. An explicit @agent can also start an agent session.
    Related: How to select a chat mode in AnythingLLM

  18. Enter Run the Orbit checklist for item lantern. in the message box.
  19. Send the request with the upward-arrow button.
  20. Expand Thought for above the completed reply.

    The displayed duration depends on the model and hardware.

  21. Confirm that the agent runs Orbit Checklist and returns the lantern checklist.

    The tool activity must show the flow executing successfully, and the reply should include lantern with inspect, pack, label. A reply without a flow invocation, an error, or an empty result does not demonstrate a working flow. The reply wording may vary.

Share this guide