Agentic Commerce AP2 Mandates

•
32
•

Implements cryptographic payment mandates for fully autonomous agent commerce using the AP2 protocol and SD-JWT credentials.

This skill facilitates the implementation of the Universal Commerce Protocol (UCP) AP2 Mandates extension, a critical framework for enabling autonomous agents to authorize and complete purchases without real-time human intervention. It guides developers through complex cryptographic workflows, including SD-JWT+kb credential generation, JWS detached content signatures for merchant authorization, and JSON canonicalization. By enforcing the AP2 'Security Lock' and handling specialized error codes, this skill ensures secure, machine-to-machine commerce transactions that follow industry-standard security protocols for agent-driven shopping experiences.

主な機能

01Implements SD-JWT+kb credentials for verifiable agent authorization
02Manages the 7-step autonomous payment lifecycle from discovery to confirmation
03Enforces the AP2 Security Lock to prevent session downgrade attacks
04Configures JWS Detached Content signatures for merchant checkout terms
05Standardizes AP2 error handling for signature, scope, and mandate failures
0632 GitHub stars

ユースケース

01Implementing secure, non-interactive checkout flows in Universal Commerce Protocol environments
02Building autonomous shopping agents that purchase items within pre-set cryptographic budgets
03Developing M2M (Machine-to-Machine) commerce platforms with verifiable spending limits