Help us improve
Share bugs, ideas, or general feedback.
From ap2-agentic-payments
Implements AP2 payment protocol as A2A extension in multi-agent systems: mandates DataParts in messages, Agent Cards for capabilities, payment task flows, and inter-agent communication.
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-a2a-extensionThis 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**:
Implements AP2 MCP servers to expose payment tools via Model Context Protocol for AI agent access. Use for building MCP-based AP2 payment integrations.
Implements UCP Checkout via A2A protocol for autonomous agent-to-agent commerce using Agent Cards and structured DataParts. For multi-agent architectures.
Implements A2A clients that discover agents via Agent Cards, send JSON-RPC tasks, handle streaming/sync responses, task states, and multi-turn conversations for delegating to A2A agents.
Share bugs, ideas, or general feedback.
Fetch live docs:
https://ap2-protocol.org/specification/ for the A2A extension specificationhttps://ap2-protocol.org/topics/ap2-a2a-and-mcp/ for protocol integration detailssite:github.com google-agentic-commerce AP2 a2a extension for reference implementationsite:github.com google-agentic-commerce AP2 samples a2a for A2A-based samplesAP2 is designed as a direct extension of the A2A protocol. It adds payment-specific capabilities to A2A's general-purpose agent-to-agent communication:
As the documentation states: "A2A is required to standardize intra-agent communication — as soon as you have more than one agent you need A2A." AP2 adds payment standardization on top.
AP2 agents declare payment support in their Agent Card:
{
"name": "MerchantAgent",
"capabilities": {
"extensions": [
{
"description": "AP2 Payment Extension",
"required": true,
"uri": "https://ap2-protocol.org/extension/v1"
}
]
},
"skills": [
{
"id": "checkout",
"name": "Cart and Payment",
"description": "Handles product search and cart creation",
"tags": ["ap2", "payment", "commerce"]
}
],
"security": [...],
"securitySchemes": {...}
}
AP2 mandates are transmitted as DataParts within A2A messages:
Each phase of the AP2 flow maps to A2A tasks:
A2A messages carrying AP2 mandates include:
{
"role": "user",
"parts": [
{
"type": "text",
"text": "I want to buy a coffee maker"
},
{
"type": "data",
"data": {
"intent_mandate": { ... }
}
}
]
}
┌─────────────────────────────┐
│ AP2 (Mandates, VDCs, Signing)│
├─────────────────────────────┤
│ A2A (Tasks, Messages, Parts) │
├─────────────────────────────┤
│ HTTP / JSON-RPC 2.0 │
└─────────────────────────────┘
Shopping Agents discover AP2-capable merchants by:
.well-known/agent-card.json or registries)capabilities.extensions[]The reference samples include a watch.log that captures:
This is valuable for debugging the A2A ↔ AP2 integration.
Fetch the specification for exact A2A extension schema, DataPart structures for mandates, and Agent Card AP2 capability declaration before implementing.