open-policy-agent/opa

▲ 10 stars today★ 12,442⑂ 1,710

Open Policy Agent (OPA) is an open source, general-purpose policy engine.

About open-policy-agent/opa

open-policy-agent/opa is an open-source project on GitHub, mainly written in Go. Open Policy Agent (OPA) is an open source, general-purpose policy engine. It currently holds 12,442 stars and 1,710 forks with 266 open issues, and was last pushed on 2026-11-06 (repository created 2015-12-28).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #56 with 10 new stars today.

GitHub Repository Details

Repository open-policy-agent/opa · default branch main · size 3751022 KB · watchers 133 · source: GitHub REST API and repository README

README

logo Open Policy Agent

Build Status CII Best Practices Netlify Status

Open Policy Agent (OPA) is an open source, general-purpose policy engine that enables unified, context-aware policy enforcement across the entire stack.

OPA is proud to be a graduated project in the Cloud Native Computing Foundation (CNCF) landscape. For details read the CNCF announcement.

Get started with OPA

learn about the Rego language as well as how to deploy and integrate OPA.

Want to talk about OPA or get support?

Interested to learn what others are doing with OPA?

Want to integrate OPA?

GoDoc to integrate OPA with services written in Go. reference to integrate OPA with services written in other languages.

Want to contribute to OPA?

How does OPA work?

OPA gives you a high-level declarative language to author and enforce policies across your stack.

With OPA, you define _rules_ that govern how your system should behave. These rules exist to answer questions like:

You integrate services with OPA so that these kinds of policy decisions do not have to be _hardcoded_ in your service. Services integrate with OPA by executing _queries_ when policy decisions are needed.

When you query OPA for a policy decision, OPA evaluates the rules and data (which you give it) to produce an answer. The policy decision is sent back as the result of the query.

For example, in a simple API authorization use case:

For concrete examples of how to integrate OPA with systems like Kubernetes, Terraform, Docker, SSH, and more, see openpolicyagent.org.

Presentations

Security

A third party security audit was performed by Cure53, you can see the full report here.

Please report vulnerabilities by email to open-policy-agent-security. We will send a confirmation message to acknowledge that we have received the report and then we will send additional messages to follow up once the issue has been investigated.

GitHub Stars & Activity

12,442Stars
1,710Forks
266Open issues
GoLanguage

GitHub Popularity

GitHub stars12,442
Forks1,710
Open issues266
Primary languageGo
LicenseApache-2.0
Stars gained today10
Created2015-12-28
Last pushed2026-11-06

Trending History

Daily boardrank #56 · ▲ 10 stars

Related AI Projects

1

infiniflow / ragflow

Go★ 93,686⑂ 11,250▲ 99 stars
→
2

multica-ai / multica

Go★ 55,153⑂ 7,270▲ 137 stars
→
3

pingcap / tidb

Go★ 40,714⑂ 6,292▲ 3 stars
→
4

coder / coder

Go★ 17,306⑂ 1,651▲ 18 stars
→
5

kdlbs / kandev

Go★ 1,071⑂ 178▲ 5 stars
→
6

morluto / rea

TypeScript★ 437,454⑂ 0
→
7

mattpocock / skills

Shell★ 316,511⑂ 26,477▲ 2,058 stars
→
8

obra / superpowers

Shell★ 313,517⑂ 27,892▲ 644 stars
→

More AI Rankings