Planning in the Era of LLMs โ€” Part 3 of 7

50 Years of Planning Algorithms (In 15 Minutes)

From STRIPS to Fast Downward โ€” a tour of the solvers your LLM agent should be working with, not replacing.

๐Ÿ“š Planning in the Era of LLMs โ€” Part 3 of 7

Post 2 gave you the language โ€” states, actions, PDDL. Now meet the algorithms that actually find plans within those astronomical state spaces.

The planning community has been building solvers for over fifty years. Some of them are extraordinarily powerful: modern planners routinely solve problems with billions of reachable states in under a second. Before we talk about how LLMs interact with planning (Posts 4-7), we need to understand what we're integrating with.

This isn't just historical appreciation. Every approach in the second half of this series โ€” LLM-as-heuristic, NL-to-PDDL, LLM-Modulo โ€” relies on classical planning algorithms doing the actual search. Understanding how they work is understanding why the hybrid approaches are so effective.

If you already know A* and heuristic planning, skim the timeline and skip to the demo.

The Evolution: From Theorem Proving to Heuristic Search

Planning algorithms have gone through several paradigm shifts. Here's the trajectory that matters:

50 Years of Planning Algorithms
STRIPS (1971)

Fikes & Nilsson. First automated planner. Theorem-proving approach. Introduced the action representation still used today.

1971
GraphPlan (1995)

Blum & Furst. Planning graph with mutual exclusion. Dramatically faster than forward/backward search of the era.

1995
SATPlan (1996)

Kautz & Selman. Encode planning as Boolean satisfiability. Leverage SAT solver advances. Optimal for parallel plans.

1996
HSP (2001)

Bonet & Geffner. Heuristic search planning. Automatically derive heuristics from PDDL. The paradigm shift that changed everything.

2001
FF / hFF (2001)

Hoffmann. The relaxation heuristic. Delete-free relaxation gives surprisingly good estimates. Won IPC 2000.

2001
Fast Downward (2004)

Helmert. Multi-valued variables (FDR). Causal graph heuristic. The architecture most modern planners build on.

2004
LAMA (2010)

Richter & Westphal. Landmark-based heuristic. Multiple search phases. Won IPC 2008 and 2011.

2010
Modern Portfolio Planners

Run multiple strategies in parallel, pick the best. Scorpion, Complementary, Delfi. State of the art today.

2020s

From theorem-proving (1971) to heuristic search (2001+) to portfolio approaches (2020s). The key insight: automatically derive search guidance from the problem structure itself.

The critical shift happened around 2001. Before HSP and FF, planners used problem-independent search strategies or hand-crafted heuristics. The breakthrough was automatic heuristic derivation: given any PDDL problem, automatically compute a function that estimates how far each state is from the goal. This turned planning from "explore everything" into "search intelligently."

Heuristic Search: The Engine Behind Modern Planning

At its core, every modern planner is running a best-first search. It maintains a frontier of states to explore, and picks the most promising one next. The magic is in the evaluation function that decides "most promising."

The evaluation function typically combines two components:

The way you combine these two values defines the search strategy:

f(s) = g(s) + w ยท h(s)
A* (w = 1)

Optimal but slow. Explores fewest nodes to guarantee best plan. Runs out of memory on large problems.

wA* (w > 1)

Bounded suboptimal. Plan cost โ‰ค w ยท optimal. The practical sweet spot.

GBFS (w = โˆž)

Fast but no guarantees. Only cares about h(s). Can find bad plans, but finds them quickly.

โ† More optimalFaster โ†’

The A*/wA*/GBFS spectrum. Setting w = 1 gives optimal A*. Increasing w trades optimality for speed. At w = โˆž (GBFS), the planner ignores g(s) entirely and just chases the heuristic.

For RoboSort's warehouse, think of it this way: g(s) counts how many move/pick/place actions the robot has taken so far. h(s) estimates how many more it needs. A* guarantees the shortest plan but might explore thousands of states. GBFS (Greedy Best-First Search) beelines for the goal using only the heuristic, finding a plan fast but not necessarily the best one.

