Skip to main content

spawn_agent_seeded

Function spawn_agent_seeded 

Source
pub fn spawn_agent_seeded(
    world: &mut World,
    agent_id: String,
    blueprint: Blueprint,
    seeds: &HashMap<String, String>,
    stages: Vec<ResolvedStage>,
    global_batch_tool_hint: bool,
    region_scripts: HashMap<String, Arc<RegionScript>>,
) -> Result<Entity, String>
Expand description

Like spawn_agent, but seeds the context window from a name→content map (caller-input regions filled by the CLI/ACP/API, plus blueprint-resolved seeds) rather than a single task string. spawn_agent is the thin wrapper that seeds only the task key.