Teams use the same execution methods as agents: run(), arun(), run_stream(), and arun_stream().
Basic Execution
Team.arun() returns a RunOutput, the same type as Agent.arun(). Not a separate TeamOutput.
Streaming
Structured Output
Return typed Pydantic models from the team leader:
Events
Subscribe to team events:
Nested Teams
Teams can contain other teams as members:
Imports