agentle.agents.agent_config_dict¶
Configuration module for Agentle agents.
This module defines the configuration options that control the behavior of agents in the Agentle framework. The primary class, AgentConfig, encapsulates settings related to generation parameters, tool call limits, and iteration bounds that govern how agents operate.
Example: ```python from agentle.agents.agent_config import AgentConfig from agentle.generations.models.generation.generation_config import GenerationConfig
# Create a custom configuration with specific settings config = AgentConfig(
generationConfig=GenerationConfig(temperature=0.7, top_p=0.95), maxToolCalls=20, maxIterations=15
)
# Use the configuration when creating an agent agent = Agent(
# … other parameters … config=config
)¶
Functions
|
A simple typed namespace. |
Classes
|
Configuration class for Agentle agents. |
|
Configuration parameters for controlling AI generation behavior. |
|
Configuration parameters for controlling AI generation behavior. |