Skip to main content
Version: v5.0

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__"    }  ]}
PropertyTypeRequiredDescription
_nameStringRequiredEnter a name for the Team.
_descriptionStringNoEnter a description for the Team.
_agentsArray of ObjectRequiredIdentify the agents you want to include in the Team.
_flowArray of ObjectRequiredDefine 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.
fromArray of ObjectRequiredTo start a flow, set to "__start__", otherwise reference the preceding agent in the flow.
toArray of ObjectRequiredTo end a flow, set to "__end__", otherwise reference the subsequent agent in the flow.