Source: https://seerepo.com/compare/go-kratos/kratos/vs/hashicorp/vault
Markdown source: https://seerepo.com/compare/go-kratos/kratos/vs/hashicorp/vault.md
Description: kratos and vault share 5 technologies: Consul, etcd, github.com/go-zookeeper/zk, golang.org/x/oauth2, and OpenTelemetry. Both are written in Go.

# kratos vs vault

kratos and vault share 5 technologies: Consul, etcd, github.com/go-zookeeper/zk, golang.org/x/oauth2, and OpenTelemetry. Both are written in Go.

- [go-kratos/kratos](https://seerepo.com/r/go-kratos/kratos): Your ultimate Go microservices framework for the cloud-native era.
- [hashicorp/vault](https://seerepo.com/r/hashicorp/vault): A tool for secrets management, encryption as a service, and privileged access management

## What they share and what sets them apart

- In common: Consul, etcd, github.com/go-zookeeper/zk, golang.org/x/oauth2, OpenTelemetry
- Only in kratos: Gorilla, kratos, github.com/AlecAivazis/survey/v2, github.com/charmbracelet/huh, github.com/golang-jwt/jwt/v5, mcp-go, go, protoc-gen-validate, buf.build/go/protovalidate, github.com/go-chassis/sc-client, go.opentelemetry.io/contrib/bridges/otelslog
- Only in vault: MongoDB, MySQL, pgx, s3, github.com/hashicorp/go-memdb, github.com/jellydator/ttlcache/v3, Postgres, github.com/gocql/gocql, github.com/michaelklishin/rabbit-hole/v2, cloud.google.com/go/cloudsqlconn, github.com/denisenkom/go-mssqldb, github.com/influxdata/influxdb1-client, Apple, github.com/aerospike/aerospike-client-go/v8, github.com/aliyun/aliyun-oss-go-sdk, github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue, github.com/aws/aws-sdk-go-v2/service/dynamodb, github.com/Azure/azure-storage-blob-go, github.com/cockroachdb/cockroach-go/v2, github.com/hashicorp/vault-plugin-database-couchbase, github.com/hashicorp/vault-plugin-database-elasticsearch, github.com/hashicorp/vault-plugin-database-mongodbatlas, github.com/hashicorp/vault-plugin-database-redis, github.com/hashicorp/vault-plugin-database-redis-elasticache, github.com/hashicorp/vault-plugin-database-snowflake, github.com/ncw/swift, github.com/patrickmn/go-cache, github.com/SAP/go-hdb, go.etcd.io/etcd/client/v2, Google, Okta, approle, github.com/hashicorp/vault/sdk, github.com/hashicorp/go-secure-stdlib/password, github.com/go-jose/go-jose/v4, github.com/go-ldap/ldap/v3, github.com/aws/aws-sdk-go-v2/credentials, github.com/hashicorp/cap, github.com/hashicorp/vault-plugin-auth-alicloud, github.com/hashicorp/vault-plugin-auth-cf, github.com/hashicorp/vault-plugin-auth-kerberos, github.com/pquerna/otp, github.com/hashicorp/vault-plugin-auth-gcp, github.com/hashicorp/vault-plugin-auth-jwt, github.com/hashicorp/vault-plugin-auth-oci, github.com/Azure/azure-sdk-for-go/sdk/azidentity, github.com/Azure/go-autorest/autorest/adal, github.com/chrismalek/oktasdk-go, github.com/duosecurity/duo_api_golang, github.com/golang-jwt/jwt/v4, github.com/hashicorp/go-pgmultiauth, github.com/hashicorp/vault-plugin-auth-azure, github.com/hashicorp/vault-plugin-auth-kubernetes, github.com/hashicorp/vault-plugin-secrets-ad, github.com/hashicorp/vault-plugin-secrets-openldap, github.com/jcmturner/gokrb5/v8, github.com/pavlo-v-chernykh/keystore-go/v4, github.com/asaskevich/govalidator, github.com/hashicorp/go-hclog, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/service/iam, github.com/aws/aws-sdk-go-v2/service/sts, github.com/hashicorp/consul-template, github.com/aws/aws-sdk-go-v2/service/ec2, github.com/oracle/oci-go-sdk, github.com/aws/aws-sdk-go-v2/feature/ec2/imds, github.com/hashicorp/go-discover, Nomad, cloud.google.com/go/compute/metadata, github.com/aliyun/alibaba-cloud-sdk-go, github.com/armon/go-metrics, github.com/aws/aws-sdk-go-v2/config, github.com/Azure/azure-sdk-for-go/sdk/azcore, github.com/coreos/go-systemd, github.com/google/go-metrics-stackdriver, github.com/TritonDataCenter/triton-go/v2, Prometheus

## Side by side

| | kratos | vault |
|---|---|---|
| Size | 44,267 lines written, 190 code files | 1,017,822 lines written, 2,736 code files |
| Who writes it | 0.7% of its commits signed by AI. With Claude Code and GitHub Copilot | 0.4% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push November 1, 2026, 1,864 commits, 26,029 stars | Last push November 13, 2026, 22,455 commits, 36,511 stars |
| Tests | 130 test files. 73.7% of its code files have a test that imports them | 1,939 test files. 33.8% 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, kratos or vault?

vault, with 1,017,822 lines written; kratos has 44,267.

The proof: [hashicorp/vault's code at commit b69f8d8](https://github.com/hashicorp/vault/tree/b69f8d8de42ea9f2d16311dc1917e43105e42a94)

### Which has more GitHub stars, kratos or vault?

vault, with 36,511 stars; kratos has 26,029.

The proof: [hashicorp/vault on GitHub](https://github.com/hashicorp/vault)

### Which has more tests, kratos or vault?

vault, with 1,939 test files; kratos has 130.

The proof: [hashicorp/vault's code at commit b69f8d8](https://github.com/hashicorp/vault/tree/b69f8d8de42ea9f2d16311dc1917e43105e42a94)

### Which was updated more recently, kratos or vault?

vault: its last push was on November 13, 2026, and kratos's on November 1, 2026.

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

### Which has more commits signed by AI, kratos or vault?

kratos: an AI signed 0.7% of its commits, with Claude Code and GitHub Copilot; in vault, 0.4%.

## Sources

- go-kratos/kratos: Read on November 16, 2026, at commit dd0fb7d (https://github.com/go-kratos/kratos/tree/dd0fb7df1e325daf5ffb9c30862be8f1091763eb)
- hashicorp/vault: Read on November 14, 2026, at commit b69f8d8 (https://github.com/hashicorp/vault/tree/b69f8d8de42ea9f2d16311dc1917e43105e42a94)

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