Papers › NL2Plan: Robust LLM-Driven Planning from Minimal Text Descriptions

NL2Plan: Robust LLM-Driven Planning from Minimal Text Descriptions

7 May 2024arXiv:2405.04215archive 2025-07-28

Elliot Gestrin, Marco Kuhlmann, Jendrik Seipp

Today's classical planners are powerful, but modeling input tasks in formats such as PDDL is tedious and error-prone. In contrast, planning with Large Language Models (LLMs) allows for almost any input text, but offers no guarantees on plan quality or even soundness. In an attempt to merge the best of these two approaches, some work has begun to use LLMs to automate parts of the PDDL creation process. However, these methods still require various degrees of expert input. We present NL2Plan, the first domain-agnostic offline LLM-driven planning system. NL2Plan uses an LLM to incrementally extract the necessary information from a short text prompt before creating a complete PDDL description of both the domain and the problem, which is finally solved by a classical planner. We evaluate NL2Plan on four planning domains and find that it solves 10 out of 15 tasks - a clear improvement over a plain chain-of-thought reasoning LLM approach, which only solves 2 tasks. Moreover, in two out of the five failure cases, instead of returning an invalid plan, NL2Plan reports that it failed to solve the task. In addition to using NL2Plan in end-to-end mode, users can inspect and correct all of its intermediate results, such as the PDDL representation, increasing explainability and making it an assistive tool for PDDL creation.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.04215")

Code

Syntology Ran 2 of 13 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 2 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mrlab-ai/NL2Plan officialmentioned on GitHubGPL-3.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 2 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran
11unverified

Licence: 13 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from mrlab-ai/NL2Plan. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

error_msg mrlab-ai/NL2Plan/NL2Plan/utils/paranthesis_parser.py official repository ran GPL-3.0 (copyleft) · pointer only · bb0361e9be2fd9b1 · report
parse_actions mrlab-ai/NL2Plan/NL2Plan/action_extraction.py official repository ran fingerprinted GPL-3.0 (copyleft) · pointer only · f43310c5b9859c10 · report
domain_errors mrlab-ai/NL2Plan/NL2Plan/utils/cpddl.py official repository unverified GPL-3.0 (copyleft) · pointer only · c6069203ca313530 · report
domain_errors mrlab-ai/NL2Plan/NL2Plan/utils/loki.py official repository unverified GPL-3.0 (copyleft) · pointer only · 00909a1d85f42fb2 · report
errors mrlab-ai/NL2Plan/NL2Plan/utils/paranthesis_parser.py official repository unverified GPL-3.0 (copyleft) · pointer only · 3ecf9eecb7f6ecc7 · report
errors_internal mrlab-ai/NL2Plan/NL2Plan/utils/paranthesis_parser.py official repository unverified GPL-3.0 (copyleft) · pointer only · e882990aefbe6082 · report
get_llm mrlab-ai/NL2Plan/NL2Plan/utils/llm_model.py official repository unverified GPL-3.0 (copyleft) · pointer only · 1e4b2d02f76da8ec · report
human_feedback mrlab-ai/NL2Plan/NL2Plan/utils/human_feedback.py official repository unverified GPL-3.0 (copyleft) · pointer only · 49365f8743ebaca0 · report
parse_hierarchy mrlab-ai/NL2Plan/NL2Plan/hierarchy_construction.py official repository unverified GPL-3.0 (copyleft) · pointer only · f950d12b67928b57 · report
parse_types mrlab-ai/NL2Plan/NL2Plan/type_extraction.py official repository unverified GPL-3.0 (copyleft) · pointer only · cea022eb8ea06551 · report
problem_errors mrlab-ai/NL2Plan/NL2Plan/utils/cpddl.py official repository unverified GPL-3.0 (copyleft) · pointer only · 0ddf2f7a8da73d27 · report
problem_errors mrlab-ai/NL2Plan/NL2Plan/utils/loki.py official repository unverified GPL-3.0 (copyleft) · pointer only · b91adb1364f93010 · report
shorten_messages mrlab-ai/NL2Plan/NL2Plan/utils/llm_model.py official repository unverified GPL-3.0 (copyleft) · pointer only · fce3d3b6f6271c93 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections