Quickstart
Install Agentic Wallet skills, authenticate, and make your first transaction in 5 minutes
Quickstart
Get your AI agent transacting in 5 minutes. This guide covers installation, authentication, and your first wallet operations.
Prerequisites
- Node.js 18+ installed
- An AI assistant that supports skills (e.g., Claude Code, Vercel AI SDK agents)
1. Install the Skills
Add the Agentic Wallet skills to your AI assistant:
This installs 8 skills that teach your agent how to use the agnic CLI for wallet operations.
2. Authenticate
Your agent authenticates via browser-based OAuth:
This command:
- Opens your default browser to AgnicPay's OAuth consent screen
- You sign in (email, Google, or wallet) and approve spending limits
- The browser redirects back and the CLI saves tokens locally
Wait for Authenticated! before proceeding.
Verify Authentication
Expected output:
3. Check Your Balance
If your balance is zero, see the Fund Wallet skill for funding instructions.
4. Send USDC
Send $1 USDC to an address:
Or to an ENS name:
5. Trade Tokens
Swap $1 USDC for ETH on Base:
Swap 0.01 ETH back to USDC:
6. Pay for an x402 API
Search the bazaar for a service:
Pay for a request:
The CLI auto-detects the price, signs a USDC payment, and returns the API response.
7. Check Agent Identity
View your agent's on-chain ERC-8004 identity: