CerbosPolicy-based authorization decision service for applications
OPAGeneral-purpose policy engine with declarative Rego rules
Cerbos vs OPA
How Cerbos and OPA compare on popularity, activity, license and platforms: two open-source Application Security projects, both alternatives to Axiomatics and PlainID.
At a glance
- OPA has more GitHub stars (12.5k vs 4.7k, about 3× as many).
- Both are actively maintained (last commits 2 days ago and yesterday).
- Both use the Apache-2.0 license.
- Cerbos can be self-hosted; OPA is not listed as self-hostable.
- OPA is the older project (repository started 2015; Cerbos in 2021).
Side by side
| Cerbos | OPA | |
|---|---|---|
| GitHub stars | ★ 4,670 | ★ 12,534 |
| Forks | 225 | 1,844 |
| Last commit | 2 days ago | yesterday |
| Latest version | v0.58.0 | v1.23.0 |
| Repository started | March 2021 | December 2015 |
| License | Apache-2.0 · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Not listed |
| Platforms | – | Docker, CLI |
| Main language | Go | Go |
| Alternative to | Axiomatics, PlainID | Axiomatics, PingAuthorize, PlainID |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
Cerbos
Cerbos is an authorization layer where you define YAML policies and call APIs to decide whether principals can perform actions on resources across apps, gateways, and workloads.
Key features
- YAML policy definitions for resources
- CheckResources and PlanResources APIs
- RBAC with ABAC-style conditions
- Derived roles and principal policies
- Client SDKs for major languages
- Kubernetes, container, and systemd deploys
OPA
Open Policy Agent centralizes authorization and policy decisions across your stack. Services query OPA instead of hardcoding rules, using the Rego language and JSON input data.
Key features
- Rego policy language
- Decoupled policy decisions
- REST and Go integrations
- CLI for local evaluation
- JSON input and data documents
- Kubernetes and Terraform examples