Skip to main content

agent-ready: AI Agent Readiness Checker

agent-ready is a Python CLI that evaluates a code repository's structure and content for optimal performance with AI coding agents like Claude Code, Cursor, and GitHub Copilot.

AI coding agents are now standard development tools. The quality and relevance of their suggestions, refactors, and code generation heavily depend on the clarity, consistency, and discoverability of a repository's codebase. agent-ready helps identify areas for improvement to maximize agent effectiveness.

Quick Start

To check a repository, simply run the script with the path to your repository:

# Clone the agent-ready repository
git clone https://github.com/your-org/agent-ready.git
cd agent-ready

# Run the check against your target repository
python3 agent_ready.py /path/to/your/project

What It Checks

agent-ready performs the following checks, assigning points based on best practices for AI agent comprehension:

Check Points
README.md exists and is substantial 10
.gitignore exists and is comprehensive 8
requirements.txt or equivalent exists 7
pyproject.toml or setup.py exists 7
Clear project structure (e.g., src/) 8
Docstrings/comments present (sample check) 10
Type hints used (sample check) 8
Test suite detected (tests/ folder) 9
Linter config detected (.flake8, pyproject.toml) 6
Formatter config detected (.prettierrc, pyproject.toml) 6
CI/CD config detected (.github/workflows, gitlab-ci.yml) 5
CONTRIBUTING.md exists 4
LICENSE file exists 4
Recent activity (last 3 months) 8
Total Possible Score 100

Grading Scale

The final score translates to a grade:

Grade Score Range
A 90-100
B 80-89
C 70-79
D 60-69
F < 60

Flags

agent-ready supports the following flags:

  • --json: Output results as a JSON object. Useful for programmatic consumption.
  • --badge: Output a Markdown badge string representing the grade.
  • --strict: Exit with a non-zero status code if the grade is below 'B'. Useful for CI/CD pipelines.

Badge Example

![Agent Readiness Grade](https://img.shields.io/badge/agent--ready-A-brightgreen)

Use in CI

Integrate agent-ready into your CI/CD pipeline to ensure ongoing agent readiness.

name: Agent Readiness Check

on: [push, pull_request]

jobs:
  check-readiness:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout agent-ready
        uses: actions/checkout@v4
        with:
          repository: your-org/agent-ready # Replace with actual repo URL
          path: agent-ready

      - name: Checkout target repository
        uses: actions/checkout@v4
        with:
          path: target-repo

      - name: Run agent-ready check
        run: python3 agent-ready/agent_ready.py target-repo --strict

Metadata

Release files for agent-ready-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-ready-cli 0.1.0
File Size Uploaded Provenance Actions
agent_ready_cli-0.1.0.tar.gz 7.0 kB With provenance Details for agent_ready_cli-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agent-ready-cli 0.1.0
File Interpreter ABI Platform Actions
agent_ready_cli-0.1.0-py3-none-any.whl Python 3 none any Details for agent_ready_cli-0.1.0-py3-none-any.whl

Total release size: 14.4 kB

Release files / agent_ready_cli-0.1.0.tar.gz

Download URL agent_ready_cli-0.1.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
affee7382913bb8d4bb181b849fd7c622acfe32e12427470b8791e1ff34b5e50
BLAKE2b-256 checksum
How to use checksums
c574b50e10c3f670308a0f4a2fb81e39009fd8c52c1d4afc1fa9cddf89ffa122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 4, 2026.

Transparency log

Release files / agent_ready_cli-0.1.0-py3-none-any.whl

Download URL agent_ready_cli-0.1.0-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e263709f24da8a41ac8496423b4d4a905a4dea3ee33d6841c8a726112aa2c2a
BLAKE2b-256 checksum
How to use checksums
ca5bc4276ae6c8f02fee725aa3ec8f42ec5ae4f5142ed45bf0e8c6cd48f99bbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 4, 2026.

Transparency log

Security for agent-ready-cli 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agent_ready_cli-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page