AgDR-Phoenix

Atomic Kernel Inference SDK for Phoenix v1.8.12
Developed by the Genesis Glass Foundation (Fondation Genèse Cristal), a federally incorporated Canadian not-for-profit. founding@accountability.ai
"AgDR satisfies a CISO. AgDR satisfies a judge."
What It Does
AgDR-Phoenix seals every AI decision at the exact moment it occurs. Each record carries a PPP Triplet (Provenance, Place, Purpose), a coherence score, a reputation scalar, and a HumanDeltaChain linking machine output to human oversight or escalation.
The result is a tamper-evident, court-admissible decision record with a clear chain of custody from the instant of inference. Zero-knowledge proofs allow selective disclosure to regulators and courts without exposing the underlying reasoning.
Installation
Python (PyPI)
pip install agdr-aki
Rust (crates.io)
cargo add agdr-aki
Build from Source
pip install maturin[patchelf]
git clone https://github.com/aiccountability-source/AgDR-Phoenix
cd AgDR-Phoenix
maturin develop --release
Quick Start
from agdr_aki import AKIEngine, PPPTriplet, HumanDeltaChain
engine = AKIEngine("records.db")
ppp = PPPTriplet(
provenance="Phoenix v1.8 ACME",
place="Toronto CA PIPEDA",
purpose="AgDR"
)
hdc = HumanDeltaChain(
agent_decision_ref="aki_001",
resolved=True,
terminal_node="autonomous"
)
record = engine.capture(
ctx={"claim": "CLM-12345"},
prompt="Process claim #12345",
reasoning_trace={"steps": ["analyze", "decide"]},
output="Approve",
ppp_triplet=ppp,
human_delta_chain=hdc
)
print(record.id)
print("Coherence:", record.coherence_score)
print("Reputation:", record.reputation_scalar)
Zero-Knowledge Proofs
AgDR-Phoenix supports lightweight on-demand zero-knowledge proofs on sealed records.
zk_proof = record.generate_zk_proof(mode="full_validity")
court_pkg = record.to_court_package(include_zk_proof=True)
print(court_pkg)
Properties
- Proves the record is contemporaneous, tamper-evident, PPP-compliant, and correctly signed
- Reveals nothing about the original context, prompt, reasoning trace, or output
- Verification uses only the public Merkle root
- Designed for regulators and courts under PIPEDA and the Canada Evidence Act
Core Concepts
| Concept | Description |
|---|---|
| PPP Triplet | Provenance, Place, Purpose immutable legal anchor recorded at inference time |
| Atomic Kernel Inference (AKI) | Sub-microsecond sealed decision capture at the exact moment of inference |
| HumanDeltaChain | Required fiduciary link tracking human oversight or escalation and enforced at API level |
| Coherence Score | Normalized cosine similarity against the agent's historical spine (0.0 - 1.0) |
| Reputation Scalar | Exponentially weighted moving average of past coherence, provides a longitudinal reliability signal |
| Sealed Record | Tamper-evident post-encryption object with BLAKE3 hash and Ed25519 signature |
| Zero-Knowledge Proof | Selective disclosure of record integrity without revealing decision content |
Evidentiary Architecture
| Layer | Implementation |
|---|---|
| Hashing | BLAKE3 |
| Signing | Ed25519 (downstream of AKI hot path) |
| Chaining | Forward-secret Merkle tree |
| Persistence | Write-Ahead Log (WAL) |
| Degradation | Limitations Act 2002 (Ontario): 2-year basic, 15-year ultimate |
| Admissibility | Canada Evidence Act, portable to EU AI Act (August 2026) |
| Privacy | Zero-knowledge proof layer for selective disclosure |
Distinction from Structural Monitoring
AgDR captures semantic decision provenance: what the agent decided, why, under what authority, and with what confidence, sealed at the moment of inference.
Structural container monitoring (e.g., the AGA standard) records whether the system was running correctly. AgDR records what the system actually decided. Both serve different functions in an AI governance stack.
Specification and Standards
| Resource | Reference |
|---|---|
| Reasoning Capture Methodology v1.0 | ISBN 978-1-7389042-1-1 |
| Library and Archives Canada | Deposited under CC-BY 4.0 |
| Steward | Genesis Glass Foundation, federally incorporated, royalty-free anchor in articles of incorporation |
License
Dual-licensed under Apache 2.0 OR CC0 1.0.
The AgDR open standard is stewarded by the Genesis Glass Foundation (Fondation Genèse Cristal), a federally incorporated Canadian not-for-profit. The royalty-free grant is anchored in the Foundation's articles of incorporation.
Contributing
See CONTRIBUTING.md. All contributions are welcome. The standard is open.
Contact
Genesis Glass Foundation
Resources
Metadata
Release files for agdr-aki 1.8.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agdr_aki-1.8.12.tar.gz | 31.9 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agdr_aki-1.8.12-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details |
| agdr_aki-1.8.12-cp39-abi3-manylinux_2_34_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.34+ x86-64 | Details |
| agdr_aki-1.8.12-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 962.6 kB
Release files / agdr_aki-1.8.12.tar.gz
| Download URL | agdr_aki-1.8.12.tar.gz |
|---|---|
| Size | 31.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd1919f6137a4e3c3ee5a0e7ce2a3c366ef783e95d9434464124a3d3475a0b07
|
|
BLAKE2b-256 checksum How to use checksums |
738f0db4040aba85fdfe415a25116c10bdd828e39f3eb765a156298dc036ba40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 22, 2026.
Transparency logRelease files / agdr_aki-1.8.12-cp39-abi3-win_amd64.whl
| Download URL | agdr_aki-1.8.12-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 256.6 kB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
c3ce4220fcc48a68ed2f2da86788a1c76bfc985d4e25ea8b587e117712b4a3f8
|
|
BLAKE2b-256 checksum How to use checksums |
5e2a242f8e29ac061a34a125c4d95a8f0481b4f2d3c4e6de47ef7ee2dc33049d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 22, 2026.
Transparency logRelease files / agdr_aki-1.8.12-cp39-abi3-manylinux_2_34_x86_64.whl
| Download URL | agdr_aki-1.8.12-cp39-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 358.1 kB |
| Tags | CPython 3.9 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7b42c2566b443b22f7d70fb3156e54b2bad62811032cfb15a1fd5bd1835ed259
|
|
BLAKE2b-256 checksum How to use checksums |
753a7dea42ce313e14244d96cbd2068d2c8dd9c240aa9b56562e2e536f8ff0db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 22, 2026.
Transparency logRelease files / agdr_aki-1.8.12-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | agdr_aki-1.8.12-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 316.0 kB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
52de3a972f271502aceb6351aabd358af930e2d8b55dc76c37e19ce4652cd4df
|
|
BLAKE2b-256 checksum How to use checksums |
dc34ea35017c7406971bcc49c23c17e2e84b44e4f4881f4e866ac350ef27b9b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 22, 2026.
Transparency log