PDDL, the Planning Domain Definition Language, is a formal, Lisp-style language for describing automated planning problems so that a general-purpose planner can search for a sequence of actions that turns an initial state into a goal state. In artificial intelligence, and specifically in symbolic AI & reasoning, it serves as the common input format for classical planners, separating the description of a world from the algorithm that solves it.
PDDL was introduced in 1998 for the International Planning Competition, led by Drew McDermott, to give researchers one shared notation. It builds on the STRIPS action model and the richer ADL formalism, and later versions added numeric fluents, durative actions and preferences. Today it is the de facto standard for benchmarking planners and for connecting symbolic planning with robotics and language-model agents.
How PDDL separates domain and problem
A PDDL model is split into two files: a domain and a problem. The domain describes the general physics of a world, meaning its object types, the predicates that can be true or false, and the action schemas that change them. The problem file lists the concrete objects, the initial state and the goal condition for one specific task.
This separation lets one domain serve thousands of problems. A logistics domain written once can describe a delivery task with three trucks or with three hundred packages, and the planner reads both files without any domain-specific code. The planner then grounds the action schemas into concrete actions and performs state-space search over the resulting states.
The following table lists the main building blocks and where each one appears.
| Element | File | Purpose |
|---|---|---|
| Requirements | Domain | Declares language features such as :strips or :typing |
| Types | Domain | Groups objects into a hierarchy such as truck or package |
| Predicates | Domain | Boolean facts such as (at ?t ?loc) |
| Actions | Domain | Parameters, preconditions and effects |
| Objects | Problem | Named instances used in this task |
| Init | Problem | Facts that are true at the start |
| Goal | Problem | Condition every solution plan must satisfy |
Action schemas, preconditions and effects
Each action schema has parameters, a precondition that must hold before execution and an effect that describes how the state changes. Effects consist of add effects, which make facts true, and delete effects, written with not, which make facts false. All facts not mentioned stay unchanged, which is how PDDL inherits the STRIPS answer to the frame problem.
A typical action such as drive takes a truck and two locations, requires (at ?t ?from) and produces (at ?t ?to) while deleting (at ?t ?from). The state itself is a set of ground atoms interpreted under the closed-world assumption: any fact not listed in the state is considered false. This makes states compact and search efficient, but it also means the modeler must list every relevant fact in the initial state.
PDDL versions and expressive features
PDDL evolved through several versions, each adding features demanded by planning competitions and applications. Planners usually support only a subset of requirements, so checking which flags a planner accepts is the first practical step.
| Version | Year | Key additions |
|---|---|---|
| PDDL 1.2 | 1998 | STRIPS and ADL actions, typing, conditional effects |
| PDDL 2.1 | 2002 | Numeric fluents, durative actions, plan metrics |
| PDDL 2.2 | 2004 | Derived predicates, timed initial literals |
| PDDL 3.0 | 2006 | State trajectory constraints and soft preferences |
| PDDL+ | 2006 | Continuous processes and exogenous events |
Related dialects extend the core further. PPDDL and RDDL describe probabilistic effects for planning under uncertainty, while HDDL encodes hierarchical task network methods. These extensions show that PDDL acts less as a single language than as a family of compatible notations around a shared syntax.
How PDDL compares with related formalisms
PDDL is a modeling language, not an algorithm, and it is best understood next to the formalisms it draws on. The table contrasts it with neighboring approaches in symbolic reasoning.
| Formalism | Main focus | Relation to PDDL |
|---|---|---|
| STRIPS | Add and delete lists for actions | The core action model PDDL generalizes |
| Situation calculus | Actions in first-order logic | More expressive, far harder to solve automatically |
| HTN planning | Decomposition of tasks into subtasks | Encoded in the HDDL extension |
| SAT planning | Plans as Boolean satisfiability | PDDL problems are often compiled into SAT |
| Answer set programming | Declarative logic programs | Alternative way to model the same problems |
Compared with first-order logic encodings, PDDL deliberately restricts expressiveness so that planners can apply powerful heuristic search. Planners such as Fast Downward translate the input into a compact internal representation and then use heuristics like FF or landmark-based estimates to guide best-first search.
Writing and debugging PDDL models
Good PDDL modeling is a craft that strongly affects planner performance. The same domain can be solved in seconds or not at all depending on how predicates and actions are designed. The table summarizes frequent mistakes.
| Symptom | Likely cause | Fix |
|---|---|---|
| Planner reports no plan | Missing fact in the initial state | Check every precondition against init |
| Plan uses impossible moves | Missing delete effect | Delete the old fact in the effect |
| Grounding takes very long | Too many untyped parameters | Add types to restrict parameters |
| Planner rejects the file | Unsupported requirement flag | Use only features the planner supports |
Practitioners validate plans with tools such as VAL, the plan validator used in the competitions, and test domains on small problems first. A key warning is that a syntactically valid model can still be semantically wrong, so every generated plan should be checked against domain knowledge.
Strengths and limitations of PDDL
The main strength of PDDL is domain independence: a single planner can solve problems from logistics, robotics or space operations without new code. Plans are explicit and verifiable, which matters in safety-critical settings where a neural policy cannot be inspected easily.
- Knowledge engineering cost: writing a correct domain requires expert effort, a form of the knowledge acquisition bottleneck.
- Limited uncertainty handling: core PDDL assumes full observability and deterministic actions.
- Computational hardness: classical planning is PSPACE-complete, so large problems can remain intractable.
- Uneven tool support: advanced features such as PDDL+ are supported by few planners.
Recent research combines PDDL with large language models, which translate natural-language task descriptions into PDDL problem files while a classical planner guarantees sound, executable plans. This neuro-symbolic pattern uses each component for what it does best.
The idea in brief
PDDL is a way to write down a task so that a computer can plan it. First, you describe the rules of a world. You say what things exist and what actions are possible. Then you describe where things start and where they must end up.
A planning program reads both parts. It then searches for the right order of actions. Think of a recipe book that lists every allowed kitchen step. The planner finds a recipe that reaches the dish you want. The rules are written once and can be reused for many different tasks.
A practical scenario
A warehouse automation team needs to coordinate six mobile robots that move shelves to packing stations. Instead of programming every route by hand, the engineers write one PDDL domain with actions such as move, lift-shelf and drop-shelf, each with typed parameters and clear preconditions. Every morning, a script generates a problem file from the order system, listing about 40 shelves and 12 target stations.
An off-the-shelf planner produces a plan of roughly 150 actions in under ten seconds, and the VAL validator confirms it before the robots execute it. When the warehouse adds a new charging rule, the team edits one action precondition rather than rewriting the controller. The result is a flexible, auditable planning layer that operators can inspect whenever a robot behaves unexpectedly.