In practice, most competition-winning planners use GBFS or wA* โ€” finding good plans quickly matters more than finding perfect plans slowly when you have billions of states to navigate.

Key Insight

The heuristic is everything. Two planners running the same search algorithm with different heuristics can differ by orders of magnitude in performance. The planning community's 50-year contribution isn't search algorithms โ€” it's heuristics: functions that look at a planning problem and estimate how far you are from the goal.

How Heuristics Work: The Relaxation Trick

So where do heuristics come from? You can't just guess. A bad heuristic is worse than no heuristic โ€” it sends the search in circles.

The most influential idea in planning heuristics is the relaxation trick: solve an easier version of the problem, and use that solution's length as an estimate for the real problem. The easier version is always solvable faster, and its solution length is always โ‰ค the real solution (making it admissible โ€” it never overestimates).

The most common relaxation is the delete relaxation: pretend that actions never remove facts from the state. In the real problem, picking up a piece means the shelf no longer has it. In the relaxed problem, the piece is somehow both in your gripper and still on the shelf. This sounds absurd, but it makes the problem dramatically easier to solve โ€” and the solution length is a surprisingly good estimate of the real cost.

The Delete Relaxation: RoboSort Example

Real Problem

pick(L1, shelf-a)
โ†’ L1 removed from shelf-a
โ†’ gripper no longer empty
move(shelf-a, build-zone)
โ†’ robot removed from shelf-a
place(L1, build-zone)
โ†’ L1 removed from gripper
Must return to shelf-a for L2...
Total: 14+ actions for full tower
โ†’

Relaxed Problem (no deletes)

pick(L1, shelf-a)
โ†’ L1 removed from shelf-a
โ†’ gripper no longer empty
pick(L2, shelf-a)
gripper still "empty" โ€” can pick again!
pick(Beam, shelf-b)
robot still "at shelf-a" AND shelf-b!
Robot is everywhere at once!
Relaxed solution: ~7 actions (hFF)

The delete relaxation removes all negative effects. The robot can pick multiple pieces without putting any down, and be at multiple locations simultaneously. Absurd โ€” but the relaxed solution length (7) is a useful lower bound on the real solution length (14+).

This is the hFF heuristic (Hoffmann 2001), and it revolutionized planning. The heuristic doesn't need to be perfect. It just needs to point the search in roughly the right direction. A state where h(s) = 3 is probably closer to the goal than one where h(s) = 12. That's enough for greedy best-first search to find plans in seconds that blind search would take years to discover.

The Planning Stack: From PDDL to Plan

Post 2 introduced the compilation pipeline (PDDL โ†’ Grounding โ†’ FDR โ†’ Solver). Now let's see the full stack with the heuristic layer made explicit:

PDDL Domain + ProblemLifted representation with variables (?p, ?loc)
โ†“
GrounderInstantiate all variables โ†’ ground actions (pick-leg1-shelf-a, ...)
โ†“
Heuristic GeneratorAnalyze problem structure โ†’ hFF, hmax, landmarks, causal graph
โ†“
Search EngineA*, wA*, GBFS โ€” guided by heuristic evaluation
โ†“
PlanSequence of ground actions: move(home, shelf-a), pick(leg1, shelf-a), ...

The modern planning stack. PDDL goes in, a plan comes out. The heuristic generator is the key innovation โ€” it automatically derives search guidance from the problem structure.

The critical insight: the heuristic is derived automatically from the PDDL. You don't hand-code domain-specific search guidance. The planner reads the action schemas, computes relaxations or landmarks or causal graphs, and derives a heuristic function that works for any planning problem.

What Classical Planners Are Great At (And Where They Struggle)

After 50 years of research, classical planners are remarkably capable. But they have clear boundaries:

What They Excel At

Where They Struggle

The Gap

Classical planners are powerful if you give them formal input. For decades, that "if" was the bottleneck. This is the gap that LLMs promise to fill โ€” and Posts 5-7 will show how. But first, Post 4 establishes why LLMs alone can't replace the planner.

The International Planning Competition (IPC)

How do we know which planners work best? Since 1998, the International Planning Competition has been the definitive benchmark. Every two years, planning teams submit their solvers to compete on standardized problem sets across diverse domains.

