Agent Config • Rust AI Agent SDK
AgentConfig: Configuration for an agent
AgentConfig
Defined in the builder module.
Rust AI Agent SDK
Configuration for an agent
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%
graph LR
input["Input Data"] --> agent["Agent: AgentConfig"]
agent --> output["Output Result"]
style agent fill:#8B0000,color:#fff
style input fill:#8B0000,color:#fff
style output fill:#8B0000,color:#fffFields
| Name | Type | Description |
|---|---|---|
max_iterations | usize | Maximum iterations for tool calling loop |
verbose | bool | Enable verbose output |
stream | bool | Enable streaming |
Source
View on GitHubpraisonai/src/agent/builder.rs at line 17