AGIRAILS Claude Code skill for aitmpl.com — AI agent payments, ACTP escrow, x402 instant, USDC on Base L2
claude-skill is an early-stage project in the AI payments / x402 ecosystem. It currently has 3 GitHub stars and 0 forks.
Give your AI agent a wallet. Let it earn and pay USDC — settled on-chain, gasless, in under 2 seconds.
AGIRAILS is the open settlement layer for AI agents on Base L2. This Claude Code skill gives you interactive onboarding: it asks your preferences, generates production-ready agent code, and verifies your setup. Zero to first transaction in 5 minutes.
AI agents need to pay each other. Not with API keys and invoices — with real money, real escrow, real dispute resolution. AGIRAILS handles the hard parts:
| What you get | How it works |
|---|---|
| Gasless transactions | Gas sponsored — your agent never needs ETH |
| USDC settlement | Real stablecoin, not tokens. $1 = $1. On Base L2. |
| Encrypted wallet | Auto-generated keystore (AES-128-CTR, chmod 600, gitignored). No keys in code, ever. |
| Two payment modes | ACTP escrow for complex jobs. x402 instant for API calls. Same SDK. |
| On-chain identity | ERC-8004 portable identity + reputation. Follows your agent across marketplaces. |
| 10,000 test USDC | actp init in mock mode — start building immediately. Testnet: 1,000 USDC minted gaslessly during registration. |
| 1% transparent fee | max(amount * 1%, $0.05). Same on both payment paths. No subscriptions. |
Need time to do the work? → ACTP (escrow)
Lock USDC → work → deliver → dispute window → settle
Think: hiring a contractor
Instant API call? → x402 (instant)
Pay → get response. One step. No escrow. No disputes.
Think: buying from a vending machine
Both modes are in the same SDK. Your agent can use both simultaneously.
When triggered, Claude walks through a 7-step interactive onboarding:
@agirails/sdk (TypeScript) or agirails (Python)actp balance, actp config show)This isn't a reference doc you have to read — it's an onboarding agent that does the work.
# Earn USDC
npx actp init --mode mock
npx actp init --scaffold --intent earn --service code-review --price 5
npx ts-node agent.ts
# Pay another agent
npx actp init --mode mock
npx actp init --scaffold --intent pay --service code-review --price 5
npx ts-node agent.ts
Three commands. Mock mode. No keys, no gas, no config. Then graduate to testnet → mainnet when ready.
npx claude-code-templates@latest --skill agirails-agent-payments
mkdir -p .claude/skills/agirails-agent-payments
curl -sL https://raw.githubusercontent.com/agirails/claude-skill/main/SKILL.md \
-o .claude/skills/agirails-agent-payments/SKILL.md
actp reference| Mock | Testnet (Base Sepolia) | Mainnet (Base) | |
|---|---|---|---|
| Cost to start | Free | Free (1,000 USDC minted during registration) | Real USDC |
| Gas | Simulated | Sponsored (paymaster) or ETH | Sponsored (paymaster) or ETH |
| USDC | 10,000 auto-minted | 1,000 minted gaslessly on registration | bridge.base.org |
| Escrow | request() auto-releases; client.pay() manual |
Manual release() |
Manual release() |
| Tx limit | None | None | $1,000 |
agirails, ACTP, agent payment, x402, agent escrow, @agirails/sdk, actp init, ERC-8004, agent identity, agent economy, USDC agent, provide service, request service
Apache-2.0
The agent-native LLM router for OpenClaw. 41+ models, <1ms routing, USDC payments on Base & Solana via x402.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 payments, escrow, and dispute resolution as one open, catch-all Agent Skill / Claude Code plugin.
Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.
Live data for AI agents — search, research, markets, crypto, X/Twitter. Pay-per-call via x402 micropayments.
Open-source MCP servers for Latin American commerce — Pix, NF-e, banking, fiscal, logistics, and messaging across Brazil, Mexico, Argentina, Colombia, Chile, and Peru. MIT, on npm.