Agent

Derive Macro Agent 

Source
#[derive(Agent)]
{
    // Attributes available to this derive:
    #[agent]
}
Expand description

Derive macro for implementing the Agent trait

§Usage

#[derive(Agent)]
#[agent(expertise = "Rust expert", output = "MyOutputType")]
struct MyAgent;