← back to leaderboard

karpathy/nanoGPTGitHub

https://github.com/karpathy/nanoGPT
Stars:
63.7k
Language:
Python
Default branch:
master
Last scored:
14h ago
Overall

At a glance

Rank
#371 of 371
#57 of 57 Python repos
Checks passed
2 of 16
Full list below
Best set up for
GPT-5 Codex
Score 20.7
Needs most work for
Aider
Biggest fix: .aider.conf.yml (+14.1 pts)

What to fix first

  1. 1
    AGENTS.md / CLAUDE.md
    Add an AGENTS.md covering project goals, layout, setup commands, and conventions. Aim for 800+ chars of real guidance (not boilerplate).
    +13.2 pts
  2. 2
    Test suite
    Add a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.
    +13.2 pts
  3. 3
    Reproducible dev env
    Add a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.
    +11.8 pts

Score for each AI agent

Each agent looks for different things in a repo, based on its own docs. Under each score are the three checks it cares about most.

GPT-5 Codex
20.7
Cursor
20.0
Devin
20.0
Kimi CLI
19.2
Claude Code
19.1
Pi
19.0
Gemini CLI
18.7
OpenHands
18.0
Aider
16.3

Similar repos

Scored for Claude Code. Same language and host as this repo, scoring near it.

All Python repos →

All checks

No agent instructions file found
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
No CI config found
No CONTRIBUTING file
No .cursor/rules/*.mdc or .cursorrules
No dependency manifest found
No Makefile / devcontainer / Docker / equivalent found
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
LICENSE
No linter/formatter config found
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (13844 chars)
README.md
Manageable size· 90% pass
24 files — very small
Test suite· 0% pass
No test directory or test files found
No type config found

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/karpathy/nanoGPT
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/karpathy/nanoGPT.svg)](https://agentfriendlycode.com/repo/github/karpathy/nanoGPT)

Check the score on every pull request

Add this file to your repo. On each pull request, it posts one comment showing how the score changed and why. It runs in your own CI, with no outside server involved.

# .github/workflows/agent-friendly.yml
name: Agent-friendly score diff

on:
  pull_request:
    branches: [master]

permissions:
  contents: read
  pull-requests: write

jobs:
  score-diff:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
        with:
          fetch-depth: 0
      - uses: hsnice16/agent-friendly-action@v0
        with:
          agents-badge-token: ${{ secrets.AGENTS_BADGE_TOKEN }}

Add AGENTS_BADGE_TOKENto the repo's secrets to turn the comment on. Without it, the action does nothing. Where do I add it?