The background agents tool lets an orchestrator dispatch work to sub-agents concurrently and collect results asynchronously. Unlike transfer_task — which blocks until the sub-agent finishes — background agent tasks run in parallel. The orchestrator can start several tasks, do other work, and check on them later.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/docker/docker-agent/llms.txt
Use this file to discover all available pages before exploring further.
Available tools
| Tool | Description |
|---|---|
run_background_agent | Start a sub-agent task in the background. Returns a task ID immediately. |
list_background_agents | List all background tasks with their current status and runtime. |
view_background_agent | View the live output or final result of a task by ID. |
stop_background_agent | Cancel a running task by ID. |
Configuration
sub_agents configured so there are agents to dispatch to.
Example agent
background_agents.yaml
Background agents vs. transfer task
background_agents | transfer_task | |
|---|---|---|
| Execution | Parallel — all tasks run concurrently | Sequential — orchestrator waits for each task |
| Returns | Task ID immediately | Final result when done |
| Best for | Fan-out to multiple independent specialists | Delegating a single task to one specialist |
Related
Transfer task
Delegate tasks synchronously to sub-agents.
Think
Plan how to divide work before dispatching.
Multi-agent
Multi-agent architecture patterns.
Todo
Track task progress across agents.