Auto Agents • Rust AI Agent SDK
AutoAgents: Auto agents for automatic agent generation
AutoAgents
Defined in the specialized module.
Rust AI Agent SDK
Auto agents for automatic agent generation
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%
graph LR
input["Input Data"] --> agent["Agent: AutoAgents"]
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 |
|---|---|---|
config | AutoAgentsConfig | Configuration |
agents | Vec<AutoAgentSpec> | Generated agent configs |
Methods
new
fn new(config: AutoAgentsConfig) -> SelfCreate new auto agents
Parameters:
| Name | Type |
|---|---|
config | AutoAgentsConfig |
generate
fn generate(&mut self, task: &str) -> &[AutoAgentSpec]Generate agents for a task
Parameters:
| Name | Type |
|---|---|
task | &str |
agents
fn agents(&self) -> &[AutoAgentSpec]Get generated agents
Source
View on GitHubpraisonai/src/parity/specialized.rs at line 361