Skip to main content
The TeamRunOutput class represents the response from a team run, containing both the team’s overall response and individual member responses. It supports streaming and provides real-time events throughout the execution of a team.

TeamRunOutput Attributes

TeamRunOutputEvent Types

The following events are sent by the Team.run() function depending on the team’s configuration:

Core Events

Pre-Hook Events

Post-Hook Events

Tool Events

Reasoning Events

Memory Events

Session Summary Events

Event Attributes

Base TeamRunOutputEvent

All events inherit from BaseTeamRunEvent which provides these common attributes:

RunStartedEvent

IntermediateRunContentEvent

RunContentCompletedEvent

RunContentEvent

RunCompletedEvent

RunErrorEvent

RunCancelledEvent

PreHookStartedEvent

PreHookCompletedEvent

PostHookStartedEvent

PostHookCompletedEvent

ToolCallStartedEvent

ToolCallCompletedEvent

ReasoningStartedEvent

ReasoningStepEvent

ReasoningCompletedEvent

MemoryUpdateStartedEvent

MemoryUpdateCompletedEvent

SessionSummaryStartedEvent

SessionSummaryCompletedEvent

ParserModelResponseStartedEvent

ParserModelResponseCompletedEvent

OutputModelResponseStartedEvent

OutputModelResponseCompletedEvent

CustomEvent