All posts
0G NetworkSeptember 30, 2026·8 min read

Inside EVIDIQ's 0G TEE Verifiable AI Attestation Pipeline

A trust score with no audit trail is just a feeling. When your agent is about to wire USDT0 to a stranger's endpoint, you don't want a vendor's promise — you want a receipt you can re-derive yourself, byte for byte, in 2026. That's why we built EVIDIQ's whole verification chain around 0G TEE verifiable AI attestation.

What 0G TEE Verifiable AI Attestation Has to Mean for a Machine

0G TEE verifiable AI attestation is the end-to-end pipeline EVIDIQ uses to make every trust report auditable. The verdict, its canonical evidence, and the AI risk analysis are hashed with keccak256, anchored on 0G Storage, run inside a Trusted Execution Environment, and signed with an EIP-191 key — so anyone can re-derive the exact same proof.

The word "verifiable" gets thrown around like confetti. A PDF screenshot of a JSON blob, a Notion page, a Discord screenshot — none of it counts. A machine can't reload those artifacts, re-hash them, or check whether someone swapped the wording after the fact.

When we say 0G TEE verifiable AI attestation, we mean a specific chain of cryptographic and hardware-backed claims that a second machine can independently reproduce. The verdict, the evidence it was computed from, and the AI analysis that justified it are all bound together in a way that survives being copied, forwarded, and re-checked by anyone with curl.

Here's the thing: a trust report that only its issuer can verify is essentially an opinion with better formatting. If you can't reproduce the bytes, you're trusting the messenger. EVIDIQ refuses to ship that product.

So in 2026, 0G TEE verifiable AI attestation means four concrete things have to be true at once:

  • The canonical report has a deterministic hash.
  • That hash is anchored somewhere no one party can quietly edit.
  • The AI risk analysis was produced inside hardware you can prove didn't tamper with the prompt or the model.
  • And the whole bundle is signed by a key whose holder is publicly recoverable.

Skip any one of those and the chain breaks. We'll walk through each link next.

[IMAGE_PROMPT: A modern flat illustration showing a four-link chain rendered as connected digital blocks on a soft teal-to-violet gradient. Each link contains a small icon: a keccak hash symbol, a 0G storage cube, a microchip with a shield for the TEE, and a signature key. A subtle hex pattern floats in the background. Developer aesthetic, minimal, no text, no real brand logos.]

Our pipeline doesn't rely on convention or "we promise." It relies on four deterministic steps. We chose each one because there's a specific failure mode it kills.

  1. Canonicalize the report. Before anything gets hashed, the JSON output (identity score, capability score, reputation score, risk score, recommendation) is serialized with a strict, stable schema. Field order matters. Whitespace matters. If two callers re-fetch the same evidence and produce different bytes, the whole chain collapses, so we serialize canonically.

  2. Hash it with keccak256. That canonical byte string gets fed into keccak256 to produce a 32-byte digest. This is the fingerprint. If anyone edits a single comma in the report, the hash changes completely.

  3. Anchor the hash on 0G Storage. The hash — and the evidence bundle it commits to — is submitted to 0G Storage on mainnet, which returns an on-chain transaction reference. Now the digest isn't just locally computed; it's bound to a public ledger nobody can rewrite. The EVIDIQ Sentinel docs describe how our probe collects the evidence that goes into this anchor.

  4. Sign with EIP-191. The EVIDIQ Notary signs the canonical hash with an EIP-191 personal-sign scheme, producing a recoverable signature. Anyone with the signed blob and the hash can pull ecrecover and confirm the signer address. The full signing flow lives in the EVIDIQ Notary docs.

What breaks if you skip step 1? Two clients hash different bytes of the "same" report and end up with different proofs. Step 2 skipped? No fingerprint, no anchor, no signature. Step 3 skipped? The hash lives only on our server and we can swap it. Step 4 skipped? Nobody outside our org can tell who signed it. Each link is load-bearing.

What the TEE Actually Buys You

The third link is the one people understand least, so let's slow down on it.

