#7878th of 102 in Backends, databases and hosting

kratos

Go microservice framework with HTTP/gRPC transport and Protobuf code generation

Stars
26k
License
MIT
Last commit
Oct 2026
Last release
Jun 2026
Language
Go
Stars, last 29 weeks+569
21 Apr 2026: 25,452 stars28 Apr 2026: 25,478 stars5 May 2026: 25,490 stars12 May 2026: 25,512 stars19 May 2026: 25,528 stars26 May 2026: 25,546 stars2 Jun 2026: 25,566 stars9 Jun 2026: 25,592 stars16 Jun 2026: 25,604 stars23 Jun 2026: 25,622 stars30 Jun 2026: 25,649 stars7 Jul 2026: 25,671 stars14 Jul 2026: 25,691 stars21 Jul 2026: 25,705 stars28 Jul 2026: 25,742 stars4 Aug 2026: 25,769 stars11 Aug 2026: 25,790 stars18 Aug 2026: 25,813 stars25 Aug 2026: 25,836 stars1 Sept 2026: 25,858 stars8 Sept 2026: 25,872 stars15 Sept 2026: 25,890 stars22 Sept 2026: 25,908 stars29 Sept 2026: 25,926 stars6 Oct 2026: 25,939 stars13 Oct 2026: 25,958 stars20 Oct 2026: 25,973 stars27 Oct 2026: 25,992 stars3 Nov 2026: 26,006 stars10 Nov 2026: 26,021 stars

25,452 on 21 Apr 202626,021 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Kratos is a Go framework for building microservices. It provides a unified HTTP and gRPC transport layer, composable middleware (recovery, logging, validation, tracing, metrics, auth), and pluggable registry, config and encoding components. A kratos CLI scaffolds services and generates code from Protobuf definitions. It is a general backend framework, not an AI-specific project.

Who it is for: Go developers building HTTP/gRPC microservices

Strengths

  • One transport abstraction for HTTP and gRPC, with code generated from Protobuf
  • CLI scaffolds a runnable service with kratos new and kratos run
  • Optional integrations (registries, config stores, observability) live in contrib packages
  • Logging uses standard-library log/slog; v3 reduces core dependencies

Weaknesses

  • No AI, model or agent features; it is a general microservice framework
  • Requires Go 1.25+, protoc and protoc-gen-go installed locally
  • v3 makes implicit behavior explicit; v2 services need migration first
  • No Dockerfile or compose setup in the README

What it needs

  • no GPU
  • Needs Go 1.25+, protoc, protoc-gen-go
  • port 8000

Quick answers

Is kratos open source?

Yes. Its code is on GitHub under the MIT license.

Also in Backends, databases and hosting

See all 102
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k starscustom license93 out of 100
2strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k stars+245 (+0.3%) in 30 dayscustom license92 out of 100
3traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k stars+446 (+0.7%) in 30 daysMIT92 out of 100
#4appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58k stars+463 (+0.8%) in 30 daysBSD-3-Clause92 out of 100
#5medusaNode.js commerce platform with modular products, carts, orders and payments37.2k starscustom license92 out of 100