selfware 0.6.3

Your personal AI workshop — software you own, software that lasts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Swarm Factory
//!
//! Helper functions to create pre-configured swarms.

use super::coordinator::Swarm;
use super::types::{Agent, AgentRole};

/// Create a standard development swarm
pub fn create_dev_swarm() -> Swarm {
    let mut swarm = Swarm::new();

    swarm.add_agent(Agent::new("Archie", AgentRole::Architect));
    swarm.add_agent(Agent::new("Cody", AgentRole::Coder));
    swarm.add_agent(Agent::new("Tessa", AgentRole::Tester));
    swarm.add_agent(Agent::new("Rex", AgentRole::Reviewer));

    swarm
}