PUBLIC-KEY-ONLY CLIENTS

Less plumbing.
Explicit trust.

Lightweight Python and TypeScript wrappers for live gate calls and real Ed25519 clearance receipt signature verification. No issuer keys. No legacy verifier fallback.

PYTHON DEPENDENCY
python -m pip install cryptography

TypeScript uses native WebCrypto Ed25519; use a supported Node or browser runtime. It does not require a private key to verify a receipt.

PYTHON
from arkheia import (
    ArkheiaClient, load_json_file, verify_clearance_receipt
)

client = ArkheiaClient()
print(client.clearance_head())

# Your own fresh, signed request — not the sample fixture.
request = load_json_file("mandate-request.json")
result = client.mandate_verify(request)

receipt = load_json_file("clearance-receipt.json")
if not verify_clearance_receipt(receipt):
    raise RuntimeError("Receipt signature invalid; block execution")
# Signature validity alone is NOT permission to execute.
# Enforce the publisher's permit, binding, expiry, and replay rules.
Signature validity is one check, not authorization

The verifier checks the supplied signing rule with the pinned clearance key. The exact closed clearance receipt and execution-permit schemas were not included in the supplied document. Enforce those schemas and signed action-binding, decision, validity, and replay rules before execution.

Client methods

TRANSPORT & PUBLIC SIGNATURE VERIFICATION
Python:     clearance_head(), mandate_verify(request), aegis_evaluate(request)
TypeScript: clearanceHead(), mandateVerify(request), aegisEvaluate(request)

Python:     verify_clearance_receipt(receipt) → bool
TypeScript: await verifyClearanceReceipt(receipt) → boolean

Transport wrappers preserve HTTP failures, reject redirects, cap JSON bodies, and compare both public-key pins before POST. They do not sign actor mandates, sensor observations, or authority approvals.

Download the complete SDK quickstart
Public API contract observed November 28, 2026.View source