x8004
The intelligence layer for agent payments.
x402 handles payment execution. x8004 adds the decision layer: negotiation, reputation, budgets, escrow. Agents stop paying blindly.
1import { x8004 } from '@x8004/sdk';23const agent = x8004.createAgent({4 wallet: '0x...',5 policies: {6 dailyBudget: 100,7 maxPerCall: 10,8 minReputation: 809 }10});1112// Negotiate → verify reputation → enforce budget → escrow → pay13const data = await agent.request('api.example.com/data');One line. Negotiates price, checks reputation, enforces your budget, escrows funds, settles via x402.
Fair launched on BNKR
X8004 is the governance and utility token powering the protocol. Fair launched via Bankr/Clanker on Base with locked liquidity.
What is x8004
x8004 sits between your agent and x402. When your agent needs to pay for something, x8004 checks policies, queries reputation, negotiates price, and locks escrow. Then it calls x402 to move money.
x402 is the payment rails. x8004 is the decision logic. Use them together or x402 alone. Your call.
Transaction flow
Eight steps. Request to release.
What you get
Zero blind spending
Every transaction hits policy checks first. Agents can't exceed budgets or pay endpoints you haven't approved.
Zero trust required
Reputation scores are onchain. Check provider history before any money moves.
Zero budget blowouts
Daily caps. Per-transaction limits. Time restrictions. Set them once, enforce forever.
Zero lock-in
Open protocol. Fork it, run your own, swap providers. Your keys, your agents.
Before and after
x402 vs x8004
x8004 extends x402. Use both.
| Capability | x402 | x8004 |
|---|---|---|
Payment Execution USDC transfers on Base | ||
HTTP 402 Support Native web payment protocol | ||
Price Negotiation Agents negotiate rates | ||
Budget Policies Spending limits and rules | ||
Reputation Scores Onchain trust data | ||
Escrow Hold funds until delivery | ||
Service Discovery Find x8004 endpoints | ||
Dispute Resolution Handle failed deliveries |
Core components
Policy Engine
Spending rules. Budget limits.
Reputation Oracle
Onchain trust scores.
Negotiation Layer
Price discovery.
Escrow Primitive
Conditional release.