Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Static Planner

Returns a pre-configured set of steps from the YAML config. No LLM call is needed — the plan is always the same regardless of input. Useful for enforcing a consistent workflow.

Details

IDnexus.planner.static
DependenciesNone

Configuration

KeyTypeDefaultDescription
approvalstringneverApproval mode: always, never, auto (defaults to never for static)
summarystring(none)Human-readable summary of the plan
stepslist(required)List of step objects

Step Object

KeyTypeRequiredDescription
descriptionstringYesWhat this step does
instructionsstringNoDetailed instructions for the agent

Events

Subscribes To

EventPriorityPurpose
plan.request50Receives plan requests

Emits

EventWhen
plan.resultImmediately returns the configured plan

Example Configuration

nexus.planner.static:
  approval: never
  summary: "Standard coding workflow"
  steps:
    - description: "Analyze the request and identify affected files"
    - description: "Plan the implementation approach"
    - description: "Implement the changes"
    - description: "Verify correctness"
    - description: "Summarize what was done"

With Detailed Instructions

nexus.planner.static:
  approval: always
  summary: "Code review workflow"
  steps:
    - description: "Read the changed files"
      instructions: "Use the file tool to read all files mentioned in the request. Understand the full context."
    - description: "Identify issues"
      instructions: "Check for bugs, security issues, performance problems, and style violations."
    - description: "Write the review"
      instructions: "Summarize findings by severity. Include code suggestions for each issue."