Skip to main content
This guide walks through building a client that can automatically pay for x402-protected resources on Abstract.
  • A wallet with USDC on Abstract mainnet or testnet
  • Node.js 18+, Go 1.21+, or Python 3.10+

1. Install the client SDK

2. Create a signer

3. Wrap your HTTP client

4. Agent runtime notes

For an automated agent:
  • keep the signer scoped to the smallest viable balance
  • separate read-only and paid-request workflows
  • log payment receipts so you can reconcile usage later

Next

  • Continue to AGW CLI if the agent should use AGW instead of a raw private key
  • Compare with MPP if your client will make repeated paid requests