PDL: A Declarative Prompt Programming Language
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have taken the world by storm by making many previously difficult uses of AI feasible. LLMs are controlled via highly expressive textual prompts and return textual answers. Unfortunately, this unstructured text as input and output makes LLM-based applications brittle. This motivates the rise of prompting frameworks, which mediate between LLMs and the external world. However, existing prompting frameworks either have a high learning curve or take away control over the exact prompts from the developer. To overcome this dilemma, this paper introduces the Prompt Declaration Language (PDL). PDL is a simple declarative data-oriented language that puts prompts at the forefront, based on YAML. PDL works well with many LLM platforms and LLMs. It supports writing interactive applications that call LLMs and tools, and makes it easy to implement common use-cases such as chatbots, RAG, or agents. We hope PDL will make prompt programming simpler, less brittle, and more enjoyable.
Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 15 of its 32 references that are in the map. First posted on arXiv 24 Oct 2024.
Builds on
15 of 32 references.
References · 15
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,988
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 619
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 411
- 2023ReWOO: Decoupling Reasoning from Observations for Efficient Augmented Language Modelscited by 184
Built on by
Citing papers per year: 2025: 5; 2026: 9.
14 papers.
Sort:
By area:
- 2025AutoPDL: Automatic Prompt Optimization for LLM Agentscited by 27
- 2025Rethinking Testing for LLM Applications: Characteristics, Challenges, and a Lightweight Interaction Protocolcited by 6
- 2026AgentSPEX: An Agent SPecification and EXecution Languagecited by 5
- 2026Neuro-Symbolic Verification on Instruction Following of LLMscited by 4
- 2025One Patient, Many Contexts: Scaling Medical AI with Contextual Intelligencecited by 2
- 2025Sharing State Between Prompts and Programscited by 2
- 2026Resolving Java Code Repository Issues with iSWE Agentcited by 1
- 2026A Language for Describing Agentic LLM Contextscited by 1
- 2026Lean4Agent: Formal Modeling and Verification for Agent Workflow and Trajectorycited by 1
- 2026What makes prompts a graph: necessary and sufficient conditions for prompt graph engineeringcited by 1
- 2025Representing Prompting Patterns with PDL: Compliance Agent Case Studycited by 0
- 2026Imprompt: A Language Framework for Prompt Programmingcited by 0
2 more
- 2026Agents as Software: A Programming Languages Agenda for Agent Reliability26 Sep 2026
- 2026PPDL: LLM-Based Flows as Probabilistic Programs5 Aug 2026
- 2026What makes prompts a graph: necessary and sufficient conditions for prompt graph engineering30 Jul 2026
- 2026Imprompt: A Language Framework for Prompt Programming13 Jul 2026
- 2026Lean4Agent: Formal Modeling and Verification for Agent Workflow and Trajectory2 Jun 2026
- 2026A Language for Describing Agentic LLM Contexts3 May 2026
- 2026AgentSPEX: An Agent SPecification and EXecution Language14 Apr 2026
- 2026Resolving Java Code Repository Issues with iSWE Agent11 Mar 2026
- 2026Neuro-Symbolic Verification on Instruction Following of LLMs25 Jan 2026
- 2025Sharing State Between Prompts and Programs16 Dec 2025
- 2025Rethinking Testing for LLM Applications: Characteristics, Challenges, and a Lightweight Interaction Protocol28 Aug 2025
- 2025Representing Prompting Patterns with PDL: Compliance Agent Case Study8 Jul 2025
2 more
- 2025AutoPDL: Automatic Prompt Optimization for LLM Agentscited by 27
- 2026AgentSPEX: An Agent SPecification and EXecution Languagecited by 5
- 2026A Language for Describing Agentic LLM Contextscited by 1
- 2026Lean4Agent: Formal Modeling and Verification for Agent Workflow and Trajectorycited by 1
- 2025Representing Prompting Patterns with PDL: Compliance Agent Case Studycited by 0
- 2026Lean4Agent: Formal Modeling and Verification for Agent Workflow and Trajectory2 Jun 2026
- 2026A Language for Describing Agentic LLM Contexts3 May 2026
- 2026AgentSPEX: An Agent SPecification and EXecution Language14 Apr 2026
- 2025Representing Prompting Patterns with PDL: Compliance Agent Case Study8 Jul 2025
- 2025AutoPDL: Automatic Prompt Optimization for LLM Agents6 Apr 2025
- 2026Neuro-Symbolic Verification on Instruction Following of LLMscited by 4
- 2025Sharing State Between Prompts and Programscited by 2
- 2026Resolving Java Code Repository Issues with iSWE Agentcited by 1
- 2026What makes prompts a graph: necessary and sufficient conditions for prompt graph engineeringcited by 1
- 2026Imprompt: A Language Framework for Prompt Programmingcited by 0
- 2026PPDL: LLM-Based Flows as Probabilistic Programscited by 0
- 2026Agents as Software: A Programming Languages Agenda for Agent Reliabilitycited by 0
- 2026Agents as Software: A Programming Languages Agenda for Agent Reliability26 Sep 2026
- 2026PPDL: LLM-Based Flows as Probabilistic Programs5 Aug 2026
- 2026What makes prompts a graph: necessary and sufficient conditions for prompt graph engineering30 Jul 2026
- 2026Imprompt: A Language Framework for Prompt Programming13 Jul 2026
- 2026Resolving Java Code Repository Issues with iSWE Agent11 Mar 2026
- 2026Neuro-Symbolic Verification on Instruction Following of LLMs25 Jan 2026
- 2025Sharing State Between Prompts and Programs16 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2024APPL: A Prompt Programming Language for Harmonious Integration of Programs and Large Language Model Prompts
- 2024LangGPT: Rethinking Structured Reusable Prompt Design Framework for LLMs from the Programming Language
- 2026Structured Prompt Language: Declarative Context Management for LLMs
- 2026The PICCO Framework for Large Language Model Prompting: A Taxonomy and Reference Architecture for Prompt Structure
- 2025PRL: Prompts from Reinforcement Learning
- 2025Pel, A Programming Language for Orchestrating AI Agents
- 2024Prompt Design and Engineering: Introduction and Advanced Methods
- 2026Optimizing LLM Prompt Engineering with DSPy Based Declarative Learning