Subagents (Orchestration)
As your operation grows, trying to make a single Agent an expert at everything (Sales, Technical Support, Billing, and HR) can make it inefficient and prone to errors.
The Subagents module lets you connect multiple specialized agents within the same Workspace. It works like a human team: you have a "Receptionist" (Main Agent) who passes the work to "Specialists" (Subagents).
Collaboration Modes
When you connect a subagent, you have to define how it will interact with the main agent. There are two modes:
1. Assistance Mode
The Main Agent never loses control of the conversation.
- How it works: The Main Agent quietly asks the Subagent a question, gets the answer, and then relays it to the customer.
- Use case: Your Sales agent needs to know a product's stock. It consults the "Inventory Agent," gets the data, and passes it on to the customer without transferring them.
- Analogy: Like when an operator puts the customer on hold to ask their supervisor something.
2. Delegation Mode
The Main Agent hands over control temporarily.
- How it works: The Main Agent detects a specific intent and transfers the chat to the Subagent. The Subagent talks directly with the customer until its task is complete. Once it's done, control returns to the Main agent.
- Use case: The customer wants to book an appointment. The Main Agent hands them off to the "Scheduling Agent." It asks for date and time, confirms the appointment, and then returns the user to the main menu.
- Analogy: Transferring the call to the right department.
Visual Configuration
The Subagents interface uses a drag-and-drop canvas.
Select Agents
In the right-hand panel you'll see the list of "Workspace Agents". These are all the other bots you've created in your account. Drag the one you want to connect onto the central canvas.
Connect Nodes
Click on the dot of the main agent and drag the connection line over to the new subagent.
Configure the Behavior
When you select the subagent on the canvas, a configuration menu will open:
Status: Active / Inactive.
Task Type: Choose between Assistance or Delegation.
Assistance Description: ⚠️ Crucial. Here you should write in natural language when this subagent should be triggered.
Example: "Use this subagent when the customer wants to check the status of an order or request an invoice."
Specialization: We recommend creating very small, specific agents (e.g., "Pricing Expert," "Warranty Expert") and orchestrating them all through a "Receptionist Agent." This makes maintenance much easier.