Skip to content
r.

prompt-declaration-language

IBM/prompt-declaration-language · Public GitHub repository

Prompt Declaration Language (PDL) is a declarative prompt programming language.

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

prompt-declaration-language live demo screenshot
Captured from the live demo · 2026-11-23

About this project

Author-written excerpt from the project README.

PDL is a declarative language designed for developers to create reliable, composable LLM prompts and integrate them into software systems. It provides a structured way to specify prompt templates, enforce validation, and compose LLM calls with traditional rule-based systems.

Quick Start | Example | GUI | Key Features | Documentation | API Cheat Sheet

Requirements and intended audience

PDL is a declarative language designed for developers to create reliable, composable LLM prompts and integrate them into software systems. It provides a structured way to specify prompt templates, enforce validation, and compose LLM calls with traditional rule-based systems.

PDL is a declarative language designed for developers to create reliable, composable LLM prompts and integrate them into software systems. It provides a structured way to specify prompt templates, enforce validation, and compose LLM calls with traditional rule-based systems.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-12. Source: https://github.com/IBM/prompt-declaration-language/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-20. Saved release: v0.9.3 · 2026-02-26. These dates do not guarantee ongoing maintenance.

Technologies
Python
Licence
Apache-2.0. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-23. This does not test every feature.

Browse related categories