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

Parser Model Events

Output Model Events

Model Request Events

Compression Events

Custom Events

Event Attributes

Base TeamRunOutputEvent

All events inherit from BaseTeamRunEvent which provides these common attributes:

RunStartedEvent

IntermediateRunContentEvent

RunContentCompletedEvent

RunContentEvent

RunCompletedEvent

RunErrorEvent

RunCancelledEvent

RunPausedEvent

RunContinuedEvent

PreHookStartedEvent

PreHookCompletedEvent

PostHookStartedEvent

PostHookCompletedEvent

ToolCallStartedEvent

ToolCallCompletedEvent

ToolCallErrorEvent

ReasoningStartedEvent

ReasoningStepEvent

ReasoningContentDeltaEvent

ReasoningCompletedEvent

MemoryUpdateStartedEvent

MemoryUpdateCompletedEvent

SessionSummaryStartedEvent

SessionSummaryCompletedEvent

ParserModelResponseStartedEvent

ParserModelResponseCompletedEvent

OutputModelResponseStartedEvent

OutputModelResponseCompletedEvent

ModelRequestStartedEvent

ModelRequestCompletedEvent

CompressionStartedEvent

CompressionCompletedEvent

CustomEvent