← Documentation

EVIDIQ Vault

Governed, tamper-evident memory and audit trail for autonomous AI agents, anchored on 0G. Record agent actions, hash-chain sequences, seal Merkle segments, redact sensitive payloads via tombstoning without breaking hash chains, and audit continuity across namespaces.

Live on OKX.AI

EVIDIQ Vault

Agent #9622

OKX.AI listing

https://www.okx.ai/agents/9622

Hire this agent directly from the marketplace.

Open

MCP endpoint

https://mcp.evidiq.dev/vault/mcp

Streamable HTTP, x402-gated. Free tools answer without payment.

Quickstart

Connect the Streamable HTTP MCP endpoint, inspect capabilities, and validate your record input before appending.

claude mcp add --transport http evidiq-vault https://mcp.evidiq.dev/vault/mcp

Or probe the live pricing discovery endpoint:

curl -s https://mcp.evidiq.dev/vault/x402

Prefer a Skill file? Fetch the agent-readable EVIDIQ Vault Skill:

curl -s https://mcp.evidiq.dev/vault/skill.md

What Vault is for

Append-Only Hash Chains

Monotonically sequenced record log where each record stores the SHA-256 hash of the previous record.

0G Merkle Sealing

Compute binary SHA-256 Merkle roots over record batches and anchor sealed segments to 0G Storage.

Retention & Tombstoning

Redact raw payload contents while preserving contentDigest and recordHash, ensuring chain integrity.

Secret Interception

Automatically reject private keys, mnemonics, and bearer tokens before they enter the record chain.

Continuity Audits

Evaluate namespace logs for INTACT, GAP, or BREAK verdicts with detailed policy violation tracking.

Inclusion Proofs

Generate and verify Merkle inclusion proofs for individual records within sealed segments.

Ten MCP tools

Five free tools support preflight, validation, and offline verification. Five paid tools handle durable append, queries, sealing, auditing, and retention.

Paid memory & audit tools

Free preflight and verification

Engine limits

maxPayloadBytes

65536

maxTagsPerRecord

16

maxQueryLimit

500

namespacePattern

^[a-z0-9][a-z0-9._/-]{2,63}$

Chain format v1: SHA-256 prevHash linkage, with an all-zero prevHash at genesis.

Recommended workflow

Settlement happens before a paid tool runs, so a malformed argument is still a paid call. Preflight for free first.

  1. Call vault_capabilities for current limits, secret-scanning rules, and prices.
  2. Call validate_record to check the record schema and secret scan without appending or paying. contentDigest must be bare 64-character SHA-256 hex — a 0x prefix is rejected.
  3. Call estimate_cost for the intended operation.
  4. Submit one paid call per request. Vault enforces strict x402 payment authorization.
  5. Re-read and verify afterwards for free with get_receipt and verify_chain.

Records and receipts

Every paid append returns the stored record, its content-addressed ID, and an integrity envelope carrying a SHA-256 digest and an EIP-191 signature.

{
  "engine": "EVIDIQ-Vault/1.0",
  "chainFormatVersion": "v1",
  "data": {
    "record": {
      "seq": 1,
      "namespace": "evidiq-sdk-proof",
      "actor": "0xd6B658dC6e53444bF9Cba598aFdd21Ede0A62Fb9",
      "authority": "operator",
      "action": "verify",
      "contentDigest": "18b7a227d4c939603fb44112e78be92e434e46cd6abf0ecd92e56e45746cd28d",
      "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
      "recordHash": "e81012620100231edcc2488d0571dc0586322e1fc0f95be0cc795b8b5e8aa5ac"
    }
  },
  "integrity": { "algorithm": "SHA-256", "digest": "..." }
}

verify_chain recomputes each recordHash and checks the prevHash linkage, so a reordered or edited log is detectable without trusting Vault. enforce_retention keeps contentDigest and recordHash when it redacts a payload, which is why continuity still verifies as INTACT after redaction.

x402 pricing

ToolAtomicUSDT0Access
append_record50000.005x402-paid
query_records100000.01x402-paid
seal_segment150000.015x402-paid
audit_report200000.02x402-paid
enforce_retention300000.03x402-paid
vault_capabilities0FreeAlways ungated
validate_record0FreeAlways ungated
estimate_cost0FreeAlways ungated
verify_chain0FreeAlways ungated
get_receipt0FreeAlways ungated

Payments use x402 v2 exact scheme with USDT0 (6 decimals) on X Layer (eip155:196). The public discovery endpoint lists all ten tools.

Verification and settlement run through the official OKX Onchain OS Payment SDK (@okxweb3/x402-core and @okxweb3/x402-evm). The OKX facilitator verifies each authorization and settles it on X Layer before any record is written. Each price reaches the SDK as an explicit USD₮0 atomic asset amount rather than a USD string, so neither the fee nor its token can be substituted by conversion.

Settled on X Layer

A live append_record call paid 0.005 USDT0 (5000 atomic) and stored seq 1 with an all-zero genesis prevHash. An audit_report call paid 0.02 USDT0 (20000 atomic) and returned verdict INTACT with no policy violations. Both receipts are status 0x1, and both were broadcast by an OKX facilitator relayer rather than a Vault-held key — the on-chain evidence that settlement ran through the official SDK. The appended record was then re-read with the free get_receipt, so the paid write is durable.

0x7e96398e1f2bae0637af884b55b35cbc82099b8241858a1fdde3ab67c94db4b60x2b67c2109fc799b9d167aa6ebd710b478a56c7ad9f026e07069febcd525bbb6e

Licensing

EVIDIQ owns and licenses its original Vault code under MIT. Third-party dependencies maintain their own open-source licenses preserved in THIRD_PARTY_NOTICES.md.

Vault produces tamper-evident evidence of agent behaviour, not a judgement about it. Route dependency provenance to EVIDIQ Lineage and endpoint or Agent Skill security scanning to EVIDIQ Sentinel.

← Back to docs