The documentation for UCP and AP2 outlines the integration of the Universal Commerce Protocol (UCP) with the Agent Payments Protocol (AP2), enabling secure and verifiable transactions conducted by AI agents or platforms on behalf of users, thereby allowing commerce systems to manage discovery, checkout, and payment processes without the need for intermediaries. UCP's complete compatibility with AP2 establishes a trust layer for transactions led by agents, which necessitates a secure and cryptographically verifiable exchange of intent and authorization between businesses and platforms through the use of Verifiable Digital Credentials (VDCs); this mechanism guarantees that businesses receive signed checkout commitments that cannot be modified during the transaction flow, while platforms provide proofs of payment authorization that are specifically linked to the cart's state, ultimately minimizing fraud and ensuring that transactions are both final and legitimate. Furthermore, this integration enhances the overall efficiency and reliability of digital commerce environments.