GraphAIAgent
constructor(inputType: KType, outputType: KType, promptExecutor: PromptExecutor, agentConfig: AIAgentConfig, toolRegistry: ToolRegistry = ToolRegistry.EMPTY, strategy: AIAgentGraphStrategy<Input, Output>, id: String? = null, clock: Clock = Clock.System, installFeatures: GraphAIAgent.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.