GraphStrategyStartingEvent

data class GraphStrategyStartingEvent(val runId: String, val strategyName: String, val graph: StrategyEventGraph, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : StrategyStartingEvent(source)

Represents an event triggered at the start of an AI agent strategy execution that involves the use of a graph-based operational model.

This event extends the functionality of the AIAgentStrategyStartEvent class, providing additional details specific to graph-based strategies. It captures the graph structure used by the strategy, enabling effective representation and understanding of the execution flow and dependency relationships between various processing nodes within the graph.

The AIAgentGraphStrategyStartEvent is particularly useful for monitoring, debugging, and analyzing AI agents that employ graph-like structures for their workflows.

Constructors

Link copied to clipboard
constructor(runId: String, strategyName: String, graph: StrategyEventGraph, timestamp: Long = Clock.System.now().toEpochMilliseconds())

Properties

Link copied to clipboard

The graph structure representing the strategy's execution workflow, encompassing nodes and their directed relationships;

Link copied to clipboard
open override val messageType: FeatureMessage.Type

Specifies the type of the feature message for this event.

Link copied to clipboard
open override val runId: String

A unique identifier representing the specific run or instance of the strategy execution.

Link copied to clipboard
open override val strategyName: String

The name of the graph-based strategy being executed.

Link copied to clipboard
open override val timestamp: Long

The timestamp of the event, in milliseconds since the Unix epoch.