PlannerAgentBuilder
Builds an AI-based planning agent by configuring various parameters and defining custom behaviors for the agent. This builder allows flexible setup of an agent's functionality and behavior based on the provided configuration and tools.
Parameters
The planning strategy used by the agent to process and execute tasks.
The executor responsible for handling AI prompts.
The registry of tools available for use by the agent. Defaults to an empty tool registry.
The optional identifier of the agent.
AIAgentConfig containing initial agent configuration for the builder
The clock instance used to track time-related operations for the agent. Defaults to the system clock.
A list of feature installers that enhance the agent's behavior with additional functionality.
Constructors
Functions
Configures the current builder instance using the provided AIAgentConfig.
Installs a functional feature into the PlannerAgentBuilder with the specified configuration.
Sets the maximum number of iterations for the builder.
Sets the number of choices to be utilized by the builder instance.
Sets the PromptExecutor to be used by the builder instance.
Sets the response processor for the agent.
Sets the system prompt to be used by the builder.
Sets the temperature value for the builder.
Sets the given ToolRegistry instance to the builder configuration.