Source: https://seerepo.com/compare/caddyserver/caddy/vs/open-policy-agent/opa
Markdown source: https://seerepo.com/compare/caddyserver/caddy/vs/open-policy-agent/opa.md
Description: caddy and opa share 4 technologies: Prometheus, OpenTelemetry, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, and go.opentelemetry.io/contrib/bridges/prometheus. Both are written in Go.

# caddy vs opa

caddy and opa share 4 technologies: Prometheus, OpenTelemetry, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, and go.opentelemetry.io/contrib/bridges/prometheus. Both are written in Go.

- [caddyserver/caddy](https://seerepo.com/r/caddyserver/caddy): Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
- [open-policy-agent/opa](https://seerepo.com/r/open-policy-agent/opa): Open Policy Agent (OPA) is an open source, general-purpose policy engine.

## What they share and what sets them apart

- In common: Prometheus, OpenTelemetry, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, go.opentelemetry.io/contrib/bridges/prometheus
- Only in caddy: chi, etcd, github.com/smallstep/nosql, github.com/smallstep/certificates, github.com/yuin/goldmark, github.com/yuin/goldmark-highlighting/v2, go.uber.org/zap, go.uber.org/zap/exp, go.opentelemetry.io/contrib/exporters/autoexport, github.com/DeRuina/timberjack
- Only in opa: net/http, Dgraph, HashiCorp, Postgres, github.com/olekukonko/tablewriter, github.com/huandu/go-sqlbuilder, github.com/lestrrat-go/jwx/v3, github.com/sirupsen/logrus, github.com/go-logr/logr, gopkg.in/natefinch/lumberjack.v2

## Side by side

| | caddy | opa |
|---|---|---|
| Size | 140,982 lines written, 227 code files | 470,011 lines written, 523 code files |
| Who writes it | 1.8% of its commits signed by AI. With GitHub Copilot, Claude Code, and Amp | 0.1% of its commits signed by AI. With Claude Code, GitHub Copilot, and Amp |
| Activity | Last push November 11, 2026, 2,871 commits, 79,017 stars | Last push November 10, 2026, 6,993 commits, 12,458 stars |
| Tests | 209 test files. 68.3% of its code files have a test that imports them | 503 test files. 72.5% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, caddy or opa?

opa, with 470,011 lines written; caddy has 140,982.

The proof: [open-policy-agent/opa's code at commit ef171a8](https://github.com/open-policy-agent/opa/tree/ef171a816f9da4bc26085f634f14f477d85d242c)

### Which has more GitHub stars, caddy or opa?

caddy, with 79,017 stars; opa has 12,458.

The proof: [caddyserver/caddy on GitHub](https://github.com/caddyserver/caddy)

### Which has more tests, caddy or opa?

opa, with 503 test files; caddy has 209.

The proof: [open-policy-agent/opa's code at commit ef171a8](https://github.com/open-policy-agent/opa/tree/ef171a816f9da4bc26085f634f14f477d85d242c)

### Which was updated more recently, caddy or opa?

caddy: its last push was on November 11, 2026, and opa's on November 10, 2026.

The proof: [caddyserver/caddy's commits on GitHub](https://github.com/caddyserver/caddy/commits)

### Which has more commits signed by AI, caddy or opa?

caddy: an AI signed 1.8% of its commits, with GitHub Copilot, Claude Code, and Amp; in opa, 0.1%.

The proof: [the commits each tool signed in caddyserver/caddy](https://seerepo.com/r/caddyserver/caddy/ai)

## Sources

- caddyserver/caddy: Read on November 12, 2026, at commit 7591cff (https://github.com/caddyserver/caddy/tree/7591cff1fb03202ce022982af020197f3f387220)
- open-policy-agent/opa: Read on November 11, 2026, at commit ef171a8 (https://github.com/open-policy-agent/opa/tree/ef171a816f9da4bc26085f634f14f477d85d242c)

## 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.
