Prompt Declaration Language (PDL) is a declarative prompt programming language.
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](#quick-start) | [Example](#example-program-a-basic-llm-call) | [GUI](#graphical-experience) | [Key Features](#key-features) | [Documentation](#documentation) | [API Cheat Sheet](#api-cheat-sheet)
Check out AutoPDL, PDL's prompt optimizer tool Spiess et al. (2025) (opens in a new tab)! AutoPDL can be used to optimize any part of a PDL program. This includes few-shots examples and textual prompts, but also prompting patterns. It outputs an optimized PDL program with optimal values.
For a tutorial on how to use AutoPDL, see AutoPDL (opens in a new tab)
The following program accumulates a single message write a hello world example… and sends it to the ollama/granite-3.2:8b model:
To run this program:
For more information on the pdl CLI see here (opens in a new tab). To try the screenshot on the right live, click here (opens in a new tab).
The screenshot on the right (above) shows PDL's graphical user interface. This GUI allows for interactive debugging and live programming. You may install this via brew install pdl on MacOS. For other platforms, downloads are available here (opens in a new tab). You may also kick the tires with a web version of the GUI here (opens in a new tab).
To generate a trace for use in the GUI:
Description adapted from the project README.
Community project. Help and bug reports go to the maintainers on GitHub; AppsXi does not provide support for this app.
Apache License 2.0
Use, change and share it freely, including in closed source apps, as long as the copyright notice stays. Includes a patent grant.
Read the full licenseAppsXi checks every version before it is listed.
Signed by Nicholas Mitchell (5CR4UDT5VY)
Apple Developer ID team 5CR4UDT5VY
Notarized by Apple
Hardened Runtime on
File matches the hash GitHub published
SHA-256 e01c41cb198f05dec7c3fb08b479ae50ee90e385406c1b95561f55d400bf76d9
No malware found
ClamAV 1.5.4 on Oct 14, 2026
Install and behavior test in a virtual machine: not run yet
Coming soon for all listings.
Checked Oct 14, 2026 · Mac
DMG · 10 MB
Yes. PDL is free and open source under the Apache License 2.0. AppsXi lists the maintainers' official release and does not charge for it.
AppsXi downloads every version of PDL from the maintainers' official GitHub release and checks it before it is listed. For version 0.9.3 (checked Oct 14, 2026), the Mac download is signed by its developer and notarized by Apple, each file matches the checksum GitHub publishes for the release, byte for byte and a malware scan found nothing.
Yes. PDL has a native Apple silicon build, and it runs on Intel Macs too.
PDL needs macOS 10.13 or later.
PDL is an open source project by International Business Machines on GitHub (IBM/prompt-declaration-language). Help and bug reports go to its maintainers there.
No reviews yet. Anyone who downloads it from AppsXi while signed in can review it a day later.
Something wrong with this app? Report a problem. Maintainer? Claim this listing or ask us to remove it.
High-performance, multiplayer code editor from the creators of Atom and Tree-sitter
Hex editor for reverse engineers and programmers with a pattern language, disassembler and data inspector
Community-built, MIT-licensed binaries of Visual Studio Code with telemetry disabled
Free source code editor and Notepad replacement for Windows, supporting several programming languages
WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text forma
A playground for creating and testing small Electron experiments
Used this app? Sign in and download it here to review it a day later.