Catalog PyPI
PACKAGE EXPLORERView in registry

agdr-aki

PyPI

AgDR-AKI: Sub-microsecond AI accountability SDK. Court-admissible forensic records (PPP Triplet) with cryptographic proof for regulated AI (EU AI Act, Canada Evidence Act).

agdrai-accountabilityai-governanceakicanada-compliancecourt-admissiblecryptographic-auditdeterministic-aieu-ai-actforensic-loggingkernel-inferenceppp-tripletprovenance-place-purposerust-pythonzero-latency
Versions collected1
Direct dependencies1From release 1.8.12
Last observed20 Oct, 21:21 UTC

README

Version 1.8.12 documentation

AgDR-Phoenix Version PyPI CI License: Apache 2.0 License: CC0 1.0 Runtime: Rust + PyO3 Stewarded by GGF

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

ConceptDescription
PPP TripletProvenance, Place, Purpose immutable legal anchor recorded at inference time
Atomic Kernel Inference (AKI)Sub-microsecond sealed decision capture at the exact moment of inference
HumanDeltaChainRequired fiduciary link tracking human oversight or escalation and enforced at API level
Coherence ScoreNormalized cosine similarity against the agent's historical spine (0.0 - 1.0)
Reputation ScalarExponentially weighted moving average of past coherence, provides a longitudinal reliability signal
Sealed RecordTamper-evident post-encryption object with BLAKE3 hash and Ed25519 signature
Zero-Knowledge ProofSelective disclosure of record integrity without revealing decision content

Evidentiary Architecture

LayerImplementation
HashingBLAKE3
SigningEd25519 (downstream of AKI hot path)
ChainingForward-secret Merkle tree
PersistenceWrite-Ahead Log (WAL)
DegradationLimitations Act 2002 (Ontario): 2-year basic, 15-year ultimate
AdmissibilityCanada Evidence Act, portable to EU AI Act (August 2026)
PrivacyZero-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

ResourceReference
Reasoning Capture Methodology v1.0ISBN 978-1-7389042-1-1
Library and Archives CanadaDeposited under CC-BY 4.0
StewardGenesis 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

founding@accountability.ai

https://accountability.ai

Resources

Downloads & popularity

4downloads
1-day window · source-reported counts20 Oct 2026
2512.50
2026-07-24: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-07-24–2026-07-242026-07-27: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-07-27–2026-07-272026-07-31: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-07-31–2026-07-312026-08-02: 2 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-02–2026-08-022026-08-03: 8 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-03–2026-08-032026-08-04: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-04–2026-08-042026-08-09: 6 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-09–2026-08-092026-08-12: 7 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-12–2026-08-122026-08-13: 6 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-13–2026-08-132026-08-14: 11 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-14–2026-08-142026-08-15: 6 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-15–2026-08-152026-08-17: 4 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-17–2026-08-172026-08-20: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-20–2026-08-202026-08-21: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-21–2026-08-212026-08-23: 2 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-23–2026-08-232026-08-24: 10 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-24–2026-08-242026-08-28: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-28–2026-08-282026-08-30: 6 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-30–2026-08-302026-08-31: 2 · observed 2026-10-21T15:08:10.7532400Z · period 2026-08-31–2026-08-312026-09-01: 2 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-01–2026-09-012026-09-06: 23 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-06–2026-09-062026-09-07: 3 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-07–2026-09-072026-09-10: 2 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-10–2026-09-102026-09-12: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-12–2026-09-122026-09-13: 19 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-13–2026-09-132026-09-14: 7 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-14–2026-09-142026-09-15: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-15–2026-09-152026-09-17: 3 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-17–2026-09-172026-09-18: 17 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-18–2026-09-182026-09-20: 25 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-20–2026-09-202026-09-21: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-21–2026-09-212026-09-24: 2 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-24–2026-09-242026-09-26: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-26–2026-09-262026-09-27: 2 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-27–2026-09-272026-09-28: 3 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-28–2026-09-282026-09-30: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-09-30–2026-09-302026-10-02: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-10-02–2026-10-022026-10-03: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-10-03–2026-10-032026-10-06: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-10-06–2026-10-062026-10-09: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-10-09–2026-10-092026-10-12: 2 · observed 2026-10-21T15:08:10.7532400Z · period 2026-10-12–2026-10-122026-10-13: 4 · observed 2026-10-21T15:08:10.7532400Z · period 2026-10-13–2026-10-132026-10-15: 2 · observed 2026-10-21T15:08:10.7532400Z · period 2026-10-15–2026-10-152026-10-17: 2 · observed 2026-10-21T15:08:10.7532400Z · period 2026-10-17–2026-10-172026-10-19: 1 · observed 2026-10-21T15:08:10.7532400Z · period 2026-10-19–2026-10-192026-10-20: 4 · observed 2026-10-21T15:08:10.7532400Z · period 2026-10-20–2026-10-20
24 Jul20 Oct

