pdl
« Back to VersTracker
Description:
Declarative language for creating reliable, composable LLM prompts
Type: Cask  |  Latest Version: 0.9.2@0  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Ai ml
Tags: llm prompt-engineering declarative-language ai developer-tools
Install: brew install --cask pdl
About:
PDL (Prompt Declaration Language) is a declarative language designed to create reliable and composable prompts for Large Language Models. It provides a structured syntax for defining prompt templates, variables, and constraints, ensuring consistency and reusability across different LLM interactions. The language aims to improve prompt engineering workflows by making prompts testable, versionable, and easier to maintain.
Key Features:
  • Declarative syntax for prompt definition
  • Type safety and validation for prompt variables
  • Composability for building complex prompts from smaller components
  • Tooling for testing and debugging prompts
Use Cases:
  • Building robust prompt templates for production LLM applications
  • Collaborating on prompt engineering with version control
  • Creating reusable prompt components for different AI models
Alternatives:
  • LangChain PromptTemplates – PDL is a standalone language, whereas LangChain's templates are integrated into a larger Python framework.
  • TextGrad – PDL focuses on declarative structure, while TextGrad focuses on automatic differentiation for text optimization.
Version History
Detected Version Rev Change Commit
Sep 6, 2025 4:15am 0.8.0 0 VERSION_BUMP 53b9a163