# Rego (Open Policy Agent)

5 Hacker News commenters recommended Rego (Open Policy Agent) and 1 criticized it, November 2025 to November 2026. It was recommended in 5 of 13 months.

**Verdict:** Policy language for Open Policy Agent that keeps a JSON-in, JSON-out pipeline and suits jq-style queries. Main caveat: dynamically typed, so little type protection.

## What people warn about

- Dynamically typed, little type protection (1 comments): "Rego is dynamically typed, so no real protection." ([source](https://news.ycombinator.com/item?id=48207089))

## Alternatives hackers recommend

- [Cedar policy language](https://hackerapproved.com/p/cedar.md): 7 recommend
- [OpenFGA](https://hackerapproved.com/p/openfga.md): 6 recommend
- [SpiceDB](https://hackerapproved.com/p/spicedb.md): 5 recommend

## Cite as

Hacker Approved, "Rego (Open Policy Agent)", https://hackerapproved.com/p/rego/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
