Skip to main content

Agent teams

An agent can be individual or a team: several agents with different instructions and tools, coordinated by a leader, that solve a task together. Inside a workflow, the Equipos (Teams) group in the Componentes (Components) panel creates a team that is private to that workflow.

Use a team when a single instruction becomes long and contradictory: for example, one agent that classifies, another that drafts, and another that validates. If a single prompt solves it, stay with an individual agent: it's cheaper and easier to debug.

The four patterns​

PatternStrategyHow the leader worksUse it when
Trabajo repartido (Split work)Coordinar (Coordinate)Splits the request, assigns each part to an agent, and combines everything into a single response.The task has independent parts (for example, extracting data from different sections of a document).
Expertos en el tema (Subject-matter experts)Enrutar (Route)Chooses the most suitable agent for the request, and that agent responds directly.Requests are of different types and a specialist handles each one better (technical support vs. billing).
Todos a la vez (All at once)Difundir (Broadcast)Sends the same request to all the agents and combines their responses.You want several perspectives on the same thing (legal, financial, and technical review of a contract).
Lista de tareas (Task list)Tareas (Tasks)Assigns the tasks in order and uses each result to direct the next one.The steps depend on each other (research, draft, review).

Each pattern has a different cost. Todos a la vez multiplies the model calls by the number of agents; Expertos en el tema makes one routing call plus one response call. Check the cost in the workflow's Resumen (Summary) tab before putting it into production.

Team templates​

In the Plantillas (Templates) group of the Componentes panel, there are ready-made teams by use case: Soporte a cliente (Customer support), Investigación (Research), Panel multi-área (Multi-area panel), and Pipeline de contenido (Content pipeline). Start from one and adjust each member's instructions.

In the agent list​

In version 2.49, the list shows the same AGENT label for individual agents and teams. In the API, the type field tells them apart (single or multiple).

Next step​