PDDLGym: Gym Environments from PDDL Problems

Tom Silver, Rohan Chitnis
2/15/2020
cs.AI

Official code: tomsilver/pddlgym (278 stars, MIT, last commit 2025-07-22).

Abstract

We present PDDLGym, a framework that automatically constructs OpenAI Gym environments from PDDL domains and problems. Observations and actions in PDDLGym are relational, making the framework particularly well-suited for research in relational reinforcement learning and relational sequential decision-making. PDDLGym is also useful as a generic framework for rapidly building numerous, diverse benchmarks from a concise and familiar specification language. We discuss design decisions and implementation details, and also illustrate empirical variations between the 20 built-in environments in terms of planning and model-learning difficulty. We hope that PDDLGym will facilitate bridge-building between the reinforcement learning community (from which Gym emerged) and the AI planning community (which produced PDDL). We look forward to gathering feedback from all those interested and expanding the set of available environments and features accordingly. Code: https://github.com/tomsilver/pddlgym

View on arXivView PDF

Code Implementations(1)

tomsilver/pddlgymOfficial100%
MIT

Convert a PDDL domain into an OpenAI Gym environment.

27869C, SASDec 12, 20191 years agoMIT

Similar Papers

Cite this paper

@article{silver2020pddlgym,
  title  = {PDDLGym: Gym Environments from PDDL Problems},
  author = {Tom Silver and Rohan Chitnis},
  year   = {2020},
  eprint = {2002.06432},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.06432}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2002.06432.svg)](https://codeofpaper.com/paper/2002.06432)

Discussion