The IPC measures two things: coverage (how many problems the planner solves within time/memory limits) and plan quality (how close to optimal the plans are).

Key IPC results that shaped the field:

Seeing Search in Action

Here's the same RoboSort warehouse โ€” but now we're watching the planner's mind. Left: the physical warehouse. Right: the planner's floor map, showing which states it explores to route the robot from Home to the Build Zone. Three strategies compete on the same problem.

Interactive โ€” click a strategy or "โ–ถ Auto Demo" to watch all three

Choose a strategy h = 8
Shelf A
Shelf B
Shelf C
L1
L2
Beam
Roof
F
Build Zone
RoboSort
Planner's Floor Map
0
Explored
0
Path
โ€”
Optimal?
Home
Goal
Explored
Path
Shelf
Blind (BFS)
โ€” explored ยท โ€” path
Exhaustive โ€” optimal but expensive
Greedy (h only)
โ€” explored ยท โ€” path
Fast โ€” but may miss shorter routes
A* (g + h)
โ€” explored ยท โ€” path
Optimal with less exploration

Left: RoboSort's warehouse. Right: the planner's state exploration. BFS explores everything. Greedy chases the heuristic. A* balances both.

BFS explores the most cells but guarantees the shortest path. Greedy explores the fewest but may detour. A* is the sweet spot โ€” fewer cells than BFS while still guaranteeing the optimal path. In the full tower assembly, the same dynamics play out across thousands of states.

Beyond the Warehouse: Planning in Agentic AI

The heuristic search principles we just covered โ€” estimating distance to goal, balancing exploration and exploitation, pruning unpromising branches โ€” apply directly to how agentic systems navigate multi-step tasks.

If you've used ReAct-style agents, you've seen them loop: "Search for X โ†’ Read result โ†’ Search for X again โ†’ Read same result..." This happens because ReAct is essentially doing blind search without a heuristic. It has no estimate of "how close am I to solving this?" Classical planning solved this decades ago with heuristic functions.

The parallel is direct: BFS (blind search) explores everything and wastes compute. Greedy search (pure heuristic) can get stuck in loops. A* (balanced) finds optimal solutions efficiently. ReAct agents today are running something closer to random walk. The planning community's algorithms offer a path to agents that explore intelligently.

Each post in this series includes a sidebar like this one, connecting the planning concepts to real agentic AI applications.

What's Ahead

These planners are powerful โ€” extraordinarily so. The best modern solvers handle problems that no brute-force approach could touch. They provide correctness guarantees that no statistical model can match.

But they have one critical limitation: someone must write the PDDL. For decades, that meant you needed a planning expert to formalize every new problem.

Then LLMs arrived. And everyone asked the obvious question: "Can GPT-4 just do the planning?"

The answer, as rigorously tested by the planning community, is no. But the right question turned out to be different โ€” and the answers are spectacular.

References

  1. Fikes, R. E. & Nilsson, N. J. (1971). STRIPS: A New Approach to the Application of Theorem Proving to Problem Solving. Artificial Intelligence, 2(3-4), 189-208.
  2. Blum, A. & Furst, M. (1995). Fast Planning Through Planning Graph Analysis. IJCAI-95.
  3. Kautz, H. & Selman, B. (1996). Pushing the Envelope: Planning, Propositional Logic, and Stochastic Search. AAAI-96.
  4. Bonet, B. & Geffner, H. (2001). Planning as Heuristic Search. Artificial Intelligence, 129(1-2), 5-33.
  5. Hoffmann, J. (2001). FF: The Fast-Forward Planning System. AI Magazine, 22(3), 57-62.
  6. Helmert, M. (2006). The Fast Downward Planning System. JAIR, 26, 191-246.
  7. Richter, S. & Westphal, M. (2010). The LAMA Planner: Guiding Cost-Based Anytime Planning with Landmarks. JAIR, 39, 127-177.
  8. Katz, M., Kokel, H., & Muise, C. (2025). Planning in the Era of Language Models. NeurIPS 2025 Tutorial.