#44th of 18 in Backend and cloud templates

go-zero

Go web and RPC microservice framework with goctl code generation

Stars
33.4k
License
MIT
Last commit
Nov 2026
Last release
Aug 2026
Language
Go
Stars, last 29 weeks+764
10 Apr 2026: 32,655 stars17 Apr 2026: 32,703 stars24 Apr 2026: 32,738 stars1 May 2026: 32,764 stars8 May 2026: 32,792 stars15 May 2026: 32,817 stars22 May 2026: 32,846 stars29 May 2026: 32,877 stars5 Jun 2026: 32,909 stars12 Jun 2026: 32,944 stars19 Jun 2026: 32,967 stars26 Jun 2026: 33,006 stars3 Jul 2026: 33,028 stars10 Jul 2026: 33,059 stars17 Jul 2026: 33,087 stars24 Jul 2026: 33,115 stars31 Jul 2026: 33,138 stars7 Aug 2026: 33,162 stars14 Aug 2026: 33,184 stars21 Aug 2026: 33,198 stars28 Aug 2026: 33,220 stars4 Sept 2026: 33,252 stars11 Sept 2026: 33,275 stars18 Sept 2026: 33,298 stars25 Sept 2026: 33,321 stars2 Oct 2026: 33,335 stars9 Oct 2026: 33,350 stars16 Oct 2026: 33,379 stars23 Oct 2026: 33,394 stars30 Oct 2026: 33,419 stars

32,655 on 10 Apr 202633,419 on 30 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

go-zero is a Go framework for HTTP and RPC services. Its goctl tool generates server code from .api or .proto files, and client code for Java, Dart, TypeScript, Kotlin and others. It ships built-in timeout control, rate limiting, adaptive circuit breaking and load shedding. It is not an AI project; the README only links optional guidance repos for AI coding assistants.

Who it is for: Go developers building HTTP or RPC microservices, including AI backends

Strengths

  • goctl generates Go server code and multi-language clients from one .api file
  • Adaptive circuit breaker, load shedding and rate limiting built in, no configuration needed
  • Request parameters validated automatically from struct tags in the .api file
  • API layer is compatible with net/http; MIT license

Weaknesses

  • Not AI-specific; AI tooling lives in separate ai-context, zero-skills and mcp-zero repos
  • Services are Go only; other languages get generated clients, not servers
  • Opinionated project layout and .api DSL to learn before writing handlers
  • Benchmark results are given only as an image, no numbers in the README

What it needs

  • Go
  • Needs Go, goctl

Quick answers

Is go-zero open source?

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

Head to head

Also in Backend and cloud templates

See all 18
Also in Backend and cloud templates
RankProjectScore
1full-stack-fastapi-templateFastAPI and React starter with JWT auth, PostgreSQL and a generated API client46.1k starsMIT90 out of 100
2full-stack-ai-agent-templateProject generator for FastAPI and Next.js apps with agents and RAG2k starsMIT78 out of 100
3agent-service-toolkitLangGraph agent served by FastAPI with a Streamlit chat front end Live demo ↗ (opens in a new tab)4.6k starsMIT74 out of 100
#5monidDeclarative connector framework behind a metered catalog of agent tool APIs6.1k starsMIT72 out of 100
#6fastapi-langgraph-agent-production-ready-templateFastAPI backend template for LangGraph agents with memory, auth and tracing2.7k starsMIT71 out of 100