createManagedAgent
open override fun createManagedAgent(id: String?, additionalToolRegistry: ToolRegistry, agentConfig: AIAgentConfig, clock: Clock): FunctionalAIAgent<Input, Output>(source)
Creates and returns a managed instance of FunctionalAIAgent.
Return
A managed AI agent instance implementing the AIAgent interface.
Parameters
clock
The clock instance used for time-related operations within the agent.
id
The identifier for the agent. Random UUID will be generated if set to null.