Skip to main content

marvin.engine.events

Classes

ActorEndTurnEvent

Event for agent turn end.

ActorMessageDeltaEvent

Event for delta updates to agent messages during streaming.

ActorMessageEvent

Event for complete text messages from an agent.

ActorStartTurnEvent

Event for agent turn start.

EndTurnToolCallEvent

Event that fires as soon as we know that an end turn tool call has been made.

EndTurnToolResultEvent

Event for the final result from an end turn tool.

Event

Base class for all events in the system.

OrchestratorEndEvent

Event for orchestrator end.

OrchestratorErrorEvent

Event for orchestrator exceptions.

OrchestratorStartEvent

Event for orchestrator start.

ToolCallDeltaEvent

Event for delta updates to tool calls during streaming. Methods:
  • args_dict
    Return the args as a dictionary.

ToolCallEvent

Event for complete tool calls ready to be executed. Methods:
  • args_dict
    Return the args as a dictionary.

ToolResultEvent

Event for tool return values.

ToolRetryEvent

Event for tool retry requests.

UserMessageEvent

Event for user messages.

Functions

get_text_from_parts

Extract text content from a list of ModelResponseParts.
Parent Module: engine