Prompt Declaration Language
Prompt Declaration Language (PDL) is a declarative prompt programming language.
By IBM. Free and open source for macOS, Linux. Latest version v0.9.3, released 2026-02-26.
Is Prompt Declaration Language safe?
Trust score 57/100: Use caution. Some warning signs. Read the notes, check the reviews, and verify the file before you run it.
- Actively developed: code changed in the last 30 days
- Downloads come straight from the project's own GitHub releases
- Listed in Homebrew, which reviews submissions
Things to watch:
- Small community (317 stars): fewer people are watching the code
- No OpenSSF Scorecard report yet, so security practices are unverified
- No checksums or signatures published: you can't verify the download
317 GitHub stars · 3.8k downloads.
Download Prompt Declaration Language
- PDL-0.9.3-1.aarch64.rpm (Linux, 6.0 MB)
- PDL-0.9.3-1.x86_64.rpm (Linux, 6.2 MB)
- PDL_0.9.3_aarch64.AppImage (Linux, 78.1 MB)
- PDL_0.9.3_amd64.AppImage (Linux, 79.9 MB)
- PDL_0.9.3_amd64.deb (Linux, 6.2 MB)
- PDL_0.9.3_arm64.deb (Linux, 6.0 MB)
- PDL_0.9.3_universal.dmg (macOS, 10.2 MB)
brew install --cask pdl
Downloads come straight from github.com/IBM/prompt-declaration-language.
About Prompt Declaration 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.
A PDL program is written declaratively, in YAML. The pdl command line tool interprets this program, accumulating messages and sending them to the models as specified by your program. PDL supports both hosted and local models. See here for instructions on how to install an Ollama model locally.
Check out AutoPDL , PDL's prompt optimizer tool Spiess et al. (2025)! 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.
The following program accumulates a single message write a hello world example… and sends it to the ollama/granite-3.2:8b model:
Similar apps
- OpenClaw: The AI that really does things. Any OS. Any Platform. The lobster way. 🦞 (High trust, 76/100)
- Opencode: The open source coding agent. (High trust, 76/100)
- Ollama: Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models. (High trust, 84/100)
- Langflow Desktop: Langflow is a powerful tool for building and deploying AI-powered agents and workflows. (High trust, 76/100)
- CC Switch: A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io (High trust, 79/100)
- Orca: Orca lets you run a fleet of coding agents (e.g. Claude Code, Codex) with your own subscription. Available on desktop, mobile and remote run (Good, 73/100)
Questions
Is Prompt Declaration Language safe to download?
Prompt Declaration Language has an OpenShelf trust score of 57/100 (Use caution). Some warning signs. Read the notes, check the reviews, and verify the file before you run it. Main thing to watch: Small community (317 stars): fewer people are watching the code.
Is Prompt Declaration Language free?
Yes. Prompt Declaration Language is free and open source under the Apache-2.0 license. The source code is public at github.com/IBM/prompt-declaration-language.
Does Prompt Declaration Language work on macOS and Linux?
Prompt Declaration Language is available for macOS, Linux. Ready-made downloads exist for macOS, Linux.
How do I install Prompt Declaration Language?
Download the official file from the project's GitHub releases (for example PDL-0.9.3-1.aarch64.rpm) and run it. Or install it with: brew install --cask pdl.
What are alternatives to Prompt Declaration Language?
Similar open-source apps: OpenClaw (trust 76/100), Opencode (trust 76/100), Ollama (trust 84/100), Langflow Desktop (trust 76/100).