---
title: "OPA/Rego"
description: "The Open Policy Agent and its Rego policy language, a general-purpose policy-as-code engine that evaluates governance rules in CI/CD and at runtime admission; the canonical example of executable…"
canonical: https://aigovernanceengineer.com/glossary/opa-rego
author: "Jorge García Aibar"
license: "CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)"
doi: https://doi.org/10.5281/zenodo.22956197
version: "0.5.0"
updated: 2026-09-24
---

# OPA/Rego

The Open Policy Agent and its Rego policy language, a general-purpose policy-as-code engine that evaluates governance rules in CI/CD and at runtime admission; the canonical example of executable policy-as-code.

- Developed in: [ch. 06, Policy-as-code and gates](https://aigovernanceengineer.com/bok/the-role#policy-as-code-and-gates)
- Chapters: [ch. 04, The Stack](https://aigovernanceengineer.com/bok/the-stack) · [ch. 05, Patterns](https://aigovernanceengineer.com/bok/patterns) · [ch. 06, The Role](https://aigovernanceengineer.com/bok/the-role)
- Contrast with: [Cedar](https://aigovernanceengineer.com/glossary/cedar)
- In the glossary chapter: https://aigovernanceengineer.com/bok/glossary#t-opa-rego

## Sources

Defined by this Body of Knowledge: the section it is developed in is the source.
