Agent Team
Agent Team define which agents a Digital Employee can delegate tasks to. When configured, the Digital Employee gains access to the delegate tool, allowing it to act as a Coordinator — dispatching specialized work to other Digital Employees or Workflows and synthesizing their results.
Overview
A Coordinator Digital Employee can delegate tasks to multiple target agents in parallel within a single conversational turn. Each target agent:
- Runs in an isolated session with its own context and tools
- Receives a complete task description from the Coordinator (the target has no knowledge of the Coordinator's conversation)
- Returns a structured result that the Coordinator synthesizes into a final response
This architecture follows the Coordinator-Worker pattern: the Coordinator handles reasoning, planning, and user interaction, while Worker agents execute specialized tasks.
Configuration
The delegate targets entry is located under the Agent Team tab in the Digital Employee detail page.
Interface
The configuration page displays available agents in a table with the following columns:
- Name: The agent's display name
- Type:
DigiEmployeeorWorkflow - Description: The agent's description
- Enabled: Toggle switch to enable or disable the target
Use the search box to filter by name or description. The Enable All and Disable All buttons provide bulk operations. Changes are saved immediately on toggle.
Supported Target Types
| Type | Description | Status |
|---|---|---|
| DigiEmployee | Another Digital Employee with its own tools, skills, and model configuration | Available |
| Workflow | A DialogFlow agent with predefined node-based execution | Available |
Mode Awareness
Delegate targets are resolved according to the Coordinator's execution mode:
- Debug mode: Uses draft configurations — targets do not need to be published
- Release mode: Uses published configurations — targets must be published to be available
How Delegate Works
When the Coordinator invokes the delegate tool, the execution flow is:
- Tool selection: The Coordinator's LLM selects a target from the available delegate list based on task matching
- Context packaging: The Coordinator includes all necessary data and instructions in the task description — the Worker has no access to the Coordinator's conversation
- Synchronous execution: The Coordinator blocks until the Worker finishes or times out (default 300 seconds). Parallel delegation is achieved by issuing multiple
delegatecalls in a single turn - Result synthesis: The Worker's output is returned to the Coordinator as a structured result
Coordinator (LLM)
├─ plan
├─ delegate("数据分析师", task) ──→ Worker DE (isolated session)
├─ delegate("审批流程", task) ──→ Workflow (isolated session)
└─ synthesize results → user responsePermission Control
Delegation requires Permission.Use on the target resource. The Coordinator's user identity and tenant context are propagated to each delegated task. If the Coordinator's user does not have permission to use a target agent, the delegation will fail with an error message.
Limitations
- No nested delegation: Worker agents cannot delegate further — the
delegatetool is disabled for sub-agents - No user interaction during delegation: Workers cannot ask the user for clarification mid-task. If a Worker's result is unclear, the Coordinator determines whether to re-delegate or handle it directly
- No workflow interruption: Workflow targets execute from start to finish without pause/resume
- Synchronous only: Delegation blocks the Coordinator's current turn until completion (with configurable timeout)
See Also
- Digital Employee Tools — Managing built-in and MCP tools
- Digital Employee Skills — Managing skill packages
- Delegate Node — DEDelegate workflow node for Workflow → DigiEmployee delegation