Agent

Trait Agent 

Source
pub trait Agent: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn description(&self) -> &str;
    fn config(&self) -> &AgentConfig;
}
Expand description

High-level agent trait

Required Methods§

Source

fn name(&self) -> &str

Get agent name

Source

fn description(&self) -> &str

Get agent description

Source

fn config(&self) -> &AgentConfig

Get agent configuration

Implementors§