AgentConfig
Configuration class for managing agent-specific settings and tools.
The AgentConfig
class allows customization of the agent's behavior, including:
Setting the prompt and language model to use
Managing tools available to the agent
Defining strategies for handling missing tools
Installing additional features
Properties
Specifies the maximum number of iterations an agent is permitted to perform during its execution cycle.
Defines the strategy for handling tool calls present in the prompt that do not have corresponding tool definitions registered in the current context. This is used to convert missing tool information into a format suitable for processing by the model.
Functions
Adds an AI agent feature to the current configuration by applying the specific configuration logic.
Configures the MCP (Modular Configuration Protocol) tools for the agent with the provided configuration block.
Registers tools into the tool registry using the provided configuration lambda.