HTTP 402 Payment Infrastructure

Let your agents
pay and get paid.

AgentX402 is the programmable payment layer for AI agents — built on Solana, Base, and Tempo. No intermediaries. No friction. Just autonomous value exchange at machine speed.

Read the Docs How it works
Built on
Solana Base Tempo
@agentx402store Follow on X for updates
$AGX
$AGX402 — Coming soon Launching on EasyA Kickstart
AI Agent Payments
HTTP 402 Protocol
Solana
Base
Tempo
Programmable Settlement
Autonomous Transactions
On-chain Infrastructure
AI Agent Payments
HTTP 402 Protocol
Solana
Base
Tempo
Programmable Settlement
Autonomous Transactions
On-chain Infrastructure

Process

Four steps to autonomous payments.

01
⚙️

Register Your Agent

Deploy a payment-capable agent with our SDK. One-line setup. Wallet provisioned automatically on Solana or Base.

02
🔗

Declare Payment Routes

Define what your agent pays for — API calls, compute, data — with policies encoded directly on-chain via Tempo.

03

Intercept 402 Responses

AgentX402 middleware catches HTTP 402 signals in real-time and settles payment autonomously within milliseconds.

04
📊

Monitor & Audit

Every transaction is logged on-chain. Full observability through the dashboard. Exportable receipts for accounting.

Capabilities

Infrastructure built for the agentic era.

⛓️

Multi-Chain Settlement

Route payments across Solana and Base automatically. AgentX402 picks the optimal chain based on fee, speed, and liquidity at runtime.

🤖

Agent-Native Wallets

Non-custodial wallets provisioned per-agent. Spending limits, time-locks, and whitelist policies enforced on-chain.

⏱️

Tempo Orchestration

Deterministic payment scheduling and retry logic powered by Tempo. Guarantees delivery without human intervention.

🔐

Policy Engine

Granular spend controls. Set per-call limits, daily caps, and approved payees. All verifiable on-chain, not in a database.

🧩

SDK & REST API

TypeScript, Python, and Rust SDKs. Drop into any agent framework — LangChain, AutoGen, CrewAI — in under 10 minutes.

📡

Real-Time Webhooks

Payment events streamed via webhooks and on-chain indexers. Build reactive agents that respond to settlement confirmations instantly.

Developer

Integrate in minutes, not weeks.

agent.ts
// Install: npm i @agentx402/sdk
import { AgentX402, SolanaAdapter } from '@agentx402/sdk'

// Initialize with your chain adapter
const agent = await AgentX402.init({
  adapter: new SolanaAdapter(),
  policy: {
    maxPerCall: '0.01 SOL',
    dailyCap:   '5 SOL',
    whitelist:  ['api.openai.com'],
  }
})

// Make a 402-aware fetch — payment is automatic
const res = await agent.fetch('https://api.data.xyz/v1/query', {
  method: 'POST',
  body: JSON.stringify({ q: 'latest BTC price' })
})

// AgentX402 intercepts 402, settles on-chain, retries.
const data = await res.json()
console.log(data)

Built for developers who move fast.

The AgentX402 SDK wraps native fetch with automatic payment resolution. When a server returns HTTP 402, the middleware reads the payment header, validates against your agent's policy, and settles on-chain — all before the retry.

Full TypeScript support. OpenAPI spec included. Compatible with any AI agent framework that can make HTTP requests.

Tokenomics

Pay only for what your agents settle.

Free

Testnet

$0 / month

For developers building and testing agent payment flows on devnet.

  • Unlimited testnet transactions
  • Solana devnet & Base Sepolia
  • Full SDK access
  • Community support
Get started
Enterprise

Custom

talk to us

For high-volume deployments with custom SLAs, dedicated infrastructure, and compliance requirements.

  • Volume-based fee negotiation
  • Dedicated RPC nodes
  • Custom chain support
  • SLA guarantees
  • On-chain audit reports
  • Dedicated account manager
Contact sales

Access

Start building today.

Connect your wallet to access the AgentX402 dashboard, provision agent wallets, and deploy your first payment-capable agent on mainnet.

Supports Phantom, Metamask, Coinbase Wallet, and WalletConnect