Skip to main content

Atomic Kernel Inference SDK for Phoenix v1.8 Ultra

Project description

AKI + AgDR

Atomic Kernel Inference seals decisions at the moment of inference. Atomic Genesis Decision Record produces court-admissible proof. Together they create a stakeholder shield for regulated AI.

Why This Matters

AI decisions face regulatory scrutiny. Boards need defensible evidence when algorithms impact people. AKI and AgDR deliver cryptographic accountability that holds up in court.

What Is AKI?

AKI is the inference engine. It captures context, reasoning, and output at the exact moment a decision is made. Every capture is sealed with Ed25519 signatures and BLAKE3 hashes.

What Is AgDR?

AgDR is the decision record. It produces a tamper-evident, timestamped artifact that regulators can verify. Each record includes provenance, purpose, and cryptographic proof of integrity.

The Stakeholder Shield

Court-admissible records protect decision-makers. When AI systems face audit or litigation, AgDR provides the evidence trail. Cryptographic sealing means no one can alter the record after the fact.

Installation

Python Users

pip install agdr-aki

Rust Users

[dependencies] agdr-aki = "1.8"

Quick Start

Python Example

from agdr_aki import AKIEngine, PPPTriplet, HumanDeltaChain

engine = AKIEngine(":memory:") ppp = PPPTriplet("audit", "compliance", "regulatory_review") hdc = HumanDeltaChain("decision_123", True, "approved")

record = engine.capture( ctx={"user": "reviewer"}, prompt="Approve loan application?", reasoning_trace={"risk_score": 0.23, "policy_match": True}, output="approved", ppp_triplet=ppp, human_delta_chain=hdc )

print(f"Sealed: {record.hash}") print(f"Public key: {engine.public_key_hex()}")

Rust Example

use agdr_aki::{AKIEngine, monotonic_raw_nanos};

let mut engine = AKIEngine::new(":memory:".into()); let timestamp = monotonic_raw_nanos(); println!("Monotonic timestamp: {}", timestamp);

Technical Details

Cryptographic Guarantees

  • Ed25519 digital signatures for authenticity
  • BLAKE3 hashing for integrity
  • Merkle root chaining for sequence verification
  • CLOCK_MONOTONIC_RAW timestamps for tamper resistance

Compliance Alignment

  • PIPEDA: Audit trail for personal information handling
  • EU AI Act: Documentation for high-risk AI systems
  • Canada Evidence Act: Cryptographic proof admissible in court

Performance

Rust core achieved a 0.62 µs latency floor in testing. High-throughput systems scale linearly with core count. Prebuilt wheels require Python 3.12+. Source builds support 3.9+.

For Developers

Build from Source

Requires Rust toolchain + Python 3.8+ git clone https://github.com/aiccountability-source/AgDR-Phoenix cd AgDR-Phoenix python -m maturin develop # For Python testing cargo build --release # For Rust-only usage

Feature Flags

  • python (default): Enables PyO3 bindings
  • Build without Python: cargo build --no-default-features

License

Licensed under either of:

  • Apache License, Version 2.0
  • CC0 1.0 Universal

At your option. See LICENSE-APACHE and LICENSE-CC0 for details.

About Genesis Glass Foundation

Genesis Glass Foundation is a federally incorporated Canadian not-for-profit. We steward open standards for cryptographic accountability in AI systems. Our work supports ethical governance through verifiable decision records.

accountability.ai

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

agdr_aki-1.8.2.tar.gz (249.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agdr_aki-1.8.2-cp312-abi3-win_amd64.whl (252.7 kB view details)

Uploaded CPython 3.12+Windows x86-64

File details

Details for the file agdr_aki-1.8.2.tar.gz.

File metadata

  • Download URL: agdr_aki-1.8.2.tar.gz
  • Upload date:
  • Size: 249.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.13.1

File hashes

Hashes for agdr_aki-1.8.2.tar.gz
Algorithm Hash digest
SHA256 345b529ddbb0ee47a4c0b0d32d6123f7f0342d0ac317ae8e420144cbe429bfb5
MD5 86851c5ec30bc836fdb1533b7628618f
BLAKE2b-256 a5179be4d7e9ff40949129f9f4ceac37ee0ab0f212a110c6739a8e0d3ec21041

See more details on using hashes here.

File details

Details for the file agdr_aki-1.8.2-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: agdr_aki-1.8.2-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 252.7 kB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.13.1

File hashes

Hashes for agdr_aki-1.8.2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c03294694c144d68c9f968ea806baa1ba559395c546f76ce3a3d6f93f8e1d399
MD5 0bb8ba0fbc474fc1169cf5dba22dda08
BLAKE2b-256 bdcde2e652916c9ee6c16296f75676b3ef7fd3245e7df77d98a377d343994eba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page