Help us improve
Share bugs, ideas, or general feedback.
From ap2-agentic-payments
Applies AP2 development patterns for multi-agent payment architecture, UCP integration, x402 crypto payments, mock provider testing, and production deployment in agentic payment systems.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin ap2-agentic-paymentsHow this skill is triggered — by the user, by Claude, or both
Slash command
/ap2-agentic-payments:ap2-dev-patternsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Fetch live docs**:
Scaffolds AP2 agentic payments project: installs Python SDK via uv/GitHub, creates agent roles (shopping, merchant, credentials provider, payment processor), configures Google API/Vertex AI credentials, sets up multi-agent structure.
Implements UCP AP2 Mandates for autonomous agent payments using SD-JWT credentials, JWS merchant signatures, and Agent Payments Protocol in 7-step flow with security lock.
Adds x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Useful for paying APIs or settling with other agents.
Share bugs, ideas, or general feedback.
Fetch live docs:
https://ap2-protocol.org/specification/ for the latest protocol detailshttps://ap2-protocol.org/topics/ap2-and-ucp/ for UCP integration patternshttps://ap2-protocol.org/topics/ap2-and-x402/ for x402 crypto integrationsite:github.com google-agentic-commerce AP2 samples for reference architecturesThe standard AP2 architecture involves four agents communicating via A2A:
┌──────────────────────────────────────────────────┐
│ User │
│ (trusted device surface) │
└──────────┬───────────────────────────────────────┘
│ intent + signatures
┌──────────▼───────────────────────────────────────┐
│ Shopping Agent (SA) │
│ Orchestrator — coordinates the full flow │
└──┬──────────────┬────────────────────────────────┘
│ │
│ A2A │ A2A
│ │
┌──▼──────┐ ┌───▼──────────┐
│ Merchant │ │ Credentials │
│ Agent │ │ Provider │
│ │ │ │
│ catalog │ │ payment │
│ cart │ │ methods │
│ signing │ │ tokenization │
└────┬─────┘ └──────────────┘
│
│ (Merchant → MPP)
│
┌────▼─────────────┐
│ Merchant Payment │
│ Processor (MPP) │
│ │
│ authorization │
│ settlement │
│ Payment Mandate │
│ challenges │
└────────┬──────────┘
│
┌────▼──────────┐
│ Network/Issuer │
│ (Visa, MC, │
│ banks) │
└────────────────┘
Important: The SA communicates with the Merchant and the CP via A2A. The Merchant communicates with the MPP. The SA does not directly communicate with the MPP.
UCP (Universal Commerce Protocol) operationalizes AP2:
checkout_mandate is distinct from (but related to) AP2's Cart Mandate — checkout_mandate is a UCP-specific concept that wraps the commerce checkout authorization, while AP2's Cart Mandate is the cryptographically signed VDC binding user consent to specific transaction terms/complete_checkout API = AP2's payment authorization stepUse UCP when you need the full commerce checkout flow (catalog, cart, checkout, orders) with AP2's payment security.
AP2 supports emerging digital payment methods via x402:
github.com/google-agentic-commerce/a2a-x402Development testing without real money:
AP2 agents can be built with any framework:
The protocol doesn't mandate a specific framework — only A2A compliance.
Shopping Agents can query multiple merchants:
On the V1.x roadmap:
Fetch the latest specification, roadmap, and sample implementations for current capabilities and patterns before implementing.