What if your AI agent could pay for things on its own?
Not mock payments. Not test mode. A real MasterCard card that works at any merchant, created by your AI agent in seconds.
That's what I built. Here's how you can try it right now.
The Problem
AI agents are getting good at doing things -- browsing, coding, writing. But they can't buy things. Every time an agent needs to make a purchase (book a server, buy an API key, order supplies), a human has to step in.
That's the bottleneck.
The Solution: ASG Card
ASG Card gives AI agents their own virtual MasterCard cards. The agent creates a card, funds it with USDC on Stellar, and uses it anywhere MasterCard is accepted.
No KYC. No human in the loop. Just a CLI command.
Try It Now (30 seconds)
npx @asgcard/cli onboard -y --client codex
That's it. This will:
- [OK] Generate a Stellar wallet
- [OK] Configure MCP for your AI client (Claude, Codex, or Cursor)
- [OK] Install the ASG Card skill
- [OK] Show you how to fund and create your first card
How It Works
1. Create a wallet
npx @asgcard/cli wallet create
2. Fund it with USDC
Send USDC on Stellar to your wallet address (shown by wallet info).
3. Create a card
npx @asgcard/cli card:create -a 50 -n "My AI Agent" -e you@email.com```
{% endraw %}
Your agent now has a **real virtual MasterCard** with $50 on it.
### 4. Let your AI agent use it
Once MCP is configured, your AI agent can:
- Create new cards
- Check balances
- View transaction history
- Fund cards with more USDC
All autonomously. No human approval needed.
## The x402 Protocol
Under the hood, payments use the **x402 protocol** -- an HTTP-native payment standard where the payment instruction is carried in the HTTP {% raw %}`402 Payment Required`{% endraw %} response header.
The CLI builds a Stellar transaction locally, signs it with your wallet key, and submits it through the x402 facilitator. The card is created instantly after payment confirmation.
## Pricing
- Card issuance: **$10 flat**
- Top-up: **3.5% fee**
- Card amounts: **$5 - $5,000**
## What Can You Build?
- * Shopping agents that buy supplies autonomously
- * DevOps agents that provision cloud infrastructure
- * Research agents that purchase API access on demand
- * Ad agents that manage ad spend across platforms
## Get Started
{% raw %}
```bash
npx @asgcard/cli onboard -y --client codex
- * asgcard.dev
- * npm: @asgcard/cli- * GitHub
- * Star us if this is useful!
What would you build with AI agents that can pay for things? Drop a comment below!
Top comments (0)