Skip to main content
Version: v5.3

Teams with fixed workflow

Overview​

In a team with a fixed workflow, each agent has a specific role and its own tools, contributing to the overall workflow.

Setting up a team with a fixed workflow​

JSON Team definition​

The JSON Team definition below 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__"
}
]
}

Description of team definition properties​

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.