createAgentAndRunBlocking
fun createAgentAndRunBlocking(agentInput: Input, id: String? = null, additionalToolRegistry: ERROR CLASS: Symbol not found for ToolRegistry = ToolRegistry.EMPTY, agentConfig: AIAgentConfig = this.agentConfig, clock: ERROR CLASS: Symbol not found for KoogClock = KoogClock.System): Output(source)
Creates an AI agent using the specified parameters and immediately runs it with the provided input.
Return
The output produced by running the agent with the provided input.
Parameters
agentInput
The input data to be processed by the agent.
id
An optional identifier for the agent. If null, a default identifier may be used.
additionalToolRegistry
A registry of additional tools available to the agent. Defaults to an empty registry.
agentConfig
Configuration settings for the agent. Defaults to the current agent configuration of the service.
clock
The clock instance to be used for time-based operations within the agent.