createManagedAgent

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

Creates and returns a managed instance of FunctionalAIAgent.

Return

A FunctionalAIAgent instance configured with the associated properties and dependencies.

Parameters

id

The unique identifier for the agent instance. If null, a new identifier is generated.

clock

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