AIAgent

constructor(inputType: KType, outputType: KType, promptExecutor: PromptExecutor, strategy: AIAgentStrategy<Input, Output>, agentConfig: AIAgentConfigBase, id: String = Uuid.random().toString(), toolRegistry: ToolRegistry = ToolRegistry.EMPTY, clock: Clock = Clock.System, installFeatures: AIAgent.FeatureContext.() -> Unit = {})(source)

Initializes the AI agent instance and prepares the feature context and pipeline for use.

Parameters

Input

Type of agent input.

Output

Type of agent output.