Introduction
What is PLP and why it matters
What is PLP?
PLP (Prompt Library Protocol) is an open standard that defines how prompt libraries store, version, and serve prompts via a REST API. Any server that implements the spec is PLP-compliant — use the same client SDK to talk to any of them.
Core Concepts
- PromptEnvelope — The standard format:
id,content(text or multimodal), andmeta(version, author, model_config) - Discovery — Every server exposes
/.well-known/plpdeclaring its capabilities - Versioning — Semantic versions, publishing, and deploying to named environments
- Context Store — Shared assets (images, text) referenced in prompts
- Deploy — Promote versions to environments (staging, production)
- Evaluation — Run eval suites against prompts via the API
Why Use PLP?
- Vendor-neutral — No lock-in. Switch servers without changing client code
- Open standard — Defined as an OpenAPI 3.0 spec with JSON Schema validation
- Multi-tool — Same protocol for VS Code, CLI, web apps, and CI/CD
- Registry — Discover PLP servers via the public PLP Registry
Getting Started
npm install @goreal-ai/plp-clientOr implement your own server from the OpenAPI spec.