A Trusted Execution Environment is a sealed hardware region — a region whose contents the host OS, the cloud operator, and the application vendor itself can't read or modify mid-flight. When our AI risk analysis runs GLM-5.2 inside a TEE on 0G Compute, the attestation includes:

  • The provider's wallet address (who actually ran the inference).
  • A request id binding the inference to the report hash.
  • A hardware attestation quote proving the binary was loaded unmodified.

Compare that to "we POSTed to an OpenAI-compatible endpoint and pasted the response into a JSON field." That second workflow has zero guarantees. The model could have been a cheaper cousin. The system prompt could have been edited to flatter the requester. The temperature could have been cranked to hallucinate a favorable verdict. You have nothing to check.

What a TEE buys you, concretely:

  • The model weights loaded are the model weights signed at boot.
  • The prompt that reached the model is provably the prompt the caller submitted.
  • The output text is bound to a specific hardware identity, not a faceless API key.
  • The provider address in the attestation can be cross-checked against the operator's registered stake.

This is why 0G TEE verifiable AI attestation isn't a marketing badge. It's the difference between "trust our word that we ran the right model" and "here's a hardware quote; you can verify it independently." The EVIDIQ docs page links the full reference architecture, and the EVIDIQ Operator docs show how operators register the address that ends up inside the TEE attestation.

In 2026, the gap matters. Agents are moving real value on X Layer. A hallucinated risk verdict isn't embarrassing anymore — it's a wallet drain.

How to Re-Verify a Report Yourself, Right Now

[IMAGE_PROMPT: A modern flat illustration of a developer terminal window floating in soft teal space. The terminal shows stylized lines of code, a green checkmark for a successful verification, and abstract hex data streams around it. A small key icon and a faint 0G-inspired cube sit in the background. No real brand logos, no real text other than placeholder symbols, developer-aesthetic.]

A receipt you can't re-verify isn't a receipt. Here's the exact sequence we use internally, and that any third party can run with curl, ethers, and a couple of free RPC endpoints. This is exactly what 0G TEE verifiable AI attestation is for: outside verification, not inside trust.

  1. Pull the evidence bundle by its 0G root hash. Every EVIDIQ report carries the 0G Storage root hash in its header. Fetch the bundle from 0G's retrieval API and confirm it round-trips to the same root.

  2. Re-canonicalize the report. Take the JSON, run it through the same canonical serializer we publish in the EVIDIQ docs. Field order, number formatting, no trailing whitespace. If your bytes don't match the ones inside the evidence bundle, stop — the report was edited.

  3. Recompute the keccak256 hash. keccak256(canonical_bytes) should equal the digest recorded in the anchored bundle. Mismatch means someone changed the report after the fact.

  4. Recover the signer from the EIP-191 signature. Take the hash, the signature, and call ecrecover (or its ethers equivalent). The returned address must match the public EVIDIQ Notary address. If it doesn't, the signature was forged or signed by a different key.

  5. Cross-check the TEE attestation. The risk-analysis record includes the provider address and request id from the 0G Compute TEE quote. Verify both fields exist, that the request id matches your report's id, and that the provider address is one our EVIDIQ Operator docs registry recognizes.

If all five pass, you've independently reproduced our verdict from raw bytes — no phone-home to EVIDIQ, no trust in our CDN, no "trust the dashboard." We made sure the math is simple on purpose. EVIDIQ is the verdict; the bytes are the proof.

A practical tip: pin the EVIDIQ Notary address and the canonical serializer in your own code from day one. Don't fetch them from us at verification time — that defeats the point. The whole pipeline only works if your verifier is self-contained.

Frequently Asked Questions

The Agent Skill at evidiq.dev/skill.md and the MCP install tools (how_to_install, get_evidiq_skill) are free. The verify_agent tool is paid per call via x402 — a 402 challenge settles on X Layer in USDT0. No subscription, no seat fee.

Give your agent the trust skill:

curl -s https://evidiq.dev/skill.md
E

EVIDIQ Team

The EVIDIQ team builds the trust layer for the AI agent economy — verifying agent identity and capability, scoring risk, and anchoring every verdict on-chain so agents can decide who to trust before value moves.

More from EVIDIQ Team →
How EVIDIQ Builds 0G TEE Verifiable AI Attestation — EVIDIQ