createAgent
Creates a new AI agent with the specified configuration, tool registry, and optional parameters.
Return
The newly created AI agent.
Parameters
An optional unique identifier for the agent. If null, a default identifier will be generated.
The registry of tools to be used by the agent. Defaults to an empty registry.
The configuration settings for the AI agent. Defaults to the service's agent configuration.
The clock instance to manage time-related operations, defaulting to the system clock.
Creates a new AI agent with the specified configuration, tool registry, and optional parameters.
Return
The newly created AI agent.
Parameters
An optional unique identifier for the agent. If null, a default identifier will be generated.
The registry of tools to be used by the agent. Defaults to an empty registry.
The configuration settings for the AI agent. Defaults to the service's agent configuration.
The clock instance to manage time-related operations, defaulting to the system clock.