Unified CLI for the Agent Quality Toolkit (agentmd, coderace, agentlint, agentreflect)
Project description
agentkit-cli
One install to rule them all.
pip install agentkit-cli
Get the full Agent Quality Toolkit pipeline in a single command — no more juggling four separate pip install steps.
What is it?
agentkit-cli is a unified meta-CLI that wraps the Agent Quality Toolkit quartet:
| Tool | Purpose |
|---|---|
| agentmd | Generate CLAUDE.md context files |
| agentlint | Lint AI context files and git diffs |
| coderace | Benchmark AI coding performance |
| agentreflect | Generate reflection reports from failures |
Pipeline Overview
agentkit run
│
├── 1. agentmd generate → produces CLAUDE.md
├── 2. agentlint check-context → lints CLAUDE.md
├── 3. agentlint (diff) → lints recent changes
├── 4. coderace benchmark → (opt-in via --benchmark)
└── 5. agentreflect generate → reflection on failures
Zero to full pipeline in 30 seconds.
Installation
pip install agentkit-cli
Install the quartet tools too:
pip install agentmd agentlint coderace agentreflect
Usage
agentkit init
Initialize agentkit in a project. Checks which tools are installed and creates .agentkit.yaml.
agentkit init
agentkit init --path /my/project
Creates .agentkit.yaml:
tools:
coderace: true
agentmd: true
agentlint: true
agentreflect: true
defaults:
min_score: 80
context_file: CLAUDE.md
agentkit run
Run the full quality pipeline sequentially.
agentkit run
agentkit run --path /my/project
agentkit run --skip generate
agentkit run --skip lint
agentkit run --skip benchmark
agentkit run --skip reflect
agentkit run --benchmark # include benchmark step
agentkit run --json # emit summary as JSON
agentkit run --notes "regression after refactor"
Missing tools are skipped automatically with a warning — you don't need all four installed.
agentkit status
Quick health check: tool versions, config presence, last run summary.
agentkit status
agentkit status --path /my/project
agentkit status --json
agentkit doctor
Diagnose whether all quartet tools are installed and functional.
agentkit doctor
agentkit doctor --json
Outputs a Rich table with ✓/✗ per tool, version, and install command. Exits 1 if any tool is missing.
CI Integration
Use the agentkit GitHub Action to run the full pipeline in CI:
- name: Run agentkit pipeline
uses: mikiships/agentkit-cli@v0.2.0
with:
python-version: '3.12'
skip: ''
benchmark: 'false'
fail-on-lint: 'true'
Inputs:
| Input | Default | Description |
|---|---|---|
skip |
'' |
Comma-separated steps to skip (generate, lint, benchmark, reflect) |
benchmark |
false |
Enable coderace benchmark step |
python-version |
3.12 |
Python version to use |
fail-on-lint |
true |
Exit 1 on agentlint failures |
See .github/workflows/examples/agentkit-pipeline.yml for a full example.
Links
License
MIT
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 agentkit_cli-0.2.1.tar.gz.
File metadata
- Download URL: agentkit_cli-0.2.1.tar.gz
- Upload date:
- Size: 26.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6776a4d1aaf259487a30ba6ba8a9dc95ec13f97a4c98a07dcc662b21f04548b0
|
|
| MD5 |
add5d0e09ec840b5e92ec3201761ce35
|
|
| BLAKE2b-256 |
bbed95a10a033ff6be8f21bd4705bd67973ee587376510740f2d72937d146f69
|
File details
Details for the file agentkit_cli-0.2.1-py3-none-any.whl.
File metadata
- Download URL: agentkit_cli-0.2.1-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85ada5463d76293523bfe6b94c2c96b43d1d9515b7c2a67c7522b53ca54b2c80
|
|
| MD5 |
0578a89e1b30865683eb57fe5451f2ca
|
|
| BLAKE2b-256 |
a7e447196b6165de804e4d72e177f2495a544031f96a0e9be0a96959a97c46e9
|