AgentClosingEvent

data class AgentClosingEvent(val eventId: String, val executionInfo: AgentExecutionInfo, val agentId: String, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : DefinedFeatureEvent(source)

Represents an event that signifies the closure or termination of an AI agent identified by a unique agentId.

Constructors

Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, agentId: String, timestamp: Long = Clock.System.now().toEpochMilliseconds())
constructor(agentId: String)

Properties

Link copied to clipboard

The unique identifier of the AI agent;

Link copied to clipboard
open override val eventId: String

A unique identifier for the event or a group of events;

Link copied to clipboard

Provides contextual information about the execution associated with this event.

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 timestamp: Long

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