Agent infra is
fragmented
Three critical layers are being built by different teams with no coordination. None of them talk to each other.
Without A3Stack, you're duct-taping together identity, payment, and MCP solutions separately. With A3Stack: new A3Stack({ privateKey, chainId }) and you're live.
Three layers. One SDK.
Each package works standalone. Together they give your agent everything it needs to participate in the agent economy.
Gasless smart accounts
Create ERC-4337 smart accounts with automatic gas sponsorship via CDP Paymaster. Register agents on-chain with zero ETH.
- Zero gas registration (CDP Paymaster)
- ERC-4337 smart accounts on Base
- One-shot gaslessRegister()
- Idempotent account creation
Verifiable on-chain identity
Register your agent as an ERC-8004 NFT on Base. Other agents can cryptographically verify who you are across 17 chains.
- ERC-8004 registration (ERC-721)
- Cross-chain discovery
- Back-reference verification
- 17 supported chains
Agent-to-agent payments
Charge other agents for your services using the x402 protocol. Auto-pay via EIP-3009 signatures — no gas, instant, USDC on Base.
- x402 protocol (HTTP 402)
- EIP-3009 gasless authorization
- USDC on Base
- Express.js middleware
MCP with identity + payments
Build MCP servers that verify who connects and charge per call. Or connect to any MCP server with auto-payment and identity resolution.
- MCP server with payment gating
- Auto-payment client
- Identity resource (agent://identity)
- probeAgent discovery
Agent A → Agent B in 6 steps
The full flow from discovery to paid tool call, handled automatically by A3Stack.
Agent A resolves Agent B's ERC-8004 global ID on-chain
Fetches registration file → parses MCP endpoint and x402Support
Connects to MCP endpoint — first request returns HTTP 402
Client auto-signs EIP-3009 authorization (gasless)
Retry with X-PAYMENT header → server verifies, returns result
Payment receipt in X-PAYMENT-RESPONSE, facilitator settles on-chain
Install what you need
All packages on npm. Use modular imports or grab everything via core.
Gasless smart accounts via CDP Paymaster (NEW)
All-in-one: A3Stack class + all re-exports
ERC-8004 registration, verification, discovery
x402 client (paying) + server (receiving)
MCP server/client with identity + payment
CLI: verify, lookup, probe, chains, count, init
Ship a paid agent in 5 minutes
Follow the quick start guide to build an agent that accepts payments, proves its identity on-chain, and exposes tools via MCP.