Team
A team defines a sequential workflow of agents that execute tasks based on a defined order, passing outputs along the chain.
Teams maintain session context to support multi-step conversations. In a team, each agent has a specific role and its own tools, contributing to the overall workflow.
Team definition#
The following Team definition creates a single-agent team:
{ _name: "Get Assets Team", _namespaces:["{{nsfilter}}"], _agents: [ { _userType: "asset_info_agent" } ], _flow: [ { from: "__start__", to: "asset_info_agent" }, //insert additional flow steps here { from: "asset_info_agent", to: "__end__" } ]}| Property | Type | Required | Description |
|---|---|---|---|
_name | String | Required | Enter a name for the Team. |
_description | String | No | Enter a description for the Team. |
_agents | Array of Object | Required | Identify the agents you want to include in the Team. |
_flow | Array of Object | Required | Define the execution sequence by specifying transitions with "from" and "to" fields. You require at least two flow objects, one to start the flow and one to end it, using the "__start__" and "__end__" keywords. |
from | Array of Object | Required | To start a flow, set to "__start__", otherwise reference the preceding agent in the flow. |
to | Array of Object | Required | To end a flow, set to "__end__", otherwise reference the subsequent agent in the flow. |