Single-Path Plan Generator
Generate one linear sequence of intermediate steps from current state to goal — the lightweight planning alternative to tree-of-thoughts and multi-path generation.
Problem
Default-to-tree-search planning is expensive for straightforward tasks. A single linear path is often the right level of effort — but is rarely named as a deliberate choice. Differs from tree-of-thoughts (multi-path search) by intentionally producing one path.
Solution
Plan generator produces one sequence of intermediate steps. No exploration of alternatives. If a step fails or reveals goal mismatch, trigger replan-on-failure to produce a new single path from the new state. Pair with multi-path-plan-generator (alternative), tree-of-thoughts (alternative), replan-on-failure, plan-and-execute.
When to use
- Plan paths are roughly equivalent in quality.
- Cost budget favors cheap planning.
- Replan-on-failure can handle path-choice errors.
Open the full interactive page →
Diagram, neighbourhood map, code examples, related patterns and full provenance.