AgDR, Phoenix v1.8, AI accountability, atomic kernel inference, AKI, BLAKE3, Ed25519, PPP triplet, Provenance Place Purpose, court-admissible AI, Canada Evidence Act, CBCA fiduciary, Genesis Glass Foundation, AI governance, Rust SDK, getting started, implementation guide

AgDR-Phoenix v1.8 · Implementation Guide

Initialize Accountability.

Deploy the Atomic Governance Decision Record in three steps. Move from black-box inference to provable, court-admissible system integrity.

Step 01

Install the AgDR Kernel

AgDR requires a low-latency environment. Choose your integration path:

Option A: Via Cargo (Published Crate)
[dependencies]
agdr-aki = "1.8"
Option B: Python via PyPI
pip install agdr-aki

Requires Python 3.10+. Prebuilt wheels for Windows x64 (Python 3.12+). Other platforms build from source — requires Rust toolchain. View on PyPI

Option C: Build from Source (Reference Implementation)

Clone the AgDR-Phoenix SDK — the canonical Rust and PyO3 implementation of AgDR v1.8:

git clone https://github.com/aiccountability-source/AgDR-Phoenix.git
cd AgDR-Phoenix
cargo build --release
Requires Rust 1.75 or later. View complete build prerequisites
Step 02

Define the PPP Triplet

Every inference must be preceded by a Purpose, Place, and Person triplet. This is the cryptographic handshake for accountability.

use agdr_aki::{AgDR, Provenance, Place, Purpose};

let record = AgDR::new(
    Provenance::from("High-risk credit evaluation"),
    Place::from("Compute-Node-Alpha-East"),
    Purpose::from("FOI-7702")
);

The PPP Triplet binds contextual metadata to each record at creation, satisfying the Provenance, Place, Purpose requirement for legal admissibility under Canada Evidence Act section 31.1.

Step 03

Commit the Inference

The Atomic Kernel Inference ensures that the record is hashed and signed before the AI output is released to the requester.

let output = record.seal(|| {
    // Your inference logic here
    model.predict(input_features)
})?;

// Record is now immutable and cryptographically sealed
println!("Root hash: {}", output.root_hash());
println!("Signature: {}", output.signature());
Verify Your Installation

Confirm your environment is correctly configured:

cargo test --package agdr_aki -- aki_basic_inference --nocapture
Expected output: test result: ok. 1 passed; 0 failed

Next Steps

Continue your AgDR integration journey: