What is kratos built with?

kratos is a Go repo built with github.com/urfave/negroni and github.com/ory/graceful. It stores its data in github.com/dgraph-io/ristretto/v2 and SQLite, reaches it with github.com/ory/pop/v6 and github.com/jmoiron/sqlx, signs people in with golang.org/x/oauth2, github.com/go-webauthn/webauthn, github.com/coreos/go-oidc/v3, github.com/ory/hydra-client-go/v2, github.com/pquerna/otp, and 12 more, connects to GitHub and Google, validates its data with github.com/ory/jsonschema/v3, is tested with github.com/stretchr/testify, github.com/go-faker/faker/v4, github.com/gobuffalo/httptest, github.com/bradleyjkemp/cupaloy/v2, github.com/jarcoal/httpmock, and 6 more, deploys with OpenTelemetry, go.opentelemetry.io/otel/trace, go.opentelemetry.io/otel/sdk, github.com/moby/moby/api, github.com/sirupsen/logrus, and 12 more, and uses github.com/cockroachdb/cockroach-go/v2, github.com/hashicorp/golang-lru/v2, pgx, github.com/jackc/puddle/v2, MySQL, and 2 more. It has 206,262 written lines, with 531 test files.

Read on November 9, 2026, at commit b86338d. Read it as markdown

Frontend

Interface 1

  • gonum.org/v1/plot1 file

Backend

Data 8

Data access 2

Sign-in 17

5 more
  • github.com/go-jose/go-jose/v35 files
  • github.com/pquerna/otp4 files
  • github.com/dghubble/oauth12 files
  • github.com/rakutentech/jwk-go1 file
  • jwk-go

Services 3

Support

The base 2

  • github.com/urfave/negroni8 files
  • github.com/ory/graceful1 file

Validation 1

  • github.com/ory/jsonschema/v333 files

Testing 11

  • github.com/stretchr/testify313 files
  • github.com/bradleyjkemp/cupaloy/v23 files
  • github.com/ory/dockertest/v43 files
  • github.com/golang/mock1 file
  • Uber
  • github.com/go-faker/faker/v425 files
  • github.com/gobuffalo/httptest11 files
  • github.com/jarcoal/httpmock2 files
  • github.com/mailhog/data2 files
  • goleak
  • httptest

Deploy 17

5 more
  • go.opentelemetry.io/contrib/propagators/b32 files
  • go.opentelemetry.io/contrib/propagators/jaeger2 files
  • github.com/grpc-ecosystem/go-grpc-prometheus1 file
  • go.opentelemetry.io/otel/exporters/jaeger1 file
  • go.opentelemetry.io/otel/exporters/zipkin1 file

Tools 5

  • github.com/golang/gddo3 files
  • github.com/pkg/profile1 file
  • Prettier1 file
  • github.com/spf13/cobra42 files
  • github.com/davecgh/go-spew3 files

Other 64

  • github.com/pkg/errors222 files
  • github.com/gofrs/uuid106 files
  • Ory98 files
  • github.com/tidwall/gjson41 files
  • github.com/tidwall/sjson26 files
  • HashiCorp24 files
  • github.com/ory/herodot12 files
  • github.com/samber/lo4 files
  • Google3 files
  • github.com/Masterminds/sprig/v32 files
  • google.golang.org/grpc2 files
  • Avast1 file
52 more
  • github.com/bwmarrin/discordgo1 file
  • github.com/go-openapi/runtime1 file
  • github.com/go-openapi/strfmt1 file
  • github.com/goccy/go-yaml1 file
  • github.com/gofrs/flock1 file
  • github.com/landlock-lsm/go-landlock1 file
  • github.com/nyaruka/phonenumbers1 file
  • github.com/slack-go/slack1 file
  • go.opentelemetry.io/contrib/samplers/jaegerremote1 file
  • github.com/ory/x
  • go.opentelemetry.io/proto/otlp
  • websocket
  • golang.org/x/crypto12 files
  • github.com/spf13/pflag10 files
  • golang.org/x/sync7 files
  • github.com/google/go-jsonnet5 files
  • github.com/inhies/go-bytesize5 files
  • github.com/knadh/koanf/v25 files
  • github.com/phayes/freeport5 files
  • github.com/rs/cors5 files
  • github.com/knadh/koanf/parsers/json4 files
  • github.com/peterhellberg/link4 files
  • code.dny.dev/ssrf2 files
  • github.com/bmatcuk/doublestar/v22 files
  • github.com/fatih/color2 files
  • github.com/fsnotify/fsnotify2 files
  • github.com/ghodss/yaml2 files
  • github.com/gobwas/glob2 files
  • github.com/knadh/koanf/maps2 files
  • github.com/knadh/koanf/providers/posflag2 files
  • github.com/spf13/cast2 files
  • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace2 files
  • golang.org/x/net2 files
  • golang.org/x/text2 files
  • connectrpc.com/connect1 file
  • dario.cat/mergo1 file
  • github.com/cenkalti/backoff1 file
  • github.com/evanphx/json-patch/v51 file
  • github.com/go-openapi/jsonpointer1 file
  • github.com/knadh/koanf/parsers/toml1 file
  • github.com/knadh/koanf/parsers/yaml1 file
  • github.com/mohae/deepcopy1 file
  • github.com/montanaflynn/stats1 file
  • github.com/wI2L/jsondiff1 file
  • google.golang.org/protobuf1 file
  • yamljs1 file
  • deepcopy
  • go-toml
  • mergefs
  • protobuf
  • rawbytes
  • yaml

Other repos with a similar stack

Ordered by how much of its stack they share with kratos, then by stars.

Frequently asked questions

What language is kratos written in?
kratos is written in Go, with 206,262 written lines.
What framework does kratos use?
kratos is built with github.com/urfave/negroni and github.com/ory/graceful.
What database does kratos use?
kratos stores its data in github.com/dgraph-io/ristretto/v2 and SQLite and reaches it with github.com/ory/pop/v6 and github.com/jmoiron/sqlx.
What does kratos sign people in with?
kratos signs people in with golang.org/x/oauth2, github.com/go-webauthn/webauthn, github.com/coreos/go-oidc/v3, github.com/ory/hydra-client-go/v2, github.com/pquerna/otp, github.com/gorilla/sessions, github.com/dghubble/oauth1, github.com/golang-jwt/jwt/v4, github.com/go-crypt/crypt, github.com/golang-jwt/jwt/v5, github.com/gorilla/securecookie, github.com/lestrrat-go/jwx, github.com/lestrrat-go/jwx/v2, github.com/rakutentech/jwk-go, jwk-go, github.com/go-jose/go-jose/v3, and github.com/auth0/go-jwt-middleware/v2.
What services does kratos use?
kratos connects to GitHub and Google and uses github.com/cockroachdb/cockroach-go/v2, github.com/hashicorp/golang-lru/v2, pgx, github.com/jackc/puddle/v2, MySQL, Postgres, and Ory.

The proof: selfservice/strategy/oidc/provider_github.go, line 21

Does kratos have tests?
Yes. kratos has 531 test files and is tested with github.com/stretchr/testify, github.com/go-faker/faker/v4, github.com/gobuffalo/httptest, github.com/bradleyjkemp/cupaloy/v2, github.com/jarcoal/httpmock, github.com/ory/dockertest/v4, github.com/golang/mock, github.com/mailhog/data, goleak, httptest, and Uber.
Which repos have a stack like kratos's?
The ones that share most of its stack:prometheus/prometheustraefik/traefikistio/istio

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →

Is it your repo? Add its badge, keep it up to date or take it down →