Glossary

What is Prompt governance?

Last updated: 2026-05-26

Definition

Prompt governance is the operational discipline of treating production prompts (system prompts, tool descriptions, eval rubrics) as code: version-controlled, reviewed before merge, tested against fixed cases, and rollback-ready when production behaviour regresses. Without it, prompt changes drift, regressions compound, and the team loses the ability to explain why the agent behaves as it does.

Why Prompt governance matters

Most AI pilots fail in production not because the model is wrong but because prompts evolve unmanageably. Engineers tweak; behaviour regresses; rollbacks become guesswork. The EU AI Act's Article 17 (quality-management system) effectively requires prompt governance for high-risk systems — auditors will ask for prompt change history and impact analysis.

How Prompt governance works

  1. 1Store every production prompt in git, never in the running agent's database — same review rules as code.
  2. 2Each prompt change ships with an eval delta: scored against a fixed test set of input → expected-output pairs, so reviewers see whether the change improved or regressed.
  3. 3Use a staging environment with shadow-mode evaluation before promoting to production — real traffic, no user-facing effect, side-by-side scoring.
  4. 4Version-tag every production prompt and log the active version with every agent run, so any output can be traced back to the exact prompt that produced it.
  5. 5Maintain rollback runbooks: who can roll back, how fast, what data to capture for post-mortem.

Examples

  • A customer-support team rejects a prompt PR because its eval scores dropped from 87% to 81% on the "tone" rubric, even though it added a useful new instruction.
  • A finance agent's wallet-spend doubles overnight; logs show prompt v2.3 was deployed; engineers roll back to v2.2 in 5 minutes and investigate offline.
  • An auditor asks "show me every system prompt change in Q1 and the eval impact of each" — the team produces the answer from git history + eval dashboard in an afternoon.

References

FAQ

Prompt governance — common questions

How is prompt governance different from prompt engineering?
Prompt engineering is the craft of writing prompts that work. Prompt governance is the operational layer around it: review, versioning, evaluation, rollback. Engineering produces the prompt; governance makes sure the right prompt is running in production and you can prove it.
Do small teams need formal prompt governance?
At 1-2 agents with 1-2 engineers, lightweight discipline (prompts in git + a short eval set) is enough. At 10+ agents or multiple teams, you need formal review, named owners, and shared evals — without these, prompt rot compounds and quality erodes silently.
How does AgentWorks support prompt governance?
Every agent's system prompt is versioned in the workspace, changes are reviewable per team, and runs log the active prompt version. Eval scoring is on the roadmap; today most teams pair AgentWorks with an external eval tool and export logs for scoring.