Source: https://seerepo.com/compare/etcd-io/etcd/vs/open-policy-agent/opa
Markdown source: https://seerepo.com/compare/etcd-io/etcd/vs/open-policy-agent/opa.md
Description: etcd and opa share 5 technologies: net/http, github.com/olekukonko/tablewriter, Prometheus, OpenTelemetry, and gopkg.in/natefinch/lumberjack.v2. Both are written in Go.

# etcd vs opa

etcd and opa share 5 technologies: net/http, github.com/olekukonko/tablewriter, Prometheus, OpenTelemetry, and gopkg.in/natefinch/lumberjack.v2. Both are written in Go.

- [etcd-io/etcd](https://seerepo.com/r/etcd-io/etcd): Distributed reliable key-value store for the most critical data of a distributed system
- [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: net/http, github.com/olekukonko/tablewriter, Prometheus, OpenTelemetry, gopkg.in/natefinch/lumberjack.v2
- Only in etcd: go.etcd.io/bbolt, github.com/cheggaaa/pb/v3, github.com/golang-jwt/jwt/v5, go.uber.org/zap, go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, github.com/coreos/go-systemd/v22
- Only in opa: Dgraph, HashiCorp, Postgres, github.com/huandu/go-sqlbuilder, github.com/lestrrat-go/jwx/v3, github.com/sirupsen/logrus, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, github.com/go-logr/logr, go.opentelemetry.io/contrib/bridges/prometheus

## Side by side

| | etcd | opa |
|---|---|---|
| Size | 203,898 lines written, 513 code files | 470,011 lines written, 523 code files |
| Who writes it | 0% of its commits signed by AI. With GitHub Copilot and Claude Code | 0.1% of its commits signed by AI. With Claude Code, GitHub Copilot, and Amp |
| Activity | Last push November 12, 2026, 15,958 commits, 52,601 stars | Last push November 10, 2026, 6,993 commits, 12,458 stars |
| Tests | 522 test files. 70% 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, etcd or opa?

opa, with 470,011 lines written; etcd has 203,898.

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, etcd or opa?

etcd, with 52,601 stars; opa has 12,458.

The proof: [etcd-io/etcd on GitHub](https://github.com/etcd-io/etcd)

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

etcd, with 522 test files; opa has 503.

The proof: [etcd-io/etcd's code at commit 1b969e2](https://github.com/etcd-io/etcd/tree/1b969e26a2c65733f1ff696e3537373d56b3ae67)

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

etcd: its last push was on November 12, 2026, and opa's on November 10, 2026.

The proof: [etcd-io/etcd's commits on GitHub](https://github.com/etcd-io/etcd/commits)

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

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

## Sources

- etcd-io/etcd: Read on November 13, 2026, at commit 1b969e2 (https://github.com/etcd-io/etcd/tree/1b969e26a2c65733f1ff696e3537373d56b3ae67)
- 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.
