# prompt-declaration-language

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

Canonical page: https://www.reposhelf.co.uk/projects/github/ibm/prompt-declaration-language.html

- Project ID: IBM/prompt-declaration-language
- Source: GitHub
- Original project: https://github.com/IBM/prompt-declaration-language
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Python
- Licence: Apache-2.0
- Repository availability checked: 2026-11-23T13:14:15.787Z
- Demo page loaded: 2026-11-23T16:22:55.883Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> 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

- LLM Integration: Compatible with any LLM, including IBM watsonx
- Template system for single/multi-shot prompting
- Composition of multiple LLM calls
- Integration with tools \(code execution &amp; APIs\)
- Type checking for model I/O

## Author-documented requirements and 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.

Source: https://github.com/IBM/prompt-declaration-language/blob/main/README.md

Extraction checked: 2026-10-12T09:49:29.909Z

Last recorded source update: 2026-11-20T19:48:41.000Z

Saved release: v0.9.3 — 2026-02-26T20:20:15.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=IBM%2Fprompt-declaration-language). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
