createManagedAgent

open override fun createManagedAgent(id: String?, clock: Clock): AIAgent<Input, Output>(source)

Creates a managed AI agent with the specified identifier and clock.

Return

A managed AI agent instance implementing the AIAgent interface.

Parameters

id

The optional unique identifier for the created agent. If null, a default identifier may be used.

clock

The clock instance used for time-related operations within the agent.