# go-kratos/kratos

Your ultimate Go microservices framework for the cloud-native era.

Repository: https://github.com/go-kratos/kratos
Canonical: https://ross.abutalabs.com/products/kratos
Homepage: https://go-kratos.dev
Language: Go
License: MIT
License Family: permissive
Topics: golang, framework, kratos, go, microservices, architecture, protobuf, http, grpc, generate, cloud-native, microservice, ai, mcp
Last push: 2026-08-19T05:14:19+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 78, longevity 100
- inputs: {"age_days": 2792, "days_push": 14, "days_rel": 68, "gap_med": 78, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 25892, forks 4177 (observed 2026-08-28T04:11:38.711231+00:00)

## What it is
Kratos is a lightweight Go framework for building cloud-native microservices, offering APIs for transport (HTTP/gRPC), middleware, registry, configuration, logging, and Protobuf-based code generation. It includes a CLI tool for scaffolding projects and a pluggable component architecture.

## Use cases
- build microservices in go
- generate http and grpc servers from protobuf definitions
- scaffold a production-ready go backend project
- add middleware for logging tracing and auth to go services
- service discovery and registry for go microservices
- learn microservices architecture in go

## When to choose
- you are building cloud-native microservices in Go and want an opinionated, batteries-included framework
- you want API-first development with Protobuf generating both HTTP and gRPC code
- you need pluggable registry, config, and encoding components with a CLI scaffolding tool

## When to avoid
- you are building a small monolith or simple REST API where a lighter router suffices
- your team is not using Go or Protobuf-based workflows
- you prefer assembling your own stack from individual libraries rather than a framework

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, api-framework, rpc, middleware, cli, logging, tracing, serialization
- domain: microservices, backend, web-development, developer-tools, apis, cloud-computing
- platform: go, windows, cloud, cli
- tags: grpc, protobuf, cloud-native, service-registry, api-first, scaffolding, http-server, code-generation, linux, macos, docker, kubernetes

## Member repositories
- go-kratos/kratos (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:38.711231+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:55:57.890259+00:00, confidence not recorded.
  - readme: https://github.com/go-kratos/kratos (fetched 2026-08-28T04:11:38.711231+00:00, sha 40fc37c7ac1f)
  - homepage: https://go-kratos.dev (fetched 2026-08-29T07:52:29.560878+00:00, sha fb9434f84294)
  - site_page: https://go-kratos.dev/docs (fetched 2026-08-29T07:52:29.570541+00:00, sha dbee4229c74f)
  - site_page: https://go-kratos.dev/docs/getting-started/start (fetched 2026-08-29T07:52:29.573309+00:00, sha 0f26c10330fc)
  - site_page: https://go-kratos.dev/docs/community/contribution (fetched 2026-08-29T07:52:29.575584+00:00, sha 2af79b645cc2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
