Source: https://seerepo.com/r/open-policy-agent/opa/built
Markdown source: https://seerepo.com/r/open-policy-agent/opa/built.md
Description: opa is a Go repo built with net/http. It reaches its data with github.com/huandu/go-sqlbuilder and signs people in with github.com/lestrrat-go/jwx/v3.

# What is opa built with?

opa is a Go repo built with net/http. It reaches its data with github.com/huandu/go-sqlbuilder, signs people in with github.com/lestrrat-go/jwx/v3, is tested with Google, github.com/fortytw2/leaktest, github.com/santhosh-tekuri/jsonschema/v6, github.com/foxcpp/go-mockdns, and gopkg.in/check.v1, runs in production with Prometheus, OpenTelemetry, github.com/sirupsen/logrus, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, github.com/go-logr/logr, and 2 more, and uses Dgraph, HashiCorp, and Postgres. It has 470,011 written lines, with 503 test files.

Read on November 11, 2026, at commit ef171a8.

Repository: https://github.com/open-policy-agent/opa

## Frontend

### Interface

- **[github.com/olekukonko/tablewriter](https://seerepo.com/uses/githubcom-olekukonko-tablewriter)**: 2 files

## Backend

### The base

- **[net/http](https://seerepo.com/uses/net-http)**

### Data

- **[Dgraph](https://seerepo.com/uses/dgraph)**: 3 files
- **[HashiCorp](https://seerepo.com/uses/hashicorp)**: 1 file
- **[Postgres](https://seerepo.com/uses/postgres)**: 1 file · [e2e/api/compile/prisma/prisma/schema.prisma, line 10](https://github.com/open-policy-agent/opa/blob/ef171a816f9da4bc26085f634f14f477d85d242c/e2e/api/compile/prisma/prisma/schema.prisma#L10)

### Data access

- **github.com/huandu/go-sqlbuilder**: 1 file

### Sign-in

- **github.com/lestrrat-go/jwx/v3**: 6 files

## Support

### Testing

- **[Google](https://seerepo.com/uses/google)**: 49 files
- **github.com/fortytw2/leaktest**: 2 files
- **[github.com/santhosh-tekuri/jsonschema/v6](https://seerepo.com/uses/githubcom-santhosh-tekuri-jsonschema-v6)**: 2 files
- **github.com/foxcpp/go-mockdns**: 1 file
- **gopkg.in/check.v1**: 1 file

### Deploy

- **[Prometheus](https://seerepo.com/uses/prometheus)**: 9 files
- **[OpenTelemetry](https://seerepo.com/uses/opentelemetry)**: 6 files
- **[github.com/sirupsen/logrus](https://seerepo.com/uses/githubcom-sirupsen-logrus)**: 3 files
- **[go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://seerepo.com/uses/goopentelemetryio-contrib-instrumentation-net-http-otelhttp)**: 3 files
- **[github.com/go-logr/logr](https://seerepo.com/uses/githubcom-go-logr-logr)**: 1 file
- **go.opentelemetry.io/contrib/bridges/prometheus**: 1 file
- **[gopkg.in/natefinch/lumberjack.v2](https://seerepo.com/uses/gopkgin-natefinch-lumberjackv2)**: 1 file

### Tools

- **github.com/spf13/cobra**: 16 files

### Other

- **github.com/fsnotify/fsnotify**: 4 files
- **google.golang.org/protobuf**: 4 files
- **github.com/gobwas/glob**: 3 files
- **github.com/google/uuid**: 3 files
- **github.com/tetratelabs/wazero**: 3 files
- **github.com/spf13/pflag**: 2 files
- **go.opentelemetry.io/proto/otlp**: 2 files
- **go.yaml.in/yaml/v3**: 2 files
- **golang.org/x/time**: 2 files
- **oras.land/oras-go/v2**: 2 files
- **github.com/agnivade/levenshtein**: 1 file
- **github.com/cespare/xxhash/v2**: 1 file
- **github.com/klauspost/compress**: 1 file
- **github.com/opencontainers/go-digest**: 1 file
- **github.com/opencontainers/image-spec**: 1 file
- **github.com/sergi/go-diff**: 1 file
- **github.com/vektah/gqlparser/v2**: 1 file
- **golang.org/x/sync**: 1 file
- **golang.org/x/term**: 1 file
- **golang.org/x/text**: 1 file
- **gopkg.in/ini.v1**: 1 file

## Other repos with a similar stack

- [moby/moby](https://seerepo.com/r/moby/moby/built): net/http, Postgres, Prometheus, OpenTelemetry, github.com/sirupsen/logrus, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp · [Compare](https://seerepo.com/compare/moby/moby/vs/open-policy-agent/opa)
- [infiniflow/ragflow](https://seerepo.com/r/infiniflow/ragflow/built): net/http, Postgres, OpenTelemetry, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, gopkg.in/natefinch/lumberjack.v2 · [Compare](https://seerepo.com/compare/infiniflow/ragflow/vs/open-policy-agent/opa)
- [etcd-io/etcd](https://seerepo.com/r/etcd-io/etcd/built): net/http, github.com/olekukonko/tablewriter, Prometheus, OpenTelemetry, gopkg.in/natefinch/lumberjack.v2 · [Compare](https://seerepo.com/compare/etcd-io/etcd/vs/open-policy-agent/opa)
- [gogs/gogs](https://seerepo.com/r/gogs/gogs/built): Postgres, github.com/olekukonko/tablewriter, Prometheus, OpenTelemetry, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp · [Compare](https://seerepo.com/compare/gogs/gogs/vs/open-policy-agent/opa)
- [istio/istio](https://seerepo.com/r/istio/istio/built): net/http, Prometheus, OpenTelemetry, github.com/go-logr/logr, gopkg.in/natefinch/lumberjack.v2 · [Compare](https://seerepo.com/compare/istio/istio/vs/open-policy-agent/opa)
- [caddyserver/caddy](https://seerepo.com/r/caddyserver/caddy/built): Prometheus, OpenTelemetry, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, go.opentelemetry.io/contrib/bridges/prometheus · [Compare](https://seerepo.com/compare/caddyserver/caddy/vs/open-policy-agent/opa)

## Frequently asked questions

### What language is opa written in?

opa is written in Go, with 470,011 written lines.

### What framework does opa use?

opa is built with net/http.

### What does opa sign people in with?

opa signs people in with github.com/lestrrat-go/jwx/v3.

### What services does opa use?

opa uses Dgraph, HashiCorp, and Postgres.

### Does opa have tests?

Yes. opa has 503 test files and is tested with Google, github.com/fortytw2/leaktest, github.com/santhosh-tekuri/jsonschema/v6, github.com/foxcpp/go-mockdns, and gopkg.in/check.v1.

### Which repos have a stack like opa's?

The ones that share most of its stack: moby/moby, infiniflow/ragflow, and etcd-io/etcd.

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
