NonSuspendAIAgentStrategy

AIAgentStrategy that is executed in non-suspend context using java.util.concurrent.ExecutorService provided in ai.koog.agents.core.agent.config.AIAgentConfig.

See executeStrategy

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
actual abstract val name: String

Functions

Link copied to clipboard
open fun execute(context: TContext, input: TInput, executorService: ERROR CLASS: Symbol not found for ExecutorService??): TOutput?
suspend override fun execute(context: TContext, input: TInput): TOutput?
Link copied to clipboard
abstract fun executeStrategy(context: TContext, input: TInput): TOutput

Executes the AI agent's strategy asynchronously using the provided context and input.