Skip to main content

plan_task

Function plan_task 

Source
pub fn plan_task(task: &str, capabilities: &[String]) -> AgentPlan
Expand description

Plan an agent task given a task description and available capabilities.

Produces a DAG of planned steps. The plan always starts with a research/ analysis step (if capabilities allow), followed by synthesis, verification, and reporting steps as capabilities permit.