Skip to content

X-Agent Open Sources AI Payment Control Plane xpense, Collaborates with OKX to Refactor 'Autonomous Economic Execution' Architecture

Jul 28, 15:28

July 28th - Recently, the Web3 AI ecosystem network X-Agent officially announced the open-source of a new infrastructure project xagentAI/xpense after completing the deep integration with the OKX Agentic Wallet and launching the OKX Market Payment Control Plane (MCP) tool. This project is positioned as the Payment Control Plane of the AI Agent, filling the current core control layer gap in AI in areas such as autonomous consumption, budget risk control, and delivery verification.

Breaking Through the "Wallet Linking" Bottleneck, Solving the Machine Payment Risk Control Challenge

Existing protocols such as HTTP 402, x402, MPP, MCP, and OKX Agentic Wallet provide signature and micropayment channels, but still lack an upper-layer control surface in the "machine autonomous consumption" scenario. xpense aims to address key engineering and risk control challenges: who determines the fund amount when the Agent needs real-time procurement data or computing power during task execution, how to prevent duplicate charges, and how to verify if the service has been truly delivered after payment.

Seven-Step Deterministic Control Flow and Dual-State Machine Design

xpense proposes the core pipeline of "Intent → Policy → Route → Pay → Deliver → Verify → Account" and establishes four major engineering principles:

Large Model Non-Trust Root: Large models only provide consumption suggestions, and fund deduction and signature input are strictly controlled atomically by the Policy Engine and budget lock.

Payment and Delivery Dual-State Machine Isolation: Decouple "funds settlement" from "service return" to ensure a clear path for traceability, refunds, and dispute resolution in case of network timeouts or undelivered services.

Payment-Awareness Router: Comprehensive evaluation of tool pricing, latency, delivery quality, and data privacy to build an "OpenRouter" in the AI capability domain.

Deep Integration with the OKX Ecosystem: Leveraging OKX Agentic Wallet's TEE key isolation custody and x402 Gasless USDC settlement to ensure hardware-level key security and low-cost micropayments.

Building an Auditable, Explainable Agent Economy

xpense converges every financial action of the Agent into a unique chain of events including intent, decision, attempt, receipt, and delivery, making enterprise-level risk control, billing traceability, and attribution possible. X-Agent is driving AI from being "assistant software for human pre-paid transactions" to evolving rapidly into "an independent economic entity capable of autonomous consumption, service provision, and revenue generation."

Source