autogpt 0.1.15

🦀 A Pure Rust Framework For Building AGIs.
1
2
3
4
5
6
7
8
9
10
#[macro_export]
macro_rules! agents {
    ( $($agent:expr),* $(,)? ) => {
        vec![
            $(
                std::sync::Arc::new(tokio::sync::Mutex::new(Box::new($agent) as Box<dyn AgentFunctions>))
            ),*
        ]
    };
}