Package-level declarations

Types

Link copied to clipboard
data class AgentClosingContext(val eventId: String, val executionInfo: AgentExecutionInfo, val agent: AIAgent<*, *>) : AgentEventContext

Represents the context passed to the handler that is executed before an agent is closed.

Link copied to clipboard
data class AgentCompletedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val agent: AIAgent<*, *>, val context: AIAgentContext, val runId: String, val result: Any?) : AgentEventContext

Represents the context for handling the completion of an agent's execution.

Link copied to clipboard
class AgentEnvironmentTransformingContext(val eventId: String, val executionInfo: AgentExecutionInfo, val agent: AIAgent<*, *>) : AgentEventContext

Provides a context for executing transformations and operations within an AI agent's environment.

Link copied to clipboard

Provides the context for handling events specific to AI agents. This interface extends the foundational event handling context, EventHandlerContext, and is specialized for scenarios involving agents and their associated workflows or features.

Link copied to clipboard
data class AgentExecutionFailedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val agent: AIAgent<*, *>, val context: AIAgentContext, val runId: String, val error: Throwable) : AgentEventContext

Represents the context for handling errors that occur during the execution of an agent run.

Link copied to clipboard
data class AgentStartingContext(val eventId: String, val executionInfo: AgentExecutionInfo, val agent: AIAgent<*, *>, val context: AIAgentContext, val runId: String) : AgentEventContext

Represents the context available during the start of an AI agent.