Skip to main content

Attributes

The Team class accepts the following parameters:
ParameterTypeDefaultDescription
agentslist[Any]RequiredList of Agent instances to use as team members
taskslist[Task] | NoneNoneList of tasks to execute (optional)
modelOptional[Any]NoneModel provider for internal agents (leader, router)
response_formatAnystrResponse format for the final output
ask_other_team_membersboolFalseFlag to add other agents as tools
modeLiteral["sequential", "coordinate", "route"]"sequential"Operational mode for the team
memoryOptional[Memory]NoneShared memory for team coordination