← back to leaderboard

earendil-works/piGitHub

https://github.com/earendil-works/pi
Stars:
114.3k
Language:
TypeScript
Default branch:
main
Last scored:
17h ago
Overall

At a glance

Rank
#21 of 371
Top 6% · #5 of 81 TypeScript repos
Checks passed
9 of 16
Full list below
Best set up for
GPT-5 Codex
Score 92.7
Needs most work for
Aider
Biggest fix: .aider.conf.yml (+14.1 pts)

What to fix first

  1. 1
    Test suite
    Add a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.
    +3.9 pts
  2. 2
    Reproducible dev env
    Add a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.
    +3.6 pts
  3. 3
    Manageable size
    If possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.
    +1.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
92.7
Pi
92.3
Kimi CLI
92.1
Claude Code
91.2
Devin
91.0
Cursor
82.7
OpenHands
82.2
Gemini CLI
82.0
Aider
78.5

Similar repos

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

All TypeScript repos →

All checks

Substantive (8480 chars)
AGENTS.md
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
14 GitHub Actions workflow(s)
.github/workflows
CONTRIBUTING guide· 100% pass
Guide present
CONTRIBUTING.md
No .cursor/rules/*.mdc or .cursorrules
Manifest present
package.json
Has flake.nix
flake.nix
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
LICENSE
Config detected
biome.json
No .openhands/setup.sh
Hook framework configured
.husky
README· 100% pass
README detailed (10626 chars)
README.md
Manageable size· 80% pass
1968 files
Test suite· 70% pass
Test files detected (packages/agent/test/agent-loop.test.ts)
packages/agent/test/agent-loop.test.ts
Type configuration· 100% pass
Type config present
tsconfig.json

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

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: [main]

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?