Assess and bootstrap git repositories for AI-assisted development with automated remediation and continuous learning
Project description
AgentReady Repository Scorer
Assess git repositories against 25 evidence-based attributes for AI-assisted development readiness.
๐ Research-Based Assessment: AgentReady's 25 attributes are derived from comprehensive research analyzing 50+ authoritative sources including Anthropic, Microsoft, Google, ArXiv, and IEEE/ACM. Each attribute is backed by peer-reviewed research and industry best practices. View full research report โ
Overview
AgentReady evaluates your repository across multiple dimensions of code quality, documentation, testing, and infrastructure to determine how well-suited it is for AI-assisted development workflows. The tool generates comprehensive reports with:
- Overall Score & Certification: Platinum/Gold/Silver/Bronze based on 25 attributes
- Interactive HTML Reports: Filter, sort, and explore findings with embedded guidance
- Version-Control-Friendly Markdown: Track progress over time with git-diffable reports
- Actionable Remediation: Specific tools, commands, and examples to improve each attribute
- Schema Versioning: Backwards-compatible report format with validation and migration tools
Quick Start
Bootstrap (Recommended)
Transform your repository with one command:
cd /path/to/your/repo
agentready bootstrap .
git add . && git commit -m "build: Bootstrap agent-ready infrastructure"
git push
What you get:
- โ GitHub Actions workflows (tests, security, AgentReady assessment)
- โ Pre-commit hooks (formatters, linters)
- โ Issue/PR templates
- โ Dependabot configuration
- โ Automated assessment on every PR
Duration: <60 seconds
See detailed Bootstrap tutorial โ
Installation
# Clone the repository
git clone https://github.com/yourusername/agentready.git
cd agentready
# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -e ".[dev]"
Assessment Only
For one-time analysis without infrastructure changes:
# Assess current repository
agentready assess .
# Assess another repository
agentready assess /path/to/your/repo
# Specify custom configuration
agentready assess /path/to/repo --config my-config.yaml
# Custom output directory
agentready assess /path/to/repo --output-dir ./reports
Example Output
Assessing repository: myproject
Repository: /Users/username/myproject
Languages detected: Python (42 files), JavaScript (18 files)
Evaluating 25 attributes...
[โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ] 23/25 (2 skipped)
Overall Score: 72.5/100 (Silver)
Attributes Assessed: 23/25
Duration: 2m 7s
Reports generated:
HTML: .agentready/report-latest.html
Markdown: .agentready/report-latest.md
Features
25 Evidence-Based Attributes
Evaluated across 13 categories:
- Context Window Optimization: CLAUDE.md files, concise docs, file size limits
- Documentation Standards: README structure, inline docs, ADRs
- Code Quality: Cyclomatic complexity, file length, type annotations, code smells
- Repository Structure: Standard layouts, separation of concerns
- Testing & CI/CD: Coverage, test naming, pre-commit hooks
- Dependency Management: Lock files, freshness, security
- Git & Version Control: Conventional commits, gitignore, templates
- Build & Development: One-command setup, dev docs, containers
- Error Handling: Clear messages, structured logging
- API Documentation: OpenAPI/Swagger specs
- Modularity: DRY principle, naming conventions
- CI/CD Integration: Pipeline visibility, branch protection
- Security: Scanning automation, secrets management
Tier-Based Scoring
Attributes are weighted by importance:
- Tier 1 (Essential): 50% of total score - CLAUDE.md, README, types, layouts, lock files
- Tier 2 (Critical): 30% of total score - Tests, commits, build setup
- Tier 3 (Important): 15% of total score - Complexity, logging, API docs
- Tier 4 (Advanced): 5% of total score - Security scanning, performance benchmarks
Missing essential attributes (especially CLAUDE.md at 10% weight) has 10x the impact of missing advanced features.
Interactive HTML Reports
- Filter by status (Pass/Fail/Skipped)
- Sort by score, tier, or category
- Search attributes by name
- Collapsible sections with detailed evidence
- Color-coded score indicators
- Certification ladder visualization
- Works offline (no CDN dependencies)
Customization
Create .agentready-config.yaml to customize weights:
weights:
claude_md_file: 0.15 # Increase importance (default: 0.10)
test_coverage: 0.05 # Increase importance (default: 0.03)
conventional_commits: 0.01 # Decrease importance (default: 0.03)
# Other 22 attributes use defaults, rescaled to sum to 1.0
excluded_attributes:
- performance_benchmarks # Skip this attribute
output_dir: ./custom-reports
CLI Reference
# Assessment commands
agentready assess PATH # Assess repository at PATH
agentready assess PATH --verbose # Show detailed progress
agentready assess PATH --config FILE # Use custom configuration
agentready assess PATH --output-dir DIR # Custom report location
# Configuration commands
agentready --validate-config FILE # Validate configuration
agentready --generate-config # Create example config
# Research report management
agentready research-version # Show bundled research version
agentready research validate FILE # Validate research report
agentready research init # Generate new research report
agentready research add-attribute FILE # Add attribute to report
agentready research bump-version FILE # Update version
agentready research format FILE # Format research report
# Utility commands
agentready --version # Show tool version
agentready --help # Show help message
Architecture
AgentReady follows a library-first design:
- Models: Data entities (Repository, Assessment, Finding, Attribute)
- Assessors: Independent evaluators for each attribute category
- Services: Scanner (orchestration), Scorer (calculation), LanguageDetector
- Reporters: HTML and Markdown report generators
- CLI: Thin wrapper orchestrating assessment workflow
Development
Run Tests
# Run all tests with coverage
pytest
# Run specific test suite
pytest tests/unit/
pytest tests/integration/
pytest tests/contract/
# Run with verbose output
pytest -v -s
Code Quality
# Format code
black src/ tests/
# Sort imports
isort src/ tests/
# Lint code
flake8 src/ tests/ --ignore=E501
# Run all checks
black . && isort . && flake8 .
Project Structure
src/agentready/
โโโ cli/ # Click-based CLI entry point
โโโ assessors/ # Attribute evaluators (13 categories)
โโโ models/ # Data entities
โโโ services/ # Core logic (Scanner, Scorer)
โโโ reporters/ # HTML and Markdown generators
โโโ templates/ # Jinja2 HTML template
โโโ data/ # Bundled research report and defaults
tests/
โโโ unit/ # Unit tests for individual components
โโโ integration/ # End-to-end workflow tests
โโโ contract/ # Schema validation tests
โโโ fixtures/ # Test repositories
Research Foundation
All 25 attributes are derived from evidence-based research with 50+ citations from:
- Anthropic (Claude Code documentation, engineering blog)
- Microsoft (Code metrics, Azure DevOps best practices)
- Google (SRE handbook, style guides)
- ArXiv (Software engineering research papers)
- IEEE/ACM (Academic publications on code quality)
See src/agentready/data/agent-ready-codebase-attributes.md for complete research report.
License
MIT License - see LICENSE file for details.
Contributing
Contributions welcome! Please ensure:
- All tests pass (
pytest) - Code is formatted (
black,isort) - Linting passes (
flake8) - Test coverage >80%
Support
- Documentation: See
/docsdirectory - Issues: Report at GitHub Issues
- Questions: Open a discussion on GitHub
Quick Start: pip install -e ".[dev]" && agentready assess . - Ready in <5 minutes!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentready-2.9.0.tar.gz.
File metadata
- Download URL: agentready-2.9.0.tar.gz
- Upload date:
- Size: 183.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8109edfc737de314a09dd3475ed80dabba1bdc12b65b8d38905a1a7c38d6e377
|
|
| MD5 |
a9776776c13cb50d9e1118da2b034357
|
|
| BLAKE2b-256 |
d11a0bb494438938b2d707df56f107fe2fd582e10db2df4f0aa62e7b01c808f7
|
File details
Details for the file agentready-2.9.0-py3-none-any.whl.
File metadata
- Download URL: agentready-2.9.0-py3-none-any.whl
- Upload date:
- Size: 228.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b1020b71a441f09744bc4b37c8818ef9e38dc55e3e33e606f82e1d347c4e6f4
|
|
| MD5 |
c39da681bf043cab4241a75520717659
|
|
| BLAKE2b-256 |
7b3c7f190b8f6fb3d369af4435dfaae5e827241b7ddc699280e358c803ae7738
|