PromptOps
Treating prompts as versioned production artifacts: a registry, change review, regression evaluation on a fixed test set, staged rollout and rollback — because a prompt edit is a behaviour change with no compiler to catch it.
Overview
Read the full PromptOps guidance
Capabilities
Prompt change review
A second person approving a prompt change before it reaches users, using the same review mechanics as code.
Prompt registry
Production prompts stored as versioned artifacts with an owner and a readable change history, not as inline string literals.
Prompt regression evaluation
Running a candidate prompt against a fixed set of representative inputs and comparing with the incumbent, so a change that fixes one case and breaks five is caught.
Staged rollout and rollback
Releasing a prompt change behind a flag or to a subset, with reverting treated as routine.
Version attribution
Recording which prompt version produced a given output, so a complaint can be traced to the change that caused it.
Practices
Evaluation set curation
Growing a fixed set of real cases — especially the ones that have already caused complaints — and keeping it small enough that it actually runs.
Prompt peer review
A second reader on every prompt change, with the domain expert rather than only the engineer judging whether the output is right.
Metrics
Prompt change lead time
Time from an agreed prompt change to it serving traffic, including review and evaluation.
Unit: hours. Good direction: down.
Regression catch rate
Share of prompt changes that degraded quality and were caught by evaluation before release rather than by a user afterwards.
Unit: percent. Good direction: up.
Unreviewed prompt changes
Production prompt changes that reached users without a second person seeing them.
Unit: changes per quarter. Good direction: down.
Tools
LangSmith
Tracing, dataset and evaluation tooling for LLM applications, including prompt-level comparison runs.
Visit site ↗Langfuse
Open-source observability, prompt management and evaluation for LLM applications, including retrieval traces.
Visit site ↗promptfoo
Test runner for prompts that compares candidate against incumbent across a fixed set of cases in a pipeline.
Visit site ↗
Architecture patterns
Reference architectures and their trade-offs live in the blueprints library.
Maturity
- L1 ReactivePrompts live inline as string literalsrequired stage
Prompts are embedded in code or configuration with no version, owner or history, and a change is indistinguishable from any other edit.
- L2 RepeatablePrompts are versioned artifacts with an ownerrequired stage
Production prompts live in a registry or version control with a readable change history and a named owner.
- L3 StandardizedEvery change requires a second reader
Prompt changes go through review by someone other than the author, with a domain expert judging output quality, before reaching users.
- L4 MeasuredRegression evaluation compares against the incumbent
A fixed set of representative inputs runs against candidate and incumbent, catching the change that fixes one case and breaks five.
- L5 OptimizedStaged rollout with traceable output versions
Changes release behind a flag or to a subset, reverting is routine, and the prompt version that produced any output can be identified.
Maturity for promptops is measured, not guessed — every score traces to your answers. See how maturity is scored.
Put it to work
Related Ops disciplines
Sources
- Tier 1 — PrimaryAnthropic — Prompt Engineering Documentation ↗— Anthropic(verified 2026-09-20)
- Tier 2 — AuthoritativeOWASP Top 10 for Large Language Model Applications ↗— OWASP(verified 2026-09-20)
- Tier 2 — Authoritativepromptfoo — Testing and Evaluation Documentation ↗— promptfoo(verified 2026-09-20)