← back to leaderboard

fastapi/fastapiGitHub

https://github.com/fastapi/fastapi
Stars:
103k
Language:
Python
Default branch:
master
Last scored:
6h ago
Overall

At a glance

Rank
#226 of 371
#45 of 57 Python repos
Checks passed
8 of 16
Full list below
Best set up for
GPT-5 Codex
Score 70.0
Needs most work for
OpenHands
Biggest fix: Reproducible dev env (+10.4 pts)

What it has

  • CI configuration
  • Dependency manifest
  • License file
  • Linter / formatter config
  • Pre-commit / git hooks

What it's missing

  • AGENTS.md / CLAUDE.md
  • .aider.conf.yml
  • CONTRIBUTING guide
  • Cursor rules (.cursor/rules)
  • Reproducible dev env

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
    Reproducible dev env
    Add a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.
    +11.8 pts
  3. 3
    CONTRIBUTING guide
    Add CONTRIBUTING.md describing branch naming, commit style, test commands, and the PR process.
    +5.3 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
70.0
Pi
69.7
Devin
68.8
Kimi CLI
67.6
Aider
67.6
Claude Code
66.4
Cursor
66.3
Gemini CLI
65.3
OpenHands
63.0

Similar repos

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

All Python repos →

All checks

AGENTS.md / CLAUDE.md· 0% pass
No agent instructions file found
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
20 GitHub Actions workflow(s)
.github/workflows
CONTRIBUTING guide· 0% pass
No CONTRIBUTING file
Cursor rules (.cursor/rules)· 0% pass
No .cursor/rules/*.mdc or .cursorrules
Dependency manifest· 100% pass
Manifest present
pyproject.toml
Reproducible dev env· 0% pass
No Makefile / devcontainer / Docker / equivalent found
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
LICENSE
Linter / formatter config· 100% pass
Configured in pyproject.toml
pyproject.toml
.openhands/setup.sh· 0% pass
No .openhands/setup.sh
Pre-commit / git hooks· 100% pass
Hook framework configured
.pre-commit-config.yaml
README· 100% pass
README detailed (22016 chars)
README.md
Manageable size· 50% pass
3144 files — large
Test suite· 100% pass
Found /tests
tests
Type configuration· 100% pass
Configured in pyproject.toml
pyproject.toml

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

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?