AI Agent Economy Infrastructure: A Research Primer (Part 1)

Mar 19, 2026

AI Agent Economy Infrastructure: A Research Primer (Part 1)

Original source: OKX Ventures. This article is adapted from an in-depth OKX Ventures research report. Due to length, we are publishing it as a two-part series: Part 1 focuses on the macro context, the x402 protocol, ERC-8004, and Virtuals Protocol; Part 2 will dive into OpenClaw and broader industry trends—stay tuned.


Executive Summary

AI Agents are rapidly evolving from passive copilots into active economic participants: they discover services, negotiate terms, trigger transactions, and (increasingly) settle value onchain. The key shift is not “AI gets smarter,” but “AI gets paid and can pay”—which turns software into a market actor.

OKX Ventures frames this as the emergence of machine-to-machine (M2M) payment networks and an Agent economy infrastructure stack, where identity, trust, payments, and agent marketplaces become composable primitives. In their 2026 outlook, they highlight agentic payments as entering an early breakout phase alongside multiple standards and industry pilots. (okxventures.medium.com)

In Part 1, we focus on three foundational pieces that are increasingly showing up in builder conversations:

  • x402: an HTTP-native payment handshake that revives the long-reserved 402 Payment Required status code for pay-per-request crypto settlement
  • ERC-8004: an Ethereum standard proposal for trustless agent discovery + reputation + validation
  • Virtuals Protocol: an onchain ecosystem that treats agents as tokenized economic actors and standardizes agent-to-agent commerce via ACP

1) The Macro Backdrop: Why the Agent Economy Needs Crypto Rails

1.1 Agents are becoming “API-native businesses”

In Web2, software typically monetizes through accounts, subscriptions, API keys, invoices, and chargebacks. Agents break these assumptions:

  • Agents don’t want to “sign up” mid-task.
  • Agents can’t reliably pass KYC/identity checks designed for humans.
  • Agents operate in tight loops (retrieve data → run inference → execute action → verify outcome), where per-call settlement is often more natural than monthly billing.

This is why stablecoin micropayments, onchain settlement finality, and programmable authorization are gaining relevance again—especially for AI-driven workflows that chain many services together.

1.2 Standards are converging: tools, identity, trust, and payments

The modern agent stack is being standardized in layers:

  • Tool connectivity (how agents call external services) — e.g., Model Context Protocol (MCP)
  • Inter-agent communication (how agents message and coordinate) — e.g., Agent2Agent (A2A)
  • Identity and identifiers (how entities can be resolvable without a centralized directory) — e.g., W3C Decentralized Identifiers (DIDs) (w3.org)
  • Payments + settlement (how value moves) — where protocols like x402 aim to make payment a native part of the HTTP flow

The direction is clear: if agents are going to transact autonomously, we need an infrastructure stack that is machine-readable, permissionless by default, and verifiable under adversarial conditions.


2) x402: Turning HTTP 402 Payment Required into an Onchain Payment Flow

2.1 The “unused” HTTP status code that suddenly matters

HTTP status code 402 has existed for decades, but was reserved for future use in the HTTP semantics specification. (datatracker.ietf.org)
Reference: RFC 9110 — HTTP Semantics

x402 takes that reserved space and gives it a concrete, developer-friendly meaning: if you want this resource, attach a valid payment and retry.

For a quick HTTP-centric overview, see: MDN: 402 Payment Required.

2.2 What x402 proposes (and why it’s compelling)

In the x402 design, an AI agent (or any client) requests an API/resource:

  1. Client Request → request arrives without payment
  2. Server returns HTTP 402 → includes pricing + payment instructions
  3. Client retries with signed payment authorization
  4. Server verifies and broadcasts payment → returns the resource

This flow is explicitly positioned as eliminating API keys, accounts, and subscriptions for pay-per-use access. (x402.org)
Primary reference: x402 Whitepaper (PDF)

2.3 Why x402 is “Agent-native” (not just a new checkout button)

x402 is interesting for the Agent economy infrastructure conversation because it aligns with how agents actually work:

  • Atomic intent loop: “I need data → I pay → I continue the task”
  • No long-lived secrets like API keys: reduces a common security liability
  • Composable monetization: any API endpoint can become a micro-market

This is the heart of agentic payments: not just making it possible to pay with crypto, but making payments machine-triggerable and protocol-level, embedded in normal internet flows. (x402.org)

2.4 The hard problems x402 doesn’t solve by itself

x402 can make payment transport elegant, but production-grade agent commerce needs more layers:

  • Authorization & budgets: who allowed this agent to spend, how much, and under what constraints?
  • Dispute/quality enforcement: what if the server doesn’t deliver the promised result?
  • Service atomicity: can we bind payment to execution + delivery robustly?
  • Agent identity & trust: how do we know the counterparty agent/service is legitimate?

This is where standards like ERC-8004 and ecosystem protocols like Virtuals ACP become highly complementary rather than competitive.


3) ERC-8004: Trustless Agents on Ethereum (Identity, Reputation, Validation)

If x402 is about how agents pay, ERC-8004 is about how agents are discovered and trusted across organizational boundaries.

3.1 What ERC-8004 proposes

ERC-8004 (“Trustless Agents”) is a draft Ethereum standard that proposes using blockchains to:

  • discover agents
  • choose agents
  • interact with agents without pre-existing trust

