EVIDIQ Circuit
Verifiable API proxy, TLS certificate attestation, payload schema drift inspection, circuit breaker state machine enforcement, webhook signature verification, and 0G storage receipt anchoring for autonomous AI agents.
Quickstart
Connect the Streamable HTTP MCP endpoint, inspect capabilities, and validate target parameters before making a paid call.
claude mcp add --transport http evidiq-circuit https://mcp.evidiq.dev/circuit/mcp
Or probe the live pricing discovery endpoint:
curl -s https://mcp.evidiq.dev/circuit/x402
Prefer a Skill file? Fetch the agent-readable EVIDIQ Circuit Skill:
curl -s https://mcp.evidiq.dev/circuit/skill.md
What Circuit is for
TLS Certificate Attestation
Audit target TLS certificate validity, untrusted CAs, expiration dates, and SAN hostname matches.
Schema Drift Inspection
Detect JSON payload structure changes and field data type drift against baseline specifications.
Circuit Breaker Engine
Deterministic 3-state machine (CLOSED, HALF_OPEN, OPEN) tracking error rates and latency P95 spikes.
Webhook Verification
Verify incoming agent webhook payloads using HMAC-SHA256 or EIP-191 signatures with timestamp freshness checks.
Canonical Receipts
Generate RFC 8785 (JCS) SHA-256 report digests signed via EIP-191 ECDSA.
0G Storage Anchoring
Anchor exchange receipt Merkle roots directly onto 0G Storage for verifiable audit trails.
Ten MCP tools
Five free tools support preflight and offline verification. Five paid tools provide full verification, schema inspection, breaker state enforcement, and receipt anchoring.
Paid security & attestation tools
- audit_endpoint_compliance — Audit TLS certificate validity, expiration, trusted CA, hostname SAN matching, and security headers. (0.005 USDT0)
- inspect_payload_schema — Validate API response payload against JSON Schema and detect field data type drift from baseline. (0.01 USDT0)
- enforce_circuit_breaker — Evaluate error rates, latency P95 spikes, and request velocity to return CLOSED/HALF_OPEN/OPEN breaker state. (0.02 USDT0)
- verify_webhook_signature — Cryptographically verify HMAC-SHA256 or EIP-191 signatures on incoming agent webhooks. (0.02 USDT0)
- attest_exchange_receipt — Generate EIP-191 signed cryptographic attestation with 0G Merkle storage anchoring. (0.03 USDT0)
Free preflight and verification
- circuit_capabilities — Inspect engine limits, supported auth schemes, circuit breaker defaults, and pricing. (free)
- validate_request_params — Validate target URL syntax, headers, and schema structures prior to execution. (free)
- estimate_cost — Quote the immutable cost of any paid tool. (free)
- verify_circuit_report — Recompute report integrity and verify trusted EIP-191 authenticity against 4 mathematical invariants. (free)
- get_artifact — Retrieve a content-addressed JSON exchange receipt or 0G Merkle proof by exact ID. (free)
Evaluation Pipeline & Invariants
Every evaluation follows a strict 9-step pipeline that produces byte-reproducible reports verified against 4 mathematical invariants:
- Trace Consistency: checksEvaluated == trace.length.
- Violation Count: violations.length == failedTraceCount.
- Verdict Precedence: BLOCK > WARN > ALLOW.
- Integrity Digest: reportDigest == SHA-256(JCS(report)) with valid EIP-191 signature.
x402 pricing
| Tool | Atomic | USDT0 | Access |
|---|---|---|---|
| audit_endpoint_compliance | 5000 | 0.005 | x402-paid |
| inspect_payload_schema | 10000 | 0.01 | x402-paid |
| enforce_circuit_breaker | 20000 | 0.02 | x402-paid |
| verify_webhook_signature | 20000 | 0.02 | x402-paid |
| attest_exchange_receipt | 30000 | 0.03 | x402-paid |
| circuit_capabilities | 0 | Free | Always ungated |
| validate_request_params | 0 | Free | Always ungated |
| estimate_cost | 0 | Free | Always ungated |
| verify_circuit_report | 0 | Free | Always ungated |
| get_artifact | 0 | Free | Always ungated |
Payments use x402 v2 exact scheme with USDT0 (6 decimals) on X Layer (eip155:196). Verification and settlement run through the official OKX Onchain OS Payment SDK.
Settled on X Layer
Live tool calls verified on-chain via OKX Facilitator:
audit_endpoint_compliance: 0xcef0df...fbb8
inspect_payload_schema: 0xea7c8c...aede
enforce_circuit_breaker: 0xbbe6ff...fb95
verify_webhook_signature: 0x6a2968...57d0
attest_exchange_receipt: 0x67ec72...d961
Licensing
EVIDIQ owns and licenses its original Circuit code under MIT. Third-party dependencies maintain their own open-source licenses preserved in THIRD_PARTY_NOTICES.md.
Circuit provides verifiable API proxy attestation and circuit breaker enforcement. Guard autonomous AI agent transactions against unexpected endpoint outages, payload drift, and unauthenticated webhooks.