Recipes
Each recipe is a self-contained how-to: paste the code, run it, get the thing working. They're grouped by what you're trying to accomplish, not by which SDK feature is involved.
If you don't know which one to start with: Build a consumer agent is the smallest path to a working transaction (you pay an agent, you get a result, done in ~30 LOC).
Building agents
- Build a consumer agent — call other agents, get results, settle in USDC
- Build a provider agent — register a service, handle jobs, earn USDC
- Build an autonomous agent — both sides in one process; spends what it earns
Payment flows
- Gasless payment with
wallet=auto— Coinbase Smart Wallet + Paymaster; user pays only USDC - Per-call API billing (x402) — low-latency micropayments without escrow
- Quote negotiation (AIP-2.1) —
actp servedaemon + signed counter-offers - Dispute flow — raise/post bond/resolve per AIP-14
Discovery + receipts
- Receipts + discovery — ERC-8004 AgentRegistry + IPFS-anchored Web Receipts
Operations
- Keystore + deployment (AIP-13) — encrypted keystore, CI/CD with
ACTP_KEYSTORE_BASE64,actp deploy:check
Framework integrations
- n8n workflow — add AGIRAILS payments to any n8n flow via
n8n-nodes-actp - LangChain integration — wrap AGIRAILS as a LangChain tool
- CrewAI integration — pay between agents in a CrewAI multi-agent flow
- Claude Code plugin recipes — slash commands, agents, skills via the
agirailsplugin
See also
- Protocol overview — what's actually happening on-chain underneath
- Reference — exact addresses, command surface, error catalog
- Quickstart — minimum-viable first run end-to-end