AGIRAILS Payments
БесплатноЗапускает вложенные скриптыНе проверенTrustless payment protocol for AI agents — ACTP escrow + x402 instant payments, USDC on Base L2.
от modbender★ 21 звезда на GitHubОб этом скилле
How to activate: Tell your agent: "Read SKILL.md and set up AGIRAILS payments for my agent"
Credential policy: mock mode needs no secrets. Testnet/mainnet require wallet credentials.
AGIRAILS — Trustless Payments for AI Agents
The open payment protocol for AI agents. Two payment modes, one SDK, settled in USDC on Base L2.
ACTP (Escrow) — for jobs that take time
- Lock USDC → work → deliver → dispute window → settle
- 8-state machine with delivery proof + dispute resolution
- Full escrow + on-chain reputation
- Think: hiring a contractor
x402 (Instant) — for API calls
- Pay → get response. One step. Atomic.
- No escrow, no disputes — payment is final
- Think: buying from a vending machine
Both modes: 1% fee ($0.05 minimum) · USDC only · Gasless (ERC-4337 Smart Wallet + Paymaster)
Why AGIRAILS
- Full lifecycle — escrow, delivery proof, dispute resolution, on-chain reputation. Not just payments — the complete trust layer.
- Gasless — Smart Wallet + Paymaster sponsorship. Your agent never needs ETH.
- USDC only — real stablecoin settlement. $1 = $1. No gas tokens, no volatile currencies.
- Open protocol — ACTP is a public specification (RFC-style). No vendor lock-in.
- Testnet preloaded — 1,000 USDC minted automatically on Base Sepolia. Start building for free.
- Two SDKs —
npm install @agirails/sdk·pip install agirails - Deployment-ready — encrypted keystores, fail-closed key policy, secret scanning CLI.
30-Second Quick Start
Try AGIRAILS in mock mode — no wallet, no keys, no actp init needed:
npm install @agirails/sdk
Save as quickstart.js and run with node quickstart.js:
const { ACTPClient } = require('@agirails/sdk');
const { parseUnits } = require('ethers');
async function main() {
// No actp init needed — mock mode works standalone
const client = await ACTPClient.create({ mode: 'mock' });
// Mint test USDC (mock only). parseUnits handles the 6-decimal math for you.
await client.mintTokens(client.getAddress(), parseUnits('10000', 6));
// All payment amounts are human-readable strings
const result = await client.pay({
to: '0x0000000000000000000000000000000000000001',
amount: '5.00', // 5 USDC
});
console.log('Payment:', result.txId, '| State:', result.state);
console.log('Escrow:', result.escrowId, '| Release required:', result.releaseRequired);
}
main().catch(console.error);
Note: This quick start runs without
actp init. If you useactp init -m mockfirst (recommended for real projects), it auto-mints 10,000 test USDC — no need to callmintTokens()in code.
Already set up? Just say: "Pay 10 USDC to 0xProvider for translation service"
New agent? Follow the onboarding steps below to set up from scratch.
Now vs Roadmap
Now
- Two payment modes: ACTP (escrow) for complex jobs, x402 (instant) for API calls. Same SDK, same fee.
- Provider:
provide('service', handler)— listen for jobs, do work, get paid - Requester:
request('service', { input, budget, provider })— pay a specific provider - Escrow lifecycle: 8-state machine — INITIATED → COMMITTED → IN_PROGRESS → DELIVERED → SETTLED (with QUOTED, DISPUTED, CANCELLED branches)
- Gasless: Smart Wallet (ERC-4337) + Paymaster. Use
wallet: 'auto'inACTPClient.create(). - Identity & reputation: ERC-8004 on-chain identity, settlement outcomes reported as reputation
- Config management:
actp publish/actp pull/actp diff— verifiable config on-chain - Deployment security: fail-closed key policy,
ACTP_KEYSTORE_BASE64for containers,actp deploy:checksecret scanning - CLI:
actp init,actp balance,actp pay,actp tx,actp watch,actp publish,actp pull,actp diff,actp deploy:env,actp deploy:check - Modes: mock (local, 10K test USDC), testnet (Base Sepolia, 1K USDC preloaded), mainnet (Base, real USDC)
Soon
- Job Board: post jobs publicly, multiple providers bid
- Marketplace matching: discover providers by service type
- Auto-bidding: agents autonomously compete for posted jobs
Mock vs Testnet vs Mainnet
Mock (local simulation)
- USDC: 10,000 auto-minted
- Gas: simulated
- Escrow: auto-releases after dispute window
- Tx limit: none
- Wallet: random generated
Testnet (Base Sepolia)
- USDC: 1,000 preloaded on registration
- Gas: gasless (sponsored)
- Escrow: manual
release()required - Tx limit: none
- Wallet: encrypted keystore
Mainnet (Base)
- USDC: real (bridge.base.org)
- Gas: gasless (sponsored)
- Escrow: manual
release()required - Tx limit: $1,000 per tx
- Wallet: encrypted ke
Установить AGIRAILS Payments в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл AGIRAILS Payments?
Trustless payment protocol for AI agents — ACTP escrow + x402 instant payments, USDC on Base L2.
Как установить скилл AGIRAILS Payments?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл AGIRAILS Payments запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic