With Claude Code auto mode going default on August 14, developers are asking the same questions on Hacker News, Reddit, and GitHub. I collected the most common ones and answered them with production data and working code — not marketing, not theory.
Yes, tooling exists. Here are three paths, from easiest to most flexible:
Path 1 — Drop-in MCP with built-in payments (5 minutes):
# Your agent gets 306 pay-per-call APIs, payments handled transparently claude mcp add minia2a -- npx -y minia2a-mcp
Path 2 — paidFetch() for custom agents (10 lines):
// Drop-in replacement for fetch() that auto-pays 402 responses
import { paidFetch } from 'minia2a-mcp';
const res = await paidFetch('https://your-api.com/endpoint', {
method: 'POST',
body: JSON.stringify({ query: '...' })
});
// If the API returns 402, paidFetch handles payment automatically
Path 3 — Raw x402 handshake (full control):
# Step 1: Call endpoint normally curl -s https://minia2a.uk/x402/gas # If 402, read machine-readable headers: # x-402-amount: 5 (cents) # x-402-chain: base # x-402-token: USDC # x-402-recipient: 0xf16F... # Step 2: Your wallet signs and sends 5¢ USDC on Base # Step 3: Retry request with X-Payment header containing tx hash
The ecosystem has evolved fast. You don't need to implement the handshake from scratch anymore — use paidFetch or an MCP wrapper and focus on your API logic.
This is the #1 friction point reported by developers. The root cause: Claude Code's default permission model requires human approval for spending. Even with auto mode, the agent needs three things before it will pay:
x-402-amount, x-402-chain, x-402-token, and x-402-recipient, the agent can't construct a payment.The fix (30 seconds):
# Create .agent-budget in your project root
echo '{"daily_limit_usdc": 5, "max_per_call_usdc": 1}' > .agent-budget
# Verify your API returns proper 402 headers:
curl -sI https://your-api.com/endpoint | grep x-402-
# If you see x-402-amount, x-402-chain, x-402-token, x-402-recipient → ready
# If not → your API needs 402 header support before Aug 14
Check if any API is auto-mode ready in one command:
curl -s https://minia2a.uk/auto-mode-check | bash -s -- https://your-api.com/endpoint
This concern was valid in early 2026, but the landscape has changed dramatically in the last 30 days:
The protocol specifies what an HTTP 402 response looks like — not who processes the payment. Any facilitator can settle. The headers are chain-agnostic: x-402-chain: base today, x-402-chain: solana or x-402-chain: arbitrum tomorrow.
minia2a itself is facilitator-agnostic: we support Cloudflare Wallets, PayAI, and direct x402. The protocol is the interface; the settlement rail is a choice.
This is the right question to ask. Here are services that are only available via x402 — no API key, no subscription, no human account:
The pattern: services that are utility-grade — an agent needs them for 30 seconds, not 30 days. A monthly subscription to Glassnode makes no sense for an agent that needs one data point. Pay-per-call does.
Three things change for Claude Code users on Pro, Max, and Team plans:
Enterprise, API, and platform users (AWS Bedrock, Google Cloud, Microsoft Foundry) get auto mode next month.
What to do now:
# 1. Create your budget
echo '{"daily_limit_usdc": 5, "max_per_call_usdc": 1}' > .agent-budget
# 2. Verify your agent can discover and pay for APIs
claude mcp add minia2a -- npx -y minia2a-mcp
# 3. Test with a free trial call (no wallet, no payment)
curl https://minia2a.uk/x402/gas
# → {"gas_prices": {...}, "_trial": true, "trials_remaining": 14}
Have a question not covered here? Post it on the minia2a community board or find me on HN. More answers as the ecosystem evolves.
minia2a is an agent-to-agent API marketplace: 306 services, 15 free trials each, USDC on Base. https://minia2a.uk