open-policy-agent/opa
Open Policy Agent (OPA) is an open source, general-purpose policy engine. observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 16.5
- age_days: 3901
- days_rel: 16
- days_push: 7
- n_releases_24m: 43
Adoption not part of the score
12164 stars · 1663 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Open Policy Agent (OPA) is a general-purpose, open-source policy engine that unifies policy enforcement across the stack using a high-level declarative language called Rego. It decouples policy decision-making from enforcement, letting applications, Kubernetes, API gateways, and CI/CD pipelines query OPA for context-aware authorization and compliance decisions.
Use cases
- enforce fine-grained authorization for microservices and APIs
- write Kubernetes admission control policies
- offload authorization decisions from Envoy proxies
- define policy as code for CI/CD pipelines
- audit and replay policy decisions for compliance
- filter data with partial evaluation for SQL and other systems
- validate Terraform or infrastructure-as-code configurations
When to choose
- you need unified, declarative policy enforcement across services, Kubernetes, and CI/CD
- you want to decouple authorization logic from application code
- you need audit trails and replayable policy decisions for compliance
- you want a CNCF-graduated, widely adopted policy engine with strong ecosystem support
When to avoid
- you only need simple role-based access control built into a single app
- your team cannot invest in learning the Rego language
- you need a database-backed identity and permission system rather than a policy decision engine
Facets
service · maturity stable
authorization security api-framework cli security cloud-computing infrastructure-as-code developer-tools microservices go windows self-hosted cloud rego policy-as-code cncf admission-control compliance audit envoy kubernetes-admission policy-decision-point policy-engine devops docker kubernetes linux macos
6 sources
- readme: https://github.com/open-policy-agent/opa · fetched 2026-08-28 · 84083be24a81
- homepage: https://www.openpolicyagent.org · fetched 2026-08-29 · ce2e89799e85
- site_page: https://www.openpolicyagent.org/docs · fetched 2026-08-29 · fea7a606930a
- site_page: https://www.openpolicyagent.org/docs/rest-api · fetched 2026-08-29 · ab83322baa35
- site_page: https://www.openpolicyagent.org/docs/envoy · fetched 2026-08-29 · af26afc8d494
- site_page: https://www.openpolicyagent.org/docs/contributing · fetched 2026-08-29 · 2dd2a9f10e32
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| open-policy-agent/opa | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="open-policy-agent/opa")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem