Overview
A Background Agent runs tasks asynchronously without a live user on the other end. Unlike Chat, Voice, or Email agents, background agents aren’t triggered by a user message — they’re invoked programmatically as part of an automated workflow, triggered by an event, or called as a tool by another agent. Background agents are the building block for autonomous, multi-step automation inside Subverse’s Agentverse workflow system. They process data, make decisions, call APIs, and produce results — all without human interaction. When to use a Background Agent:- You want to run an AI task automatically as part of a larger workflow
- You need an agent that processes uploaded files, form submissions, or data events
- You want to give another agent (Voice, Chat, or Email) the ability to delegate a complex sub-task
- You need fire-and-forget processing (e.g. “analyze this document and update the CRM”)
How to Create
- Navigate to Agents in the left sidebar.
- Click Add Agent and select Background Agent as the agent type.
- Fill in the Identity fields — name and description.
- Write the agent’s system prompt — describe the task it should perform when triggered.
- Configure the LLM Service (provider and model).
- Optionally configure Functions, Pipeline Settings, and Analytics.
- Click Save.
LLM Tool Deployment
Background agents can be deployed as LLM Tools, making them callable by other agents (Voice, Chat, Email) during their conversations. This lets you build composable AI systems where a front-facing agent delegates complex tasks to a specialized background agent. How it works:- Create the Background Agent and save it.
- Navigate to LLM Tools and create a new tool.
- Set Deployment Method to
Background Agent. - Set the Agent Name to the exact name of your Background Agent.
- Save the LLM Tool.
- Attach the LLM Tool to a Chat, Voice, or Email agent’s During-Session Functions.
| Field | Type | Description |
|---|---|---|
| Deployment Method | Dropdown | Set to Background Agent to link to a Background Agent. |
| Agent Name | Text | The exact name of the Background Agent to invoke. |
Background agents used as tools are synchronous from the calling agent’s perspective — the calling agent waits for the background agent to finish before continuing. Keep execution time short if using this pattern in a real-time chat or voice context.
How to Test
Option 1: Manual Trigger via API
Send a POST request to the manual trigger endpoint:multipart/form-data payload. Include optional files to process and any dynamic variable values. The endpoint is fire-and-forget — it returns immediately and the agent runs in the background. Check the Execution History in the dashboard to see the result.
Option 2: Trigger via an Agentverse Workflow
- Open Agentverse and create or open a workflow.
- Add a Background Agent node and link it to your agent.
- Connect it to a trigger node (e.g. webhook, file upload, or scheduled trigger).
- Click Run or send a test event.
- Check the execution log for the agent’s output.
Option 3: Via LLM Tool
- Open a Chat or Voice agent that has your LLM Tool attached.
- Test the agent using the Chat Sidebar or Call Sidebar.
- Send a message that should invoke the tool.
- Verify the background agent was called and returned the expected result.
Tips & Notes
- Output Schema is powerful: If downstream systems need to parse the agent’s output, always define a JSON Output Schema. This prevents the LLM from returning prose instead of structured data.
- Max Duration: Background agents processing large files or making many API calls may need a longer max duration. The default is 10 minutes — increase it if tasks regularly time out.
- Thinking Level for complex tasks: For tasks like multi-document analysis or data reasoning, set Thinking Level to High or Very High for better accuracy.
- Fire-and-forget: Background agents don’t block the caller. Use the execution history to check whether the task succeeded.
- Dynamic Variables: Pass context at invocation time using dynamic variables. This lets you build a single general-purpose agent and customize its behavior per task (e.g. pass document type, user ID, or priority level).
- Chaining agents: You can chain background agents together in Agentverse workflows — the output of one becomes the input to the next. This is the foundation of complex multi-step AI automations.
Background Agent Configuration
See the full configuration reference — every field, type, and default value