---
docId: doc_f0ac9cf0583841da8789a3225cf25ace
title: Subagents
description: Connect specialized agents to consult them for information or delegate part of a conversation.
---

# Subagents

An agent can work with other agents in your workspace. Use this section to choose who participates, what they do and when they should step in.


![Subagent settings and links](/images/screenshots/manuales-piloto/agentes/pantallas-completas/en/subagentes.webp)

## Collaboration modes

### Assistance

The main agent consults the subagent to complete a task and uses its response to answer the customer. The main agent keeps control of the conversation.

Use this when you need a specialist's input without changing who handles the chat: availability, policies or technical information.

### Delegation

The main agent hands the conversation to the subagent. The subagent talks directly to the customer and can return control to the main agent after completing its task.

Define two clear criteria:

- **Delegation criteria:** when the subagent should step in.
- **Completion criteria:** when its task is finished and it should return control.

For instance, you can delegate a technical question and return to the main agent when the customer confirms it has been resolved.

## Visual setup

1. Open **Subagents** inside the main agent.
2. Find an agent under **Available agents**. Click it or drag it onto the canvas.
3. Open **Configure** on its card.
4. Choose **Assistance** or **Delegation** and describe its task.
5. Set its status to **Active**.
6. Save the draft and [publish the version](/help/agents/versions).

New subagents are added as **Inactive**. Being on the canvas does not mean the main agent will use them.

For Assistance, describe the information the subagent should provide. For Delegation, complete the entry and completion criteria. If you use the option to write them with AI, review the text before saving.

The canvas shows the **Main agent** and the selected agents. Arrange their cards to understand the relationship; moving a card does not change its task.

## Change or remove a subagent

Open **Configure** to adjust its task or set it to **Inactive**. Remove it from the selection when you no longer need it.

These changes are saved in the main agent's draft and apply when you publish. Removing a subagent from this team does not delete the agent from your workspace.

Manage the subagent's instructions, knowledge and tools in its own configuration.

## Check the collaboration

In [Test your agent](/help/agents/test), talk to the main agent and present the situation that should activate the subagent. Check whether the consultation or delegation makes sense and, if you delegated, whether the criteria allow the task to finish.

You can also use [evals](/help/agents/evals) to repeat those situations and review their results.