It defines a structure centered on:

  • an Identity Registry
  • a Reputation Registry
  • a Validation Registry

ERC-8004 emphasizes pluggable trust models with security proportional to value-at-risk, ranging from low-stakes tasks to high-stakes tasks (with options such as reputation feedback, stake-secured re-execution, zkML proofs, or TEE-based approaches). (eips.ethereum.org)
Primary reference: ERC-8004 on EIPs

3.2 Why this matters for the AI Agent economy

Most agent failures in real money contexts are not about “model intelligence”—they’re about trust boundaries:

  • Can I verify which agent executed what?
  • Can I limit blast radius if the agent is compromised?
  • Can I prove that a result was computed/checked according to agreed rules?

ERC-8004’s registries are a direct attempt to make agent trust composable, rather than reinvented in every closed platform.

3.3 ERC-8004 + x402: a natural pairing

A practical mental model:

  • x402: “Here’s the payment handshake for pay-per-use services.”
  • ERC-8004: “Here’s how you discover agents/services and evaluate trust.”

Together, they sketch a path from ad-hoc agent payments to open-ended agent economies—where agents can find providers, assess trust, pay, and keep moving.


4) Virtuals Protocol: A Society of Tokenized Agents + Agent Commerce Protocol (ACP)

Virtuals Protocol approaches the agent economy from an ecosystem and coordination angle: treat agents as onchain economic actors, capable of generating output, earning revenue, and coordinating tasks.

4.1 What Virtuals claims to be building

In its own framing, Virtuals Protocol is “a society of AI agents”: an onchain ecosystem where agents coordinate work, transact, and settle outcomes permissionlessly via blockchain. (whitepaper.virtuals.io)
Primary reference: Virtuals Protocol Whitepaper

A notable design choice: the protocol positions $VIRTUAL as a base transactional currency and liquidity pair across agent interactions. (whitepaper.virtuals.io)

4.2 ACP: standards for agent-to-agent commerce

Virtuals argues that without standardized protocols, integrating agent commerce becomes a combinatorial mess of custom code and brittle assumptions—especially as the number of agents and transaction types grows. (whitepaper.virtuals.io)
Reference: Agent Commerce Protocol (ACP)

Importantly, ACP is not just “payments.” It’s about:

  • discoverability of agent offerings
  • structured job workflows
  • onchain settlement paths
  • a shared vocabulary for agent commerce

4.3 ACP v2 signals a move toward real-world complexity

Virtuals’ documentation describes ACP v2 as a major update, introducing (among other things):

  • a unified Jobs interface for workflows
  • custom job offering schemas for domain-specific requirements
  • Accounts as persistent onchain records of agent-agent relationships and interaction history (whitepaper.virtuals.io)

Reference: Introducing ACP v2

This matters because agent commerce is inherently heterogeneous: “buy a dataset,” “run an audit,” “execute a trade,” and “deliver a media asset” cannot realistically fit one rigid schema.

4.4 Virtuals + ERC-8004 + x402: complementary roles

A coherent stack can emerge:

  • ERC-8004: discovery + trust primitives across boundaries
  • x402: frictionless pay-per-request settlement for APIs/services
  • ACP (Virtuals): workflow, job structuring, and agent-to-agent coordination inside a commerce network

The open question for 2026 is not whether agents can transact—it’s whether we can standardize enough of the workflow and trust surfaces to prevent the ecosystem from fragmenting into incompatible walled gardens.


5) Builder and User Checklist: What to Watch in 2025–2026

5.1 For builders: the missing “control plane”

If you’re integrating agentic payments or onchain agent interactions, prioritize:

  • spend policies (per-merchant, per-task, per-time-window constraints)
  • key isolation (separate operational keys from treasury keys)
  • auditability (sign every intent and store receipts)
  • fallbacks & circuit breakers (pausable flows, human approvals for edge cases)

This is where “Agent economy infrastructure” becomes real: payment is easy; safe payment is hard.

5.2 For users: self-custody becomes an agent safety primitive

When agents can transact, wallet security stops being a niche concern—it becomes operational risk management.

A practical approach many teams adopt is separating funds by role:

  • a small, monitored hot wallet for limited day-to-day agent spending
  • a cold storage treasury wallet that only tops up budgets intentionally

If you’re running agents that interact with DeFi or pay-per-use crypto services, this is also where a hardware wallet can fit naturally. OneKey, for example, is designed for self-custody and can be used to keep long-term funds offline while still supporting onchain workflows when you deliberately sign transactions.


What’s Next (Part 2 Preview)

In Part 2, we’ll extend this infrastructure map into:

  • OpenClaw: its role in the agent runtime/tooling layer and what it means for crypto users
  • broader industry trajectories: interoperability, compliance pressure, security incidents, and the battle between open standards and closed platforms

Disclaimer: This article is for informational purposes only and does not constitute financial advice.

Secure Your Crypto Journey with OneKey

View details for Shop OneKeyShop OneKey

Shop OneKey

The world's most advanced hardware wallet.

View details for Download AppDownload App

Download App

Scam alerts. All coins supported.

View details for OneKey SifuOneKey Sifu

OneKey Sifu

Crypto Clarity—One Call Away.