agents/agents-core/src/jvmMain/kotlin/ai/koog/agents/core/agent/AIAgent.kt [64:192]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public actual abstract suspend fun getState(): AIAgentState public actual open suspend fun result(): Output = AIAgentHelper.result(this) public actual abstract suspend fun run(agentInput: Input): Output public actual companion object { @OptIn(markerClass = [ExperimentalUuidApi::class]) public actual inline operator fun invoke( promptExecutor: PromptExecutor, agentConfig: AIAgentConfig, strategy: AIAgentGraphStrategy, toolRegistry: ToolRegistry, id: String?, clock: Clock, noinline installFeatures: GraphAIAgent.FeatureContext.() -> Unit ): AIAgent = AIAgentHelper.invoke(promptExecutor, agentConfig, strategy, toolRegistry, id, clock, installFeatures) @OptIn(markerClass = [ExperimentalUuidApi::class]) public actual operator fun invoke( promptExecutor: PromptExecutor, agentConfig: AIAgentConfig, strategy: AIAgentGraphStrategy, toolRegistry: ToolRegistry, id: String?, installFeatures: GraphAIAgent.FeatureContext.() -> Unit ): GraphAIAgent = AIAgentHelper.invoke( promptExecutor, agentConfig, strategy, toolRegistry, id, installFeatures = installFeatures ) @OptIn(markerClass = [ExperimentalUuidApi::class]) public actual operator fun invoke( promptExecutor: PromptExecutor, agentConfig: AIAgentConfig, strategy: AIAgentFunctionalStrategy, toolRegistry: ToolRegistry, id: String?, clock: Clock, installFeatures: FunctionalAIAgent.FeatureContext.() -> Unit ): FunctionalAIAgent = AIAgentHelper.invoke(promptExecutor, agentConfig, strategy, toolRegistry, id, clock, installFeatures) @OptIn(markerClass = [ExperimentalUuidApi::class]) public actual operator fun invoke( promptExecutor: PromptExecutor, llmModel: LLModel, responseProcessor: ResponseProcessor?, strategy: AIAgentGraphStrategy, toolRegistry: ToolRegistry, id: String?, systemPrompt: String?, temperature: Double?, numberOfChoices: Int, maxIterations: Int, installFeatures: GraphAIAgent.FeatureContext.() -> Unit ): AIAgent = AIAgentHelper.invoke( promptExecutor, llmModel, responseProcessor, strategy, toolRegistry, id, systemPrompt, temperature, numberOfChoices, maxIterations, installFeatures ) @OptIn(markerClass = [ExperimentalUuidApi::class]) public actual inline operator fun invoke( promptExecutor: PromptExecutor, llmModel: LLModel, strategy: AIAgentGraphStrategy, responseProcessor: ResponseProcessor?, toolRegistry: ToolRegistry, id: String?, clock: Clock, systemPrompt: String?, temperature: Double?, numberOfChoices: Int, maxIterations: Int, noinline installFeatures: GraphAIAgent.FeatureContext.() -> Unit ): AIAgent = AIAgentHelper.invoke( promptExecutor, llmModel, strategy, responseProcessor, toolRegistry, id, clock, systemPrompt, temperature, numberOfChoices, maxIterations, installFeatures ) public actual operator fun invoke( promptExecutor: PromptExecutor, llmModel: LLModel, responseProcessor: ResponseProcessor?, toolRegistry: ToolRegistry, strategy: AIAgentFunctionalStrategy, id: String?, systemPrompt: String?, temperature: Double?, numberOfChoices: Int, maxIterations: Int, installFeatures: FunctionalAIAgent.FeatureContext.() -> Unit ): AIAgent = AIAgentHelper.invoke( promptExecutor, llmModel, responseProcessor, toolRegistry, strategy, id, systemPrompt, temperature, numberOfChoices, maxIterations, installFeatures ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - agents/agents-core/src/wasmJsMain/kotlin/ai/koog/agents/core/agent/AIAgent.kt [20:148]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public actual abstract suspend fun getState(): AIAgentState public actual open suspend fun result(): Output = AIAgentHelper.result(this) public actual abstract suspend fun run(agentInput: Input): Output public actual companion object { @OptIn(markerClass = [ExperimentalUuidApi::class]) public actual inline operator fun invoke( promptExecutor: PromptExecutor, agentConfig: AIAgentConfig, strategy: AIAgentGraphStrategy, toolRegistry: ToolRegistry, id: String?, clock: Clock, noinline installFeatures: GraphAIAgent.FeatureContext.() -> Unit ): AIAgent = AIAgentHelper.invoke(promptExecutor, agentConfig, strategy, toolRegistry, id, clock, installFeatures) @OptIn(markerClass = [ExperimentalUuidApi::class]) public actual operator fun invoke( promptExecutor: PromptExecutor, agentConfig: AIAgentConfig, strategy: AIAgentGraphStrategy, toolRegistry: ToolRegistry, id: String?, installFeatures: GraphAIAgent.FeatureContext.() -> Unit ): GraphAIAgent = AIAgentHelper.invoke( promptExecutor, agentConfig, strategy, toolRegistry, id, installFeatures = installFeatures ) @OptIn(markerClass = [ExperimentalUuidApi::class]) public actual operator fun invoke( promptExecutor: PromptExecutor, agentConfig: AIAgentConfig, strategy: AIAgentFunctionalStrategy, toolRegistry: ToolRegistry, id: String?, clock: Clock, installFeatures: FunctionalAIAgent.FeatureContext.() -> Unit ): FunctionalAIAgent = AIAgentHelper.invoke(promptExecutor, agentConfig, strategy, toolRegistry, id, clock, installFeatures) @OptIn(markerClass = [ExperimentalUuidApi::class]) public actual operator fun invoke( promptExecutor: PromptExecutor, llmModel: LLModel, responseProcessor: ResponseProcessor?, strategy: AIAgentGraphStrategy, toolRegistry: ToolRegistry, id: String?, systemPrompt: String?, temperature: Double?, numberOfChoices: Int, maxIterations: Int, installFeatures: GraphAIAgent.FeatureContext.() -> Unit ): AIAgent = AIAgentHelper.invoke( promptExecutor, llmModel, responseProcessor, strategy, toolRegistry, id, systemPrompt, temperature, numberOfChoices, maxIterations, installFeatures ) @OptIn(markerClass = [ExperimentalUuidApi::class]) public actual inline operator fun invoke( promptExecutor: PromptExecutor, llmModel: LLModel, strategy: AIAgentGraphStrategy, responseProcessor: ResponseProcessor?, toolRegistry: ToolRegistry, id: String?, clock: Clock, systemPrompt: String?, temperature: Double?, numberOfChoices: Int, maxIterations: Int, noinline installFeatures: GraphAIAgent.FeatureContext.() -> Unit ): AIAgent = AIAgentHelper.invoke( promptExecutor, llmModel, strategy, responseProcessor, toolRegistry, id, clock, systemPrompt, temperature, numberOfChoices, maxIterations, installFeatures ) public actual operator fun invoke( promptExecutor: PromptExecutor, llmModel: LLModel, responseProcessor: ResponseProcessor?, toolRegistry: ToolRegistry, strategy: AIAgentFunctionalStrategy, id: String?, systemPrompt: String?, temperature: Double?, numberOfChoices: Int, maxIterations: Int, installFeatures: FunctionalAIAgent.FeatureContext.() -> Unit ): AIAgent = AIAgentHelper.invoke( promptExecutor, llmModel, responseProcessor, toolRegistry, strategy, id, systemPrompt, temperature, numberOfChoices, maxIterations, installFeatures ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -