promptml and promptml-cli
PromptML is a markup language library with a complementary CLI tool that provides command-line execution capabilities for the same language, making them complements that work together rather than alternatives.
About promptml
narenaryan/promptml
Prompt markup language (A.K.A PromptML) library is specially built for AI systems - from Vidura AI
Provides a structured DSL that decomposes prompts into explicit sections—context, objective, instructions, examples, constraints, and metadata—parsed into standardized data structures. Supports variable interpolation and serialization to XML, YAML, and JSON formats, enabling version control and cross-agent prompt reusability. Integrates with OpenAI and Google models via the companion `promptml-cli` tool.
About promptml-cli
narenaryan/promptml-cli
A CLI application to run Prompt Markup Language scripts
Executes structured prompt templates (`.pml` files) against multiple LLM providers—OpenAI, Google GenAI, and Ollama—with configurable serialization formats (XML, JSON, YAML) and streaming or buffered response modes. Supports piping and file output via raw mode, enabling integration into shell workflows. Built with pluggable provider architecture for extensibility to additional model providers.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work