StrategyStartingContext

class StrategyStartingContext(val eventId: String, val executionInfo: AgentExecutionInfo, val context: AIAgentContext, val strategy: AIAgentStrategy<*, *, *>, val input: Any?) : StrategyEventContext(source)

Represents the context for updating AI agent strategies during execution.

Constructors

Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentContext, strategy: AIAgentStrategy<*, *, *>, input: Any?)

Properties

Link copied to clipboard
open override val context: AIAgentContext

The AI agent context.

Link copied to clipboard
open override val eventId: String

The unique identifier for the event.

Link copied to clipboard

Represents the specific type of event handled within the event handler context, categorizing the nature of agent-related or strategy-related events.

Link copied to clipboard

Holds execution-specific context information to support observability and tracing during the lifecycle of an agent.

Link copied to clipboard
val input: Any?

The input passed to strategy. Typed as Any? because AIAgentStrategy does not yet carry its input type (mirrors the same convention used by StrategyCompletedContext.result).

Link copied to clipboard
open override val strategy: AIAgentStrategy<*, *, *>

The strategy being handled or updated, encapsulating the AI agent's workflow logic.