#[derive(Agent)] { // Attributes available to this derive: #[agent] }
Derive macro for implementing the Agent trait
#[derive(Agent)] #[agent(expertise = "Rust expert", output = "MyOutputType")] struct MyAgent;