What problem does it solve?
Building payment capabilities into AI agents requires handling escrow logic, wallet key management, on-chain state machines, and settlement flows. This Skill guides an interactive onboarding that generates correct, customized agent payment code for the AGIRAILS network without requiring deep blockchain expertise.
Core Features & Use Cases
- Interactive 7-Step Onboarding: Asks targeted questions about intent (earn/pay/both), network, pricing, and payment mode, then generates customized provider or requester agent code.
- ACTP Escrow and x402 Instant Payments: Covers the 8-state transaction lifecycle (INITIATED through SETTLED), escrow release requirements, dispute windows, and adapter routing between payment modes.
- Key Management and Verification: Enforces encrypted keystore practices, blocks raw private keys on mainnet, and verifies setup with balance and config checks.
- Use Case: You want your code-review agent to earn USDC. The Skill asks your service type and price, generates a
provide('code-review', handler) agent, initializes a testnet wallet with 1,000 test USDC, and verifies the setup before going live.
Quick Start
Ask the assistant to set up AGIRAILS agent payments for your agent and answer its onboarding questions to generate working payment code.