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.
What Go repos most often miss
- Cursor rules (.cursor/rules): 0% pass rate
- Skills (.agents/skills): 10% pass rate
- Pre-commit / git hooks: 15% pass rate
Leaves out checks only one agent reads, which almost no repo passes. The methodology explains each check.
| Rank | Repo | Stars | Score | External link |
|---|---|---|---|---|
| 1 | pingcap/ 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 |
| 2 | gitlab-org/ A GitLab CLI tool bringing GitLab to your command line | 1.1k ★ | 88.8 | open |
| 3 | prometheus/ The Prometheus monitoring system and time series database. | 67.9k ★ | 88.2 | open |
| 4 | caddyserver/ Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS | 79.6k ★ | 86.8 | open |
| 5 | grafana/ 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 |
| 6 | milvus-io/ Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search | 46.7k ★ | 85.9 | open |
| 7 | weaviate/ 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 |
| 8 | vitessio/ Vitess is a database clustering system for horizontal scaling of MySQL. | 21.4k ★ | 84.6 | open |
| 9 | cli/ GitHub’s official command line tool | 47.2k ★ | 84.5 | open |
| 10 | google/ Vulnerability scanner written in Go which uses the data provided by https://osv.dev | 11.6k ★ | 84.5 | open |
| 11 | gitlab-org/ 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 |
| 12 | charmbracelet/ Glamourous agentic coding for all 💘 | 29.2k ★ | 83.3 | open |
| 13 | nats-io/ High-Performance server for NATS.io, the cloud and edge native messaging system. | 21.2k ★ | 83.0 | open |
| 14 | traefik/ The Cloud Native Application Proxy | 65.7k ★ | 82.7 | open |
| 15 | inngest/ The leading workflow orchestration platform. Run stateful step functions and AI workflows on serverless, servers, or the edge. | 6.1k ★ | 82.7 | open |
| 16 | ollama/ Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models. | 188.2k ★ | 82.6 | open |
| 17 | gitlab-org/ Gitaly is a Git RPC service for handling all the git calls made by GitLab | 441 ★ | 82.0 | open |
| 18 | microsoft/ TypeScript is a superset of JavaScript that compiles to clean JavaScript output. | 111.9k ★ | 80.9 | open |
| 19 | go-gitea/ 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 |
| 20 | cockroachdb/ CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement. | 32.6k ★ | 80.9 | open |
| 21 | moby/ The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems | 72.3k ★ | 80.8 | open |
| 22 | labstack/ High performance, minimalist Go web framework | 32.8k ★ | 80.8 | open |
| 23 | privy-io/ | 5 ★ | 77.2 | open |
| 24 | gin-gonic/ 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 |
| 25 | spf13/ A Commander for modern Go CLI interactions | 44.8k ★ | 76.4 | open |
| 26 | uber-go/ Blazing fast, structured, leveled logging in Go. | 24.7k ★ | 76.4 | open |
| 27 | pocketbase/ Open Source realtime backend in 1 file | 61.6k ★ | 75.1 | open |
| 28 | minio/ MinIO is a high-performance, S3 compatible object store, open sourced under GNU AGPLv3 license. | 61.2k ★ | 75.1 | open |
| 29 | etcd-io/ Distributed reliable key-value store for the most critical data of a distributed system | 52.7k ★ | 75.1 | open |
| 30 | gohugoio/ The world’s fastest framework for building websites. | 90.6k ★ | 74.1 | open |
| 31 | hashicorp/ 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 |
| 32 | hashicorp/ A tool for secrets management, encryption as a service, and privileged access management | 36.6k ★ | 71.5 | open |
| 33 | junegunn/ A command-line fuzzy finder | 84.5k ★ | 71.4 | open |
| 34 | charmbracelet/ A powerful little TUI framework 🏗 | 45.9k ★ | 71.4 | open |
| 35 | dagger/ Automation engine to build, test and ship any codebase. Runs locally, in CI, or directly in the cloud | 16.7k ★ | 68.8 | open |
| 36 | go-gorm/ The fantastic ORM library for Golang, aims to be developer friendly | 40k ★ | 68.7 | open |
| 37 | go-chi/ lightweight, idiomatic and composable router for building Go HTTP services | 23.2k ★ | 67.8 | open |
| 38 | kubernetes/ Production-Grade Container Scheduling and Management | 129.4k ★ | 65.7 | open |
| 39 | stretchr/ A toolkit with common assertions and mocks that plays nicely with the standard library | 26.3k ★ | 65.1 | open |
| 40 | getlago/ Open Source Metering and Usage Based Billing API ⭐️ Consumption tracking, Subscription management, Pricing iterations, Payment orchestration & Revenue analytics | 10.9k ★ | 65.1 | open |
| 41 | golang/ 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.
| Agent | Average | Median | Top for |
|---|---|---|---|
| Claude Code | 84.7 | 88.8 | 37 |
| Codex | 81.2 | 84.8 | 1 |
| Kimi Code CLI | 80.4 | 84.0 | 2 |
| Pi | 79.7 | 84.0 | 1 |
| Devin | 78.5 | 80.0 | 0 |
| Aider | 74.9 | 77.2 | 0 |
| Gemini CLI | 73.7 | 76.1 | 0 |
| OpenHands | 73.6 | 75.0 | 0 |
| Cursor | 73.4 | 76.8 | 0 |
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.