The AI Integrity & Verification Protocol.
Project description
AIXV - AI Integrity eXchange & Verification
AIXV is an open standard for AI artifact attestation, provenance, rollback, compromise detection, and investigation.
In practical terms, AIXV helps organizations answer high-stakes questions before deploying or accepting AI artifacts:
- What exactly is this artifact?
- Who produced or approved it?
- What evidence supports trusting it?
- Is it currently affected by an advisory or policy violation?
- If compromised, what is the safest rollback path?
AIXV is built for three audiences that need shared, verifiable answers:
- Technical teams: deterministic verification and machine-readable admission decisions.
- Enterprise and public-sector risk owners: auditable evidence, policy controls, and incident traceability.
- Policy, governance, and assurance functions: explicit trust assumptions, conformance checks, and compatibility contracts.
AIXV composes Sigstore cryptographic primitives and adds AI-native semantics:
- Artifact typing,
- Lineage graphs,
- ML-specific attestations,
- Advisory/recall workflows,
- Policy-driven verification.
Release Posture
Current maturity: Pre-Alpha
This repository is a functional preview of the AIXV standard, but not yet a final ratified standard release.
Stable enough for pilot evaluation
- Core primitives and schemas:
SignedRecord(aixv.signed-record/v1)VerifyPolicy(aixv.policy/v1)AdmissionDecision
- Fail-closed verification and policy semantics.
- Deterministic JSON output mode (
--json) with tested contract behavior. - CI quality gates (
ruff,mypy,pytest, build).
Still evolving
- Broader conformance vector coverage and certification workflow.
- Formal governance and external audit signals.
- Wider ecosystem integrations and migration tooling.
Adoption Signals
For security and procurement reviews, the strongest immediate signals are:
aixv conformance --jsonproduces a machine-readable conformance report.docs/THREAT_MODEL.md,SECURITY.md, anddocs/COMPATIBILITY.mddefine trust, reporting, and compatibility expectations.- CI enforces lint, typing, tests, build, and dedicated conformance workflow checks.
- Scorecard and CodeQL workflows provide continuous security posture visibility in GitHub Security.
Standards and Security Docs
docs/AIXV_STANDARD.mddocs/NORMATIVE_CORE.mddocs/QUALITY.mddocs/THREAT_MODEL.mddocs/COMPATIBILITY.mddocs/TERMINOLOGY.mddocs/REGISTRIES.mddocs/ASSURANCE_LEVELS.mddocs/CONFORMANCE.mddocs/GOVERNANCE.mddocs/REPO_CONTROLS.mdSECURITY.mdRELEASE.md
Installation
pip install aixv
Quickstart (Core Flow)
# 1) Sign an artifact
aixv sign model.safetensors --identity-token-env SIGSTORE_ID_TOKEN
# 2) Create and sign a policy record
aixv policy create --input policy.json --sign
# 3) Verify artifact with signed policy + trusted policy signer
aixv verify model.safetensors \
--policy .aixv/policies/policy.json \
--policy-trusted-subject security-policy@aixv.org \
--assurance-level level-2 \
--json
# 4) Run conformance checks
aixv conformance --json
# 5) Optional: enforce signed-and-trusted attestations in lineage/export flows
aixv provenance model.safetensors \
--require-signed-attestations \
--trusted-attestation-subject ci-attestations@aixv.org \
--json
CLI Surface
# Version
aixv version
# Signing
aixv sign model.safetensors --identity-token-env SIGSTORE_ID_TOKEN
# Verification
aixv verify model.safetensors --identity alice@example.com --issuer https://accounts.google.com
# Attestation
aixv attest model.safetensors --predicate training --input training.json
# Provenance
aixv provenance model.safetensors --depth 3
aixv provenance model.safetensors --view explain --depth 3 --json
# Advisory
aixv advisory create --advisory-id ADV-2026-0001 --severity critical --input advisory.json --sign
aixv advisory verify .aixv/advisories/ADV-2026-0001.json --trusted-subject security@aixv.org
aixv advisory sync --feed advisory-feed.json --trusted-subject security@aixv.org --max-bundle-age-days 30
# Policy
aixv policy create --input policy.json --sign
aixv policy verify .aixv/policies/policy.json --trusted-subject security-policy@aixv.org
aixv policy template --assurance-level level-2 --json
aixv policy migrate --input policy.json --to-assurance-level level-3 --max-bundle-age-days 30
# Record
aixv record create --kind waiver --record-id WVR-2026-01 --input waiver.json --sign
aixv record verify .aixv/policies/policy.json --kind policy --trusted-subject security-policy@aixv.org
# Bundle
aixv bundle create --input bundle.json --sign
aixv bundle verify .aixv/records/bundle/bundle-main.json --trusted-subject release@aixv.org
# Conformance
aixv conformance --json
# Rollback
aixv rollback model-v2.safetensors --to sha256:... --identity-token-env SIGSTORE_ID_TOKEN
# Export
aixv export model.safetensors --format in-toto
aixv export model.safetensors --format slsa --json
aixv export model.safetensors --format ml-bom --json
Policy Example
{
"policy_type": "aixv.policy/v1",
"allow_subjects": ["alice@example.com"],
"allow_issuers": ["https://accounts.google.com"],
"advisory_allow_subjects": ["security@aixv.org"],
"max_bundle_age_days": 30,
"deny_advisory_severity_at_or_above": "high",
"require_no_active_advisories": false,
"require_signed_advisories": true
}
Development
git clone https://github.com/aixv-org/aixv.git
cd aixv
python3 -m venv .venv
. .venv/bin/activate
pip install -e '.[dev]'
Quality Gates
ruff check .
ruff format --check .
mypy src
pytest
python -m build
Project details
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 aixv-0.2.1.tar.gz.
File metadata
- Download URL: aixv-0.2.1.tar.gz
- Upload date:
- Size: 48.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67ee59e27f8daef464671327aa9bfdffa8d4104c8b46d43d2c856b7f84091492
|
|
| MD5 |
135b2229910c2998f0f0e817463ec82e
|
|
| BLAKE2b-256 |
6a0f12129a6b7c579b2c095dd419f282f5a1b276cd8de8b5bca50935292c1da1
|
Provenance
The following attestation bundles were made for aixv-0.2.1.tar.gz:
Publisher:
publish.yml on AIXV-org/aixv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aixv-0.2.1.tar.gz -
Subject digest:
67ee59e27f8daef464671327aa9bfdffa8d4104c8b46d43d2c856b7f84091492 - Sigstore transparency entry: 956279687
- Sigstore integration time:
-
Permalink:
AIXV-org/aixv@a7f1c5fe1ee42c814fb5efa66a805e215b7df4e4 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/AIXV-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a7f1c5fe1ee42c814fb5efa66a805e215b7df4e4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file aixv-0.2.1-py3-none-any.whl.
File metadata
- Download URL: aixv-0.2.1-py3-none-any.whl
- Upload date:
- Size: 30.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c689c8c59e990064d720e6f159ea7deb12626934256587a959b2f91b4fa29789
|
|
| MD5 |
7e773db543abc0e8eb37b568a0b4047f
|
|
| BLAKE2b-256 |
0193a9ed31ab398c67d0dd68fc57663bedb509d30b89103ce5bd3938b7136e79
|
Provenance
The following attestation bundles were made for aixv-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on AIXV-org/aixv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aixv-0.2.1-py3-none-any.whl -
Subject digest:
c689c8c59e990064d720e6f159ea7deb12626934256587a959b2f91b4fa29789 - Sigstore transparency entry: 956279690
- Sigstore integration time:
-
Permalink:
AIXV-org/aixv@a7f1c5fe1ee42c814fb5efa66a805e215b7df4e4 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/AIXV-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a7f1c5fe1ee42c814fb5efa66a805e215b7df4e4 -
Trigger Event:
push
-
Statement type: