Give your AI agent a dedicated USDC wallet on Base. The agent spends autonomously through the SuperAPI, while you set the limits. Up to 5 per organization.Documentation Index
Fetch the complete documentation index at: https://docs.anyway.sh/llms.txt
Use this file to discover all available pages before exploring further.
Getting Started
Step 1: Create Agent Wallet
- Webapp
- CLI
- Go to Wallets → click + Create Agent Wallet
- Enter a name and spending limit (max per transaction, default $5)

- Click Create — the wizard creates the wallet, generates the signing keypair, delegates access, and sets the spending policy in one step. By default, the agent gets a $5 max per transaction cap and direct sends are blocked (the agent can only pay through x402, not transfer USDC freely)
- Save the Agent Token — it’s shown once and cannot be retrieved later. You can also copy the CLI Bundle to import the agent on another machine
Step 2: Fund the Wallet
- Webapp
- CLI
On the agent wallet card, click ↓ Fund to transfer USDC from your main wallet to the agent wallet.

Step 3: Buy Something
Your agent can now buy APIs on the SuperAPI. The spending limit you set is enforced automatically — if the agent tries to exceed it, the payment is rejected. See the SuperAPI Quick Start for a complete code example.Step 4: Monitor & Manage
- Webapp
- CLI
From the Agent Wallets page:

- ↓ Fund / ↑ Withdraw — transfer USDC between main wallet and agent wallet
- Edit (pencil icon) — update the spending limit
- Reset Agent Access — rotate the signing key (wallet address + balance preserved)
How It Works
- The agent builds an EIP-712 typed data payload (USDC
TransferWithAuthorization) - It signs a request to Anyway’s backend using its P-256 key — this proves identity
- Anyway forwards the request to Privy, which checks the spending policy
- If the policy allows it, Privy’s MPC wallet produces a secp256k1 signature — this authorizes the USDC transfer
- The agent sends this signature to the SuperAPI via the x402 protocol, and the payment settles on Base
Zero Custody
| Key | Where it lives | Who can access it |
|---|---|---|
| Wallet key (secp256k1) | Privy embedded wallet — created client-side in your browser | Privy MPC (no single party holds the full key) |
| Agent signing key (P-256) | Agent’s local machine or runtime | Only the agent |
Spending Policies
Policies are enforced by Privy at the MPC signing layer — not by Anyway’s backend. This means even if the backend is compromised, the agent cannot spend beyond its limits. Default rules on every new agent wallet:- Max per transaction ($5 by default) — caps each x402 payment
- Block direct sends — the agent can only pay through x402, not transfer USDC freely on-chain