Skip to main content

AutoAgents

Defined in the specialized module.
Rust AI Agent SDK Auto agents for automatic agent generation

Fields

NameTypeDescription
configAutoAgentsConfigConfiguration
agentsVec<AutoAgentSpec>Generated agent configs

Methods

new

fn new(config: AutoAgentsConfig) -> Self
Create new auto agents Parameters:
NameType
configAutoAgentsConfig

generate

fn generate(&mut self, task: &str) -> &[AutoAgentSpec]
Generate agents for a task Parameters:
NameType
task&str

agents

fn agents(&self) -> &[AutoAgentSpec]
Get generated agents

Source

View on GitHub

praisonai/src/parity/specialized.rs at line 361