cogext-compliance
Check whether an AI agent implementation conforms to the COGEXT Commitment Standard v0.1.
Install
pip install cogext-compliance
Usage
Check a file and get a 0–100 compliance score:
cogext-compliance check path/to/your/agent.py
COGEXT Compliance Report
┏━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Requirement ┃ Status ┃ Score ┃ Matched ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Commitment Object │ pass │ 25.0 │ action, recipient, deadline │
│ State Machine │ partial │ 12.0 │ open, due │
└────────────────────────┴─────────┴───────┴───────────────────────────────┘
Score: 62.0/100 — not compliant (threshold 80)
Generate a Markdown badge for your README:
cogext-compliance badge path/to/your/agent.py

Add --threshold to change the pass mark (default 80).
What it tests
Six requirements from the standard, weighted by importance:
| # | Requirement | Weight |
|---|---|---|
| 1 | Commitment Object | 25 |
| 2 | State Machine | 20 |
| 3 | Verifier Query | 20 |
| 4 | Evidence Protocol | 15 |
| 5 | Audit Receipt | 10 |
| 6 | Reliability Score | 10 |
Read this before you trust a score. v0.1 is a static keyword check: it scans source text for the identifiers and vocabulary the standard requires. It does not execute your code, and it cannot tell whether your state machine actually enforces its transitions. A file that merely mentions
fulfilled,failedandexpiredwill score points for the State Machine requirement without implementing one. Treat a high score as a hint that the vocabulary is present, not as proof of conformance.
Links
- Standard: https://cogextai.com/standard
- Adoption index: https://cogextai.com/index
License
MIT — see LICENSE.
Release files for cogext-compliance 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cogext_compliance-0.1.0.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cogext_compliance-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.5 kB
Release files / cogext_compliance-0.1.0.tar.gz
| Download URL | cogext_compliance-0.1.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
263d43ee0adcd5d0fd402ac8c0813a88bf0f23623466b3fa9f6304658dabf607
|
|
BLAKE2b-256 checksum How to use checksums |
c857e39369dfa842571baf4afd23a9347b61dfb182063a6ebfb87f6fc7037051
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / cogext_compliance-0.1.0-py3-none-any.whl
| Download URL | cogext_compliance-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b54399b7bbf211b9502f397b81646e88bf2bd07ad1fd838aa03efdf718bc15ed
|
|
BLAKE2b-256 checksum How to use checksums |
9de8d60cc81f6e400b3e867f0fd125f25e3bbbb3f15efc8e96e5261179a6f73f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|