nats-io/nats-server

GitHub
https://github.com/nats-io/nats-server

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

  • cloud
  • cloud-computing
  • cloud-native
  • connected-vehicle
  • distributed-systems
  • edge
  • edge-ai
  • edge-computing
  • go
  • golang
  • message-bus
  • message-queue
  • messaging
  • microservices-architecture
  • nats-server
Stars:
21k
Language:
Go
Default branch:
main
Last scored:
Overall

At a glance

Rank
#99 of 401
Top 25% · #15 of 40 Go repos
Checks passed
10 of 17
Full list below
Best set up for
Claude Code
Score 82.9
Needs most work for
OpenHands
Biggest fix: Reproducible dev env (+10.0 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    Reproducible dev env
    Add a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.
    +11.8 pts
  2. 2
    Pre-commit / git hooks
    Set up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.
    +5.3 pts

Score for each AI agent

Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →

Claude Code
#99 of 401
82.9
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✗Reproducible dev env
Pi
#92 of 401
81.3
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Linter / formatter config
Codex
#101 of 401
81.0
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ✓Test suite
Kimi Code CLI
#104 of 401
80.0
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Dependency manifest
Cursor
#90 of 401
74.7
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
Aider
#79 of 401
74.6
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ✓Test suite
Devin
#137 of 401
73.8
  • ✗Reproducible dev env
  • ✓Dependency manifest
  • ✓Test suite
Gemini CLI
#97 of 401
72.8
  • ✗GEMINI.md
  • ✓README
  • ✓Test suite
OpenHands
#131 of 401
70.0
  • ✓CI configuration
  • ✓Dependency manifest
  • ✗Reproducible dev env

Does nats-io/nats-server have agent instructions?

An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.

AGENTS.md / CLAUDE.md
AGENTS.md (new tab) · 2,185 characters
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
23 of 40 Go repos · 221 of 401 repos on the leaderboard · See examples →

All 17 checks · 10 passed

No .agents/skills/<name>/SKILL.md
Substantive (2,185 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
10 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
No Makefile / devcontainer / Docker / equivalent found
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
Config detected
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (4,575 characters)
Manageable size· 100% pass
471 files
Test suite· 100% pass
Found /test
Type configuration· 100% pass
Typed language (Go)

How nats-io/nats-server compares

vs leaderboard average
10.0 pts above
Average 66.8
vs Go average
5.8 pts above
Average 71.0
Stars among Go repos
#31 of 40

Missing here, and how many repos have it

  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 13% of Go repos
  • Reproducible dev env · passed by 22% of leaderboard repos, 40% of Go repos
  • Skills (.agents/skills) · passed by 17% of leaderboard repos, 10% of Go repos

Passes checks most repos miss

  • Manageable size · only 16% of repos pass it

One fix for the most agents: Reproducible dev env would raise the score for all 9 agents, by up to 11.9 points.

Similar repos

Same language and host as this repo, closest in overall score.

All Go repos →

Same topics, any language

Repos tagged with the same GitHub topics, most shared first.

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/nats-io/nats-server
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/nats-io/nats-server.svg)](https://agentfriendlycode.com/repo/github/nats-io/nats-server)

Check the score on every pull request

A GitHub Action posts one comment per pull request with how the score changed and why.