The construction
Three primitives, stacked in order. Each one is independently verifiable. Together they produce an evidence bundle that no operator — including us — can forge or alter after the fact.
Chain
Every log entry and computation extends the chain: SHA-256(prev_stream ‖ new_data). Once written, nothing can be removed or reordered without breaking every subsequent hash.
Key
Each chain snapshot is signed by a key that lives only inside the Nitro Enclave. Its public counterpart is bound into the NSM attestation document — a verifier can confirm the signature originated inside the measured binary.
Verify
Ship the bundle to any auditor. They run apex_verify.py against it — no access to your enclave, no call to VAR-controlled endpoints. The math either checks out or it doesn't.
Where it matters
AI agents are executing trades, auto-generating Suspicious Activity Reports, managing treasury — each action irreversible and potentially subject to regulatory review. When a federal auditor asks "prove your AI didn't alter this SAR after generation," there is currently no cryptographic answer. VAR gives you one.
Security teams are drowning in AI-generated findings they cannot verify at the rate they arrive. The next scarce resource isn't more output — it's trustworthy attribution. VAR's evidence chain records exactly what process produced a finding, on what inputs, under what constraints.
Start in five minutes
Simulation mode activates automatically when /dev/nsm is absent — you get a real hash chain and real Ed25519 signatures, with mock PCR measurements in place of hardware attestation.
# 1. Start the gateway docker run -p 127.0.0.1:8765:8765 \ ghcr.io/kennethkabogo/var:latest # 2. Log an agent action curl -X POST http://127.0.0.1:8765/log \ -d '{"msg": "agent started"}' # 3. Run an attested computation curl -X POST http://127.0.0.1:8765/compute \ -d '{"fn": "echo", "inputs": {"value": 42}}' # 4. Seal and verify the bundle python3 tools/apex_verify.py --self-test
VAR is in active development with design partners. If you're building AI agents in financial infrastructure or security workflows, we want to talk.