abi-control-core
The foundation contract layer for the ABI ecosystem. Provides 50 locked JSON Schema contracts, an audit trail SDK, and deterministic content fingerprinting (RFC 8785 JCS + SHA-256).
Zero upstream abi-* dependencies. This is Contracts Pack (Layer 1) -- everything else builds on top of it.
Install (after PyPI publication)
pip install abi-control-core
Status: Not yet published to PyPI. Install from source:
pip install -e .from the repo root.
Quick start
from pathlib import Path
from abi_control_core.sdk.validate import validate_json
from abi_control_core.sdk.evidence_pack import EvidencePackBuilder
from abi_control_core.sdk.canonical_hash import canonical_hash_jcs_sha256
# Validate a payload against a locked schema
validate_json(payload, "artifact_manifest.schema.json")
# Build an audit trail artifact
builder = EvidencePackBuilder(base_dir=Path("evidence_packs"), run_id="run-42")
builder.set_manifest({"name": "my-run", "status": "complete"})
builder.add_artifact(b"raw file contents") # content-addressed storage
summary = builder.finalize() # validates, writes hashes, returns summary dict
# Deterministic content fingerprint (RFC 8785 JCS + SHA-256)
digest = canonical_hash_jcs_sha256({"key": "value"})
What's included
- 50 JSON Schema contracts in
src/abi_control_core/contracts/, all locked incontracts.lock.jsonwith SHA-256 hashes for schema integrity verification - Audit trail SDK -- generate, seal, and validate structured audit trail artifacts
- Deterministic content fingerprinting -- RFC 8785 JSON Canonicalization Scheme + SHA-256
- Pydantic domain models -- canonical types shared across the ABI ecosystem
Schema catalog highlights
Core Control Plane: audit trail artifacts, artifact manifests, AICS receipts, budget state and receipts, capability boundary registry, context manifests.
Agent Orchestration: agent profiles, structured agent-to-agent handoff schemas, routing tables, execution records, session lifecycle, telemetry.
Quality & Observability: calibration reports, failure taxonomy, tamper-evident approval log (hash-chained gate execution receipts).
Evaluation & Regression: eval case, fixture, and result schemas; regression gate manifests.
Schema integrity verification
All 50 schemas are locked in contracts.lock.json with SHA-256 hashes. Verify nothing has drifted:
python script/verify.py
ABI ecosystem
abi-control-core is the Contracts Pack (Layer 1). Other ABI packages depend on it, but it depends on none of them. Related packages:
- abi-spec -- specification compiler (Layer 2)
- abi-prd -- structured PRD generation (Layer 2)
- abi-policy -- policy evaluation engine
- abi-evals -- eval runner and golden management
- abi-observability -- OTLP-compliant telemetry
Versioning
Follows Semantic Versioning. Current version: 0.1.4. See CHANGELOG.md for release notes.
License
MIT License (see LICENSE file).
Metadata
Release files for abi-control-core 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| abi_control_core-0.1.4.tar.gz | 171.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| abi_control_core-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 284.3 kB
Release files / abi_control_core-0.1.4.tar.gz
| Download URL | abi_control_core-0.1.4.tar.gz |
|---|---|
| Size | 171.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
deeecb17430bef2cb8ad42e9563e0cf9e23632f9f49f83932e587ad9db4b7ae5
|
|
BLAKE2b-256 checksum How to use checksums |
8bbe4c5270c5df55cb55e91d7c9578d04d402c984ad390ce820712cbf363daaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 14, 2026.
Transparency logRelease files / abi_control_core-0.1.4-py3-none-any.whl
| Download URL | abi_control_core-0.1.4-py3-none-any.whl |
|---|---|
| Size | 112.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a8cd3f2a6939082d64a5a2928b4da9743b91163796e97e2e2369725c88c9a3f
|
|
BLAKE2b-256 checksum How to use checksums |
66740b974299443baf11b121e737e8082eb94b8d0cdfa1384de95bf82813e2fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 14, 2026.
Transparency logSecurity for abi-control-core 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for abi_control_core-0.1.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.