Unified CLI for the Agent Quality Toolkit (agentmd, coderace, agentlint, agentreflect)
Project description
agentkit-cli
Unified CLI for the Agent Quality Toolkit (agentmd, coderace, agentlint, agentreflect).
Installation
pip install agentkit-cli
Quick Start
agentkit run # run the full pipeline
agentkit score # compute composite score
agentkit gate # fail if score < threshold
Configuration
agentkit uses .agentkit.toml for project-level configuration.
agentkit config init # create .agentkit.toml with defaults
agentkit config show # show effective config with sources
agentkit config set gate.min_score 80
agentkit config get gate.min_score
Config Precedence
CLI flags > env vars > project .agentkit.toml > user config > defaults
Profiles
Profiles are named presets for gate thresholds, notify config, and sweep targets. Switch your entire quality policy in one command.
Built-in Presets
| Profile | Min Score | Max Drop | Notify On | Gate |
|---|---|---|---|---|
strict |
85 | 3 | fail | enabled |
balanced |
70 | 10 | never | enabled |
minimal |
50 | 20 | never | disabled |
Usage
# Switch to strict quality standards
agentkit profile use strict
# List all profiles (built-in + user-defined)
agentkit profile list
# Show profile details
agentkit profile show strict
# Run gate with a specific profile
agentkit gate --profile strict
# Create a custom profile based on strict
agentkit profile create myprofile --from strict --min-score 90
# Export a profile as JSON or TOML
agentkit profile export strict --format json
Using Profiles with Commands
All major commands support --profile:
agentkit gate --profile strict
agentkit run --profile balanced
agentkit sweep --profile minimal owner/repo1 owner/repo2
agentkit score --profile balanced
agentkit analyze --profile strict github:owner/repo
Explicit CLI flags always override profile values:
# Uses strict profile but overrides min-score to 99
agentkit gate --profile strict --min-score 99
Commands
agentkit run— run the full pipelineagentkit score— compute composite scoreagentkit gate— fail if score < thresholdagentkit analyze <target>— analyze any GitHub repoagentkit sweep <targets>— batch analyze multiple reposagentkit profile <sub>— manage quality profilesagentkit config <sub>— manage configurationagentkit history— show score historyagentkit leaderboard— compare runs by label
GitHub Actions
Use the agentkit GitHub Action to run quality checks on every PR:
- uses: mikiships/agentkit-cli@v0.7.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
min-score: 70
Or install and run directly:
- uses: actions/checkout@v4
- run: pip install agentkit-cli
- run: agentkit gate --profile strict
See agentkit setup-ci for automated workflow generation.
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.23.0.tar.gz.
File metadata
- Download URL: agentkit_cli-0.23.0.tar.gz
- Upload date:
- Size: 177.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de93a2c94ce9cda99bfe39b3d05be8d780490534741bb2a5310f5abdec6e21a8
|
|
| MD5 |
71c3b8acfd758e97589a0d0fbfa9fd51
|
|
| BLAKE2b-256 |
6a6612b9066efa55653844e161202151234df045bb89219c3b46ed867f46a616
|
File details
Details for the file agentkit_cli-0.23.0-py3-none-any.whl.
File metadata
- Download URL: agentkit_cli-0.23.0-py3-none-any.whl
- Upload date:
- Size: 98.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95650043aaa1984392a00f619dc321fdeeb94a896c75f53aa8346fd4b1bcaf76
|
|
| MD5 |
bd35f07d714505f4b3fb7e789e85a3be
|
|
| BLAKE2b-256 |
84ea98fbddb24e06ef928b09ea2c2fc9a7770b9857491eae54f312a75315a5f6
|