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
| 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. |