# Kratos

> Go microservices framework for the cloud-native era

Source: https://talira.ai/catalog/kratos-5wy0dm66
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Command-line tool
- Categories: [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend), [frameworks / rpc](https://talira.ai/categories/frameworks/rpc), [languages / go](https://talira.ai/categories/languages/go)
- Licence: MIT[^1]
- Pricing: Free and open source
- Free tier: yes
- Plugins: yes[^2]
- Backed by: [Kratos](https://talira.ai/orgs/go-kratos.md)

Kratos is a lightweight Go framework for building cloud-native microservices. Services are defined API-first in Protobuf, and its `kratos` CLI generates HTTP and gRPC code, creates new services from a standard project layout and runs them. It has a unified transport layer for HTTP and gRPC, composable middleware for recovery, logging, validation, tracing, metrics and auth, and pluggable service registry, configuration and encoding components, with optional integrations in a contrib ecosystem. Kratos v3, released in June 2026, cut its core dependencies.

## Links

- Website: https://go-kratos.dev/
- GitHub: https://github.com/go-kratos/kratos
- Docs: https://go-kratos.dev/docs/getting-started/start

## Problems it solves

- build Go microservices that serve both gRPC and HTTP from one Protobuf definition
- a standard project layout and code generator so every Go service in our company looks the same
- plug service discovery, config centres and tracing into my Go services without wiring each one by hand
- generate server and client code for my Go APIs from proto files instead of writing handlers
- add logging, metrics, tracing, auth and validation to every Go service through shared middleware

## Features

- API-first development with Protobuf and generated HTTP/gRPC code
- Unified HTTP and gRPC transport layer
- Middleware for recovery, logging, validation, tracing, metrics and auth
- Pluggable registry, configuration and encoding components
- log/slog based logging with OpenTelemetry extensions
- OpenAPI and error code generation
- kratos CLI to create, generate and run services
- Contrib packages for registries, config stores and observability

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.66 out of 1.
Signals: maintenance 0.65, adoption 0.88, momentum 0.74, community 1.00, backing 0.30, extensibility 0.40.

- last commit 7 days ago
- 8 commits in the last 90 days
- latest release v3.0.0 5 months ago
- 26.0k GitHub stars
- 317 contributors
- accepts sponsorship (Github, Open Collective)
- has a company behind it
- has a plugin system

## Alternatives

- [go-zero](https://talira.ai/catalog/go-zero-18jnhjpx.md): A cloud-native Go microservices framework with a code generation CLI

## Sources

[^1]: https://github.com/go-kratos/kratos/blob/main/LICENSE (checked 25 Nov 2026)
[^2]: https://github.com/go-kratos/kratos/blob/main/README.md (checked 25 Nov 2026)
