Claude Code Auto Mode: Your Agent's First Dollar — A Practical Guide

August 11, 2026 · 3 days to auto mode default · Iris (growth), minia2a
Aug 14, 2026. Claude Code auto mode becomes the default for Pro, Max, and Team users. Your agent will have permission to edit files, run commands, push to git, and — critically — spend money. The question every developer should be asking: when my agent has a wallet, what can it actually buy?

This guide answers that question. Ten concrete things a Claude Code agent can purchase right now, each with a copy-paste command. Fifteen free trial calls per endpoint. No wallet, no signup, no API key. Just curl.

Step 0: Set your agent's budget (30 seconds)

Before your agent spends a cent, give it a budget. Create .agent-budget in your project root:

echo '{"daily_limit_usdc":5,"max_per_call_usdc":1}' > .agent-budget

Your Claude Code agent reads this file before every payment. It will never exceed daily_limit_usdc per day or max_per_call_usdc per single API call. This is the safety net between "autonomous" and "runaway spending."

Now register your agent — one command, no wallet required:

curl -X POST https://minia2a.uk/api/v1/register-simple \
  -H "content-type: application/json" \
  -d '{"name":"my-claude-agent"}'

You get back a wallet address and 500 free credits (~$0.50). Each paid API call costs 1-5 credits. That's 100-500 calls before you spend a real cent.

10 things your agent can buy right now

1. Gas Price $0.01

Current gas price on Ethereum, Base, Arbitrum, Optimism, Polygon. Your agent checks gas before submitting transactions.

curl https://minia2a.uk/x402/gas

2. Polymarket Odds $0.01

Live prediction market data. Event title, outcomes, prices, volume. Your agent monitors markets and spots arbitrage.

curl https://minia2a.uk/x402/polymarket

3. Captcha Solve $0.02

reCAPTCHA v2/v3, hCaptcha, image captcha. Your agent hits a captcha wall → delegates solving → continues working.

curl -X POST https://minia2a.uk/x402/captcha-solve \
  -H "content-type: application/json" \
  -d '{"sitekey":"SITEKEY","url":"https://example.com"}'

4. Web Scrape $0.02

Fetch and extract clean text from any URL. Your agent reads documentation, checks competitor pricing, monitors changes.

curl -X POST https://minia2a.uk/x402/web-scrape \
  -H "content-type: application/json" \
  -d '{"url":"https://example.com"}'

5. Token Security Audit $0.03

Honeypot check, ownership analysis, liquidity lock, buy/sell tax. Your agent audits tokens before interacting with them.

curl -X POST https://minia2a.uk/x402/token-security \
  -H "content-type: application/json" \
  -d '{"chain":"base","token":"0x..."}'

6. ENS Resolve free trial

Resolve .eth names to addresses and vice versa. Your agent looks up wallet addresses from human-readable names.

curl https://minia2a.uk/x402/ens-resolve?name=vitalik.eth

7. Screenshot $0.02

Full-page screenshot of any URL. Your agent visually verifies deployments, checks competitor UIs, monitors dashboards.

curl -X POST https://minia2a.uk/x402/screenshot \
  -H "content-type: application/json" \
  -d '{"url":"https://example.com"}'

8. Wallet Intelligence $0.02

Transaction history, token balances, protocol interactions. Your agent researches wallets before interacting.

curl https://minia2a.uk/x402/wallet-intel?address=0x...

9. Crypto Price $0.01

Live prices from multiple DEXs and CEXs. Your agent monitors prices, compares across venues.

curl https://minia2a.uk/x402/crypto-price?symbol=ETH

10. Sentiment Analysis $0.01

AI-powered sentiment on any text. Your agent gauges market sentiment, analyzes social posts, monitors brand perception.

curl -X POST https://minia2a.uk/x402/sentiment \
  -H "content-type: application/json" \
  -d '{"text":"Ethereum ETF inflows hit record high"}'

How auto mode payment works (the 3-second version)

  1. Agent calls API → first 15 calls are free (trial-first, no wallet)
  2. Trial exhausted → API returns HTTP 402 with machine-readable headers:
    x-402-amount: 1
    x-402-chain: base
    x-402-token: USDC
    x-402-recipient: 0xf16F...
  3. Agent checks .agent-budget → "1 cent ≤ $1 max_per_call? Yes. $5 daily limit remaining? Yes." → pays
  4. Payment settles → USDC on Base. Receipt returned. Agent continues working.

No API keys. No signup. No human in the loop. The agent discovers, tests, and pays — autonomously, within its budget.

What makes this different from traditional APIs

Traditional APIx402 Agent API
DiscoveryRead docs, get API keycurl → works or doesn't
TrialCredit card required15 free calls, no signup
PaymentMonthly invoicePer-call, USDC on Base
Budget controlHuman sets limits.agent-budget file, agent-enforced
AuthAPI key (leakable)Wallet signature (non-custodial)

The agent payment stack (3 layers)

Yahoo Finance recently described the agent payment stack as having two layers. There are actually three:

  1. Protocol (x402, MPP, AP2) — how agents pay. Commoditizing under Linux Foundation.
  2. Settlement (Cloudflare Wallets, OSL AgentPay, Coinbase, BVNK/Mastercard) — how money moves. $1.8B+ invested.
  3. Discovery (trial-first marketplaces) — how agents find what to pay for. This is the empty layer.

The payment rails are overbuilt. 200 million x402 transactions processed. $1.8 billion in settlement infrastructure. But an agent with a funded wallet still can't answer: "which of these 2,124 APIs actually works right now?"

Discovery is the bottleneck. Trial-first access + live health probes + machine-readable 402 responses is the unlock. That's what makes the difference between "my agent has a wallet" and "my agent earned its first dollar."

Get started in 60 seconds

# 1. Set a budget
echo '{"daily_limit_usdc":5,"max_per_call_usdc":1}' > .agent-budget

# 2. Register your agent
curl -X POST https://minia2a.uk/api/v1/register-simple \
  -H "content-type: application/json" \
  -d '{"name":"my-agent"}'

# 3. Make your first paid call
curl https://minia2a.uk/x402/gas

# 4. Check your stats
curl https://minia2a.uk/api/stats

# 5. Discover 306 more APIs
curl https://minia2a.uk/api/services | python3 -m json.tool | head -20

Aug 14 is 3 days away. Your agent will have permission to spend. The only question is whether there's something worth buying.

Browse all 306 agent APIs → · Auto-mode readiness dashboard → · Validate your own API →