Skip to main content

Module planner

Module planner 

Source
Expand description

Symbolic agent planner.

Given a task description and a set of available capabilities, produces a DAG plan by matching task verbs to capability names. This is a deterministic, rule-based planner — no LLM inference is used.

The planner recognises a fixed set of task verbs (research, analyse, synthesise, verify, report) and maps them to capability patterns. Each planned node carries an effect label and a budget derived from the task complexity heuristic.

Structs§

AgentPlan
A complete agent plan — a topologically-ordered sequence of steps.
PlannedStep
A single planned step in the agent plan.

Enums§

TaskVerb
Task verb recognised by the planner.

Functions§

plan_task
Plan an agent task given a task description and available capabilities.
plan_to_record_map
Convert a plan to a VibeScript-compatible record value map.