pypistats · 46 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-20 – 2026-10-2042026-10-21T15:08:10.7532400Z
2026-10-19 – 2026-10-1912026-10-21T15:08:10.7532400Z
2026-10-17 – 2026-10-1722026-10-21T15:08:10.7532400Z
2026-10-15 – 2026-10-1522026-10-21T15:08:10.7532400Z
2026-10-13 – 2026-10-1342026-10-21T15:08:10.7532400Z
2026-10-12 – 2026-10-1222026-10-21T15:08:10.7532400Z
2026-10-09 – 2026-10-0912026-10-21T15:08:10.7532400Z
2026-10-06 – 2026-10-0612026-10-21T15:08:10.7532400Z
2026-10-03 – 2026-10-0312026-10-21T15:08:10.7532400Z
2026-10-02 – 2026-10-0212026-10-21T15:08:10.7532400Z
2026-09-30 – 2026-09-3012026-10-21T15:08:10.7532400Z
2026-09-28 – 2026-09-2832026-10-21T15:08:10.7532400Z
2026-09-27 – 2026-09-2722026-10-21T15:08:10.7532400Z
2026-09-26 – 2026-09-2612026-10-21T15:08:10.7532400Z
2026-09-24 – 2026-09-2422026-10-21T15:08:10.7532400Z
2026-09-21 – 2026-09-2112026-10-21T15:08:10.7532400Z
2026-09-20 – 2026-09-20252026-10-21T15:08:10.7532400Z
2026-09-18 – 2026-09-18172026-10-21T15:08:10.7532400Z
2026-09-17 – 2026-09-1732026-10-21T15:08:10.7532400Z
2026-09-15 – 2026-09-1512026-10-21T15:08:10.7532400Z
2026-09-14 – 2026-09-1472026-10-21T15:08:10.7532400Z
2026-09-13 – 2026-09-13192026-10-21T15:08:10.7532400Z
2026-09-12 – 2026-09-1212026-10-21T15:08:10.7532400Z
2026-09-10 – 2026-09-1022026-10-21T15:08:10.7532400Z
2026-09-07 – 2026-09-0732026-10-21T15:08:10.7532400Z
2026-09-06 – 2026-09-06232026-10-21T15:08:10.7532400Z
2026-09-01 – 2026-09-0122026-10-21T15:08:10.7532400Z
2026-08-31 – 2026-08-3122026-10-21T15:08:10.7532400Z
2026-08-30 – 2026-08-3062026-10-21T15:08:10.7532400Z
2026-08-28 – 2026-08-2812026-10-21T15:08:10.7532400Z
2026-08-24 – 2026-08-24102026-10-21T15:08:10.7532400Z
2026-08-23 – 2026-08-2322026-10-21T15:08:10.7532400Z
2026-08-21 – 2026-08-2112026-10-21T15:08:10.7532400Z
2026-08-20 – 2026-08-2012026-10-21T15:08:10.7532400Z
2026-08-17 – 2026-08-1742026-10-21T15:08:10.7532400Z
2026-08-15 – 2026-08-1562026-10-21T15:08:10.7532400Z
2026-08-14 – 2026-08-14112026-10-21T15:08:10.7532400Z
2026-08-13 – 2026-08-1362026-10-21T15:08:10.7532400Z
2026-08-12 – 2026-08-1272026-10-21T15:08:10.7532400Z
2026-08-09 – 2026-08-0962026-10-21T15:08:10.7532400Z
2026-08-04 – 2026-08-0412026-10-21T15:08:10.7532400Z
2026-08-03 – 2026-08-0382026-10-21T15:08:10.7532400Z
2026-08-02 – 2026-08-0222026-10-21T15:08:10.7532400Z
2026-07-31 – 2026-07-3112026-10-21T15:08:10.7532400Z
2026-07-27 – 2026-07-2712026-10-21T15:08:10.7532400Z
2026-07-24 – 2026-07-2412026-10-21T15:08:10.7532400Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.8.1222 May 20261

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:21 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:2a937aca837bb92ee0f446dbb5519160a5a3ee7c152d2fc84be32385f809c1f2