Skip to content
Agent Friendly Code

Most agent-friendly Go repos

41 Go repos, ranked by overall score (the average across agents). They average 77.8. Best with 100+ stars: pingcap/tidb (89.6).

25 of them have an AGENTS.md or CLAUDE.md: Go AGENTS.md examples.

Which AI coding agent Go repos are best set up for →

What Go repos most often miss

Leaves out checks only one agent reads, which almost no repo passes. The methodology explains each check.

Leaderboard — page 1 of 1 for Go repos, overall
RankRepoScore
1pingcap/tidbGitHub

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

40.8k ★
89.6
open
2gitlab-org/cliGitLab

A GitLab CLI tool bringing GitLab to your command line

1.1k ★
88.8
open
3prometheus/prometheusGitHub

The Prometheus monitoring system and time series database.

67.9k ★
88.2
open
4caddyserver/caddyGitHub

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

79.6k ★
86.8
open
5grafana/grafanaGitHub

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

78.2k ★
85.9
open
6milvus-io/milvusGitHub

Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search

46.7k ★
85.9
open
7weaviate/weaviateGitHub

Weaviate is an open-source vector database that stores both objects and vectors, allowing for the combination of vector search with structured filtering with the fault tolerance and scalability of a cloud-native database.

17k ★
85.9
open
8vitessio/vitessGitHub

Vitess is a database clustering system for horizontal scaling of MySQL.

21.4k ★
84.6
open
9cli/cliGitHub

GitHub’s official command line tool

47.2k ★
84.5
open
10google/osv-scannerGitHub

Vulnerability scanner written in Go which uses the data provided by https://osv.dev

11.6k ★
84.5
open
11gitlab-org/gitlab-runnerGitLab

GitLab Runner is the open source project that is used to run your CI/CD jobs and send the results back to GitLab

2.6k ★
83.9
open
12charmbracelet/crushGitHub

Glamourous agentic coding for all 💘

29.2k ★
83.3
open
13nats-io/nats-serverGitHub

High-Performance server for NATS.io, the cloud and edge native messaging system.

21.2k ★
83.0
open
14traefik/traefikGitHub

The Cloud Native Application Proxy

65.7k ★
82.7
open
15inngest/inngestGitHub

The leading workflow orchestration platform. Run stateful step functions and AI workflows on serverless, servers, or the edge.

6.1k ★
82.7
open
16ollama/ollamaGitHub

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

188.2k ★
82.6
open
17gitlab-org/gitalyGitLab

Gitaly is a Git RPC service for handling all the git calls made by GitLab

441 ★
82.0
open
18microsoft/TypeScriptGitHub

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

111.9k ★
80.9
open
19go-gitea/giteaGitHub

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD

59.3k ★
80.9
open
20cockroachdb/cockroachGitHub

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

32.6k ★
80.9
open
21moby/mobyGitHub

The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

72.3k ★
80.8
open
22labstack/echoGitHub

High performance, minimalist Go web framework

32.8k ★
80.8
open
23privy-io/go-sdkGitHub5 ★
77.2
open
24gin-gonic/ginGitHub

Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices.

89.6k ★
76.4
open
25spf13/cobraGitHub

A Commander for modern Go CLI interactions

44.8k ★
76.4
open
26uber-go/zapGitHub

Blazing fast, structured, leveled logging in Go.

24.7k ★
76.4
open
27pocketbase/pocketbaseGitHub

Open Source realtime backend in 1 file

61.6k ★
75.1
open
28minio/minioGitHub

MinIO is a high-performance, S3 compatible object store, open sourced under GNU AGPLv3 license.

61.2k ★
75.1
open
29etcd-io/etcdGitHub

Distributed reliable key-value store for the most critical data of a distributed system

52.7k ★
75.1
open
30gohugoio/hugoGitHub

The world’s fastest framework for building websites.

90.6k ★
74.1
open
31hashicorp/terraformGitHub

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.

50.3k ★
71.5
open
32hashicorp/vaultGitHub

A tool for secrets management, encryption as a service, and privileged access management

36.6k ★
71.5
open
33junegunn/fzfGitHub

A command-line fuzzy finder

84.5k ★
71.4
open
34charmbracelet/bubbleteaGitHub

A powerful little TUI framework 🏗

45.9k ★
71.4
open
35dagger/daggerGitHub

Automation engine to build, test and ship any codebase. Runs locally, in CI, or directly in the cloud

16.7k ★
68.8
open
36go-gorm/gormGitHub

The fantastic ORM library for Golang, aims to be developer friendly

40k ★
68.7
open
37go-chi/chiGitHub

lightweight, idiomatic and composable router for building Go HTTP services

23.2k ★
67.8
open
38kubernetes/kubernetesGitHub

Production-Grade Container Scheduling and Management

129.4k ★
65.7
open
39stretchr/testifyGitHub

A toolkit with common assertions and mocks that plays nicely with the standard library

26.3k ★
65.1
open
40getlago/lagoGitHub

Open Source Metering and Usage Based Billing API ⭐️ Consumption tracking, Subscription management, Pricing iterations, Payment orchestration & Revenue analytics

10.9k ★
65.1
open
41golang/goGitHub

The Go programming language

140.1k ★
47.4
open

Which AI coding agent are Go repos best set up for?

Claude Code, at 84.7 on average, ahead of Codex at 81.2. That measures setup weighted by what each agent's docs say it reads, not which agent writes better Go.

Average and median score of Go repos for each agent, highest first
AgentAverageMedianTop for
Claude Code84.788.837
Codex81.284.81
Kimi Code CLI80.484.02
Pi79.784.01
Devin78.580.00
Aider74.977.20
Gemini CLI73.776.10
OpenHands73.675.00
Cursor73.476.80

Agent files: AGENTS.md 22 (54%) · CLAUDE.md only 3 (7%) · .cursor/rules 0 (0%) · GEMINI.md 0 (0%) · .agents/skills 4 (10%). “Top for” counts the repos where the agent scores highest, ties counting for each.