OpenTrace enables compliance & trace for agentic payment standards.
import { withTrace } from "@opentracedev/client"; const fetch = withTrace( wrapFetchWithPayment(globalThis.fetch, x402Client), { apiKey: process.env.OPENTRACE_API_KEY!, }, ); await fetch(url);
Agents operate exclusively on intent without considering compliance or trace that can be audited.
Every payment is OFAC-screened, keeps the agent's context, and is labelled MCC, GL, and vendor so the trace can be audited.