XGML is the eXplainable Governance Markup Language — an open, vendor-neutral standard for AI evidence graphs. Every agent action produces a cryptographic receipt. Receipts chain into provenance graphs. Graphs are verifiable offline, across vendors, and under formal proof.
Every XGML document is a directed acyclic graph of evidence nodes with cryptographic integrity, formal proof obligations, and human-gate annotations.
generated_by, reviewed_by, amends, retracts, depends_on.AUTO_PASS, OWNER_REVIEW, HUMAN_GATE_REQUIRED, CLEARANCE_REQUIRED. Gates are enforced at export time.UNVERIFIED through LEAN_LAKE_BUILD_HASH_CONFIRMED. Ceilings are inherited by downstream nodes.Minimal valid XGML v1.0 document. The schema is stable; tooling emits and validates against this contract.
<?xml version="1.0" encoding="UTF-8"?>
<xgml version="1.0" xmlns="https://xgml.org/ns/1.0">
<header>
<generator>aevion-proofdb-canonical/1.0</generator>
<created_at>2026-06-13T12:00:00Z</created_at>
<schema_hash>sha256:ae7b...</schema_hash>
</header>
<graph root="node-001">
<node id="node-001" type="receipt">
<payload_hash>sha256:3f8a...</payload_hash>
<event_type>aevion.agent.action</event_type>
<actor>aevion-implementer/7</actor>
<timestamp>2026-06-13T12:00:00Z</timestamp>
<claim_ceiling>PRIMARY_ABSTRACT_CONFIRMED</claim_ceiling>
<human_gate>OWNER_REVIEW</human_gate>
</node>
<edge from="node-002" to="node-001" type="generated_by"/>
<edge from="node-001" to="node-003" type="depends_on"/>
</graph>
<proof_obligations>
<obligation node="node-001">
<lean_theorem>Aevion.Receipts.Integrity.receipt_hash_matches_payload</lean_theorem>
<lake_build_hash>sha256:c301f358...</lake_build_hash>
</obligation>
</proof_obligations>
</xgml>
AI governance needs a common evidence format. XGML is the only standard that binds cryptographic receipts, formal proof obligations, and human gates into one verifiable artifact.
| Capability | XGML | SysML v2 | OPA/Rego | SPDX | CycloneDX |
|---|---|---|---|---|---|
| Cryptographic receipt chain | SHA-256 canonical | No | No | Hash only | Hash only |
| Formal proof obligations | Lean 4 theorem refs | No | No | No | No |
| Human-gate annotations | 4-level clearance | No | No | No | No |
| Claim ceiling inheritance | DAG-inherited | No | No | No | No |
| Vendor-neutral verifier | XML + JSON schema | Yes | Yes | Yes | Yes |
| Content-addressed storage | ProofDB | No | No | No | No |
| Offline verification | Yes | Partial | Yes | Yes | Yes |
XGML ships with open-source verifiers, generators, and a conformance suite. Every Aevion receipt is valid XGML.