UCP lab
A shopping agent (LangChain) buys Halden's Ridge 2 tent for a customer over the Universal Commerce Protocol: it reads the store's profile, fills in a checkout until the store says it is ready, asks the customer to approve the total and completes it. Both sides are a small implementation of UCP's REST binding written for this lab (there is no browser SDK), running in this page; the code shown is the code that runs. The payment is simulated with a sandbox token (payment authorization is the AP2 lab). Turn on Intercept to hold messages on the wire and tamper with them.