<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Justin Chau</title>
    <description>The latest articles on DEV Community by Justin Chau (@j-chau32).</description>
    <link>https://dev.to/j-chau32</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4221338%2F6f1cb84a-b90a-48e6-a268-b91260e01bb1.JPG</url>
      <title>DEV Community: Justin Chau</title>
      <link>https://dev.to/j-chau32</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/j-chau32"/>
    <language>en</language>
    <item>
      <title>The Wallet Layer: How AI Agents Pay Safely</title>
      <dc:creator>Justin Chau</dc:creator>
      <pubDate>Mon, 23 Nov 2026 10:00:15 +0000</pubDate>
      <link>https://dev.to/j-chau32/the-wallet-layer-explained-how-ai-agents-pay-safely-b6e</link>
      <guid>https://dev.to/j-chau32/the-wallet-layer-explained-how-ai-agents-pay-safely-b6e</guid>
      <description>&lt;p&gt;To recap our previous articles in this series, we've explained how AI agents discover products (JSON-LD/GEO), interact with storefronts (WebMCP), completes standardized checkout purchases (UCP) and verifies its payment (AP2). But how can it pay without exposing raw card details or acting beyond the user's intent?&lt;/p&gt;

&lt;p&gt;This is where the wallet layer comes in. Not as a specific consumer app, payment gateway, or blockchain wallet, but as the boundary between an AI agent and a user's payment instruments. It determines which credential may be used, under what limits, and when a human must approve. AP2 then creates verifiable evidence that the human authorized the resulting transaction.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Wallet Layer Actually Is
&lt;/h2&gt;

&lt;p&gt;At its core, a wallet layer is the policy boundary between an AI agent and a user's payment instruments. Whether the underlying funding source is a card, bank account, or digital wallet, this layer controls how—and under what conditions—an agent is allowed to pay.&lt;/p&gt;

&lt;p&gt;Rather than pointing to one specific product or screen, "wallet" in this context describes a capability. It may be built into an agent environment, a browser, an operating system, a financial institution's app, or a standalone service. Wherever it sits, it acts as a gatekeeper: permitting actions that fit the user's guardrails and holding back anything that needs human judgment.&lt;/p&gt;

&lt;p&gt;When the user is present at checkout, approval can happen in the moment. When the user is away, the wallet checks pre-authorized constraints first and steps in to escalate if limits are exceeded or step-up checks are triggered.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Agents Can't Just "Use a Credit Card"
&lt;/h2&gt;

&lt;p&gt;Handing an autonomous agent a raw Primary Account Number (PAN), expiration date, and security code creates three immediate problems: credential exposure, consent ambiguity, and checkout friction.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Credential Exposure:&lt;/strong&gt; Putting a raw card number, expiry date, or security code inside an agent prompt, tool output, or application log creates unnecessary sensitive-data exposure and widens the blast radius if anything leaks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consent Ambiguity:&lt;/strong&gt; Broad instructions like "buy something useful" or "reorder when it's a good deal" are not clear authorization for a specific $249 order, especially if the agent acts while the user is away.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Checkout Friction &amp;amp; Edge Cases:&lt;/strong&gt; Real checkouts run into moving parts—address confirmation, step-up authentication, risk checks, or price changes—that an agent cannot safely resolve on its own without clear escalation rules.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Even if an agent "has the card number," it cannot prove the user actually wanted that specific purchase. That is precisely what network-level tokenization plus verifiable intent addresses: the agent completes payment without ever touching raw card data, and the network can check the transaction against a recorded intent before approving.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tokens, Payment Handlers, and AP2
&lt;/h2&gt;

&lt;p&gt;Wallets, tokens, and AP2 solve different problems, and it helps to keep their boundaries clear. Each part has a distinct job—and clear limits on what it can do:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;What It Protects or Enables&lt;/th&gt;
&lt;th&gt;What It Does Not Do&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Tokenized Credential&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Keeps raw card data out of agent context; can scope usage to a merchant, checkout session, amount, currency, or time window where supported&lt;/td&gt;
&lt;td&gt;Does not by itself prove the user wanted that specific purchase or enforce spending rules&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Payment Handler&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Connects the checkout flow to an accepted payment method or wallet so the merchant receives only what it needs for that checkout&lt;/td&gt;
&lt;td&gt;Does not decide the user's budget rules or replace authorization checks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;AP2 Mandate&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Creates verifiable evidence of what the user authorized and under what constraints&lt;/td&gt;
&lt;td&gt;Does not process money, fix bad agent reasoning, or replace merchant risk controls&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  A Quick Look at Mandates and Receipts
&lt;/h3&gt;

&lt;p&gt;In plain terms, mandates create verifiable records of what the user authorized:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Checkout Mandate:&lt;/strong&gt; Evidence that the user approved this specific cart, merchant, items, and price.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Payment Mandate:&lt;/strong&gt; Evidence that the user authorized this funding source and transaction amount.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open vs. Closed Authorization:&lt;/strong&gt; With &lt;em&gt;open authorization&lt;/em&gt;, a user sets pre-approved conditions (like a $40 per-order cap or a budget window); &lt;em&gt;closed authorization&lt;/em&gt; records the final transaction details that fit those conditions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Receipts:&lt;/strong&gt; Confirmation from the merchant and processor of what was accepted or processed, pairing with mandate records to create an audit trail if a dispute comes up later.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Safe Flow Example: Maya's Coffee Reorder
&lt;/h2&gt;

&lt;p&gt;Imagine Maya gives her agent a simple standing rule: &lt;em&gt;"Reorder my usual coffee when it drops below $30, and never spend more than $40 per order."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;First, the agent checks the store, spots the coffee at $28, and builds a checkout with shipping and total cost. Before any payment details are used, Maya's wallet layer checks her rulebook—making sure the price is below $30 and the total stays within her $40 limit—and picks an approved payment method.&lt;/p&gt;

&lt;p&gt;Next, the wallet hands a limited-use payment token to the checkout's payment handler. The merchant only gets what it needs to process that order and never sees Maya's real card number. Finally, AP2 saves proof of what Maya approved, while the merchant and processor return confirmation or receipt records—giving everyone a clear record if Maya checks or questions the charge later.&lt;/p&gt;

&lt;p&gt;What if shipping pushes the total to $46, her delivery address is missing, or the bank asks for extra security verification? Because that falls outside her rules or needs a human call, the agent stops and brings Maya back to approve the purchase herself instead of going ahead on its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  How This Works in Practice: HarnessBuy and MasterCard Agent Pay
&lt;/h2&gt;

&lt;p&gt;The flow above describes the roles abstractly. In our own implementation, HarnessBuy bridges user guardrails and merchant checkouts around &lt;strong&gt;Mastercard Agent Pay&lt;/strong&gt;. We signed a Memorandum of Understanding (MoU) with Mastercard at the Singapore FinTech Festival 2026 to advance agentic commerce in Asia Pacific, with fully integrated agentic payments enabling consumers to purchase directly from shopping agent platforms.&lt;/p&gt;

&lt;p&gt;The chain is one line:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Merchant validates the agent&lt;/li&gt;
&lt;li&gt;Agent submits buyer intent to MasterCard&lt;/li&gt;
&lt;li&gt;Network token is issued&lt;/li&gt;
&lt;li&gt;Merchant initiates payment with the token via Agent Pay&lt;/li&gt;
&lt;li&gt;Acquirer runs the process&lt;/li&gt;
&lt;li&gt;Mastercard verifies the intent record before approval&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Step by step, in a single transaction:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Validation, Discovery &amp;amp; Intent:&lt;/strong&gt; Once the HarnessBuy merchant validates the agent, the agent finds an item and generates a buyer intent (item, amount, merchant, time window).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Intent Submission:&lt;/strong&gt; The agent submits the intent to Mastercard, which verifies the agent's identity and authorization scope and issues a network token. The token carries no raw card number and is bound to that agent and that intent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scoped Payment:&lt;/strong&gt; The merchant receives the token via Agent Pay and initiates the payment request to the acquirer. The merchant system never touches the user's card data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Intent Verification:&lt;/strong&gt; Before approval, Mastercard checks the transaction against the previously submitted buyer intent record—confirming the amount, merchant, and constraints match—before releasing the payment.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The essence of this chain is that approval does not depend on how "smart" the agent is, but on whether the intent record matches the transaction. When an agent oversteps or parameters are tampered with, the verification step blocks it, rather than letting the merchant or user discover the problem after the fact.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Wallet Layer Does Not Solve
&lt;/h2&gt;

&lt;p&gt;A sound payment architecture is honest about its boundaries. Even with a strong wallet layer and AP2 evidence in place:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A wallet layer does not guarantee that an agent's product research, price comparison, or recommendation was smart.&lt;/li&gt;
&lt;li&gt;Tokenization does not eliminate fraud, chargebacks, or friendly-fraud disputes on its own.&lt;/li&gt;
&lt;li&gt;AP2 does not prove that an upstream tool call, prompt context, or agent negotiation was free of manipulation—it records authorization evidence for the transaction structure presented.&lt;/li&gt;
&lt;li&gt;Mandates do not replace merchant risk controls, payment-network rules, or legal/compliance obligations, and human approval may still be required for high-value, high-risk, or rule-constrained checkouts.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Practical Checklist for Builders &amp;amp; Merchants
&lt;/h2&gt;

&lt;p&gt;If you are building or testing agentic checkout flows, focus on clear guardrails on both the client/wallet side and the merchant server side:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Keep raw PANs, security codes, and sensitive credential data out of agent prompts, tool outputs, application logs, and analytics.&lt;/li&gt;
&lt;li&gt;Use credentials scoped to a merchant, checkout session, amount, currency, and time window whenever the underlying payment method supports it.&lt;/li&gt;
&lt;li&gt;Validate the final cart, amount, currency, and checkout binding on your server before capture or refund so parameters cannot be swapped or replayed.&lt;/li&gt;
&lt;li&gt;Build explicit escalation paths for step-up authentication, missing details, risk flags, and transactions outside delegated limits.&lt;/li&gt;
&lt;li&gt;Enforce idempotency keys and strict state transitions across creates, captures, retries, refunds, and cancellations so retries never cause duplicate charges or refunds.&lt;/li&gt;
&lt;li&gt;Retain authorization and receipt evidence to support dispute handling, while respecting data-minimization and privacy rules.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Connecting Back to Your AI-Readiness Stack
&lt;/h2&gt;

&lt;p&gt;This is where the series comes together. Step back across the series and each layer owns a clear part of the journey:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;JSON-LD / GEO&lt;/strong&gt; tells a parser what your page contains.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WebMCP&lt;/strong&gt; tells a browser agent what your page can do.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UCP&lt;/strong&gt; tells a commerce agent how to complete a transaction with your backend.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Wallet Layer&lt;/strong&gt; determines what payment instrument an agent may use and under what limits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AP2&lt;/strong&gt; creates verifiable evidence that the human authorized the resulting transaction.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The practical takeaway is that the wallet layer is testable in the same way the earlier layers are. Does your payment flow keep raw credentials out of agent context? Are tokens scoped to a single merchant, amount, and session? Does your system pause and escalate when a transaction crosses a user's limit—or does it let the agent push through? If any answer is "no," an agent might complete discovery, negotiation, and checkout—only to leave the payment step as the weak link.&lt;/p&gt;

&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;AP2 doesn't move money—it creates evidence. The wallet layer doesn't replace your payment stack—it governs what an agent can do with it.&lt;/p&gt;

&lt;p&gt;Merchants that can produce clear, verifiable authorization evidence will be better positioned to reduce disputes and earn trust from processors, banks, and customers. When every layer works together, you can finally answer the question every payment system must ask: &lt;em&gt;did the human actually approve this exact purchase?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Which part do you see as the biggest practical hurdle right now: &lt;strong&gt;credential tokenization&lt;/strong&gt;, &lt;strong&gt;user-controlled spending rules&lt;/strong&gt;, or &lt;strong&gt;dispute evidence&lt;/strong&gt;?&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>fintech</category>
      <category>security</category>
    </item>
    <item>
      <title>AP2: How AI Agents Prove You Actually Authorized a Payment</title>
      <dc:creator>Justin Chau</dc:creator>
      <pubDate>Mon, 16 Nov 2026 09:02:46 +0000</pubDate>
      <link>https://dev.to/j-chau32/ap2-how-ai-agents-prove-you-actually-authorized-a-payment-25ea</link>
      <guid>https://dev.to/j-chau32/ap2-how-ai-agents-prove-you-actually-authorized-a-payment-25ea</guid>
      <description>&lt;p&gt;If you've been following this series, we've covered how AI agents discover sites, read their content, and complete purchases on a user's behalf. But completing a purchase is only half the problem; when an agent chooses to pay, &lt;strong&gt;how is it possible to verify if the human user authorized this exact purchase?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is where the &lt;strong&gt;Agent Payments Protocol&lt;/strong&gt; (or &lt;strong&gt;AP2&lt;/strong&gt; for short) comes in. Its goal is not to handle payments or your checkout, but to create cryptographically verifiable records of what the user has authorized, so a transaction can be understood months later without relying solely on server logs.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Authorization Vacuum
&lt;/h2&gt;

&lt;p&gt;Traditional payments assume a human is sitting in front of a screen clicking buttons. Autonomous agents break that assumption in three distinct ways:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Authorization:&lt;/strong&gt; What evidence shows the user approved &lt;em&gt;this exact transaction&lt;/em&gt;, rather than just giving a vague prompt?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integrity:&lt;/strong&gt; What evidence shows the presented cart matches the user's intent, rather than being hallucinated by a downstream tool call?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accountability:&lt;/strong&gt; If an agent buys the wrong item or gets prompt-injected, what evidence lets the merchant and processor resolve who approved what?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Conventional server logs can show that &lt;em&gt;something&lt;/em&gt; happened, but they don't inherently prove the user authorized that specific cart, amount, and funding source. Without clear answers, financial institutions may treat agent-initiated traffic as higher risk, merchants assume chargeback risk, and users refuse to hand over financial authority.&lt;/p&gt;

&lt;p&gt;AP2 provides the cryptographic foundation to make all three parties comfortable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mandates: Answering "What Did the User Approve?"
&lt;/h2&gt;

&lt;p&gt;To ensure that payment records are secure and tamperproof, AP2 creates &lt;strong&gt;mandates&lt;/strong&gt;: signed authorization tokens that record the items bought, their prices, and the conditions of their purchase. AP2 specifically uses the &lt;strong&gt;Selective Disclosure for JSON Web Token (SD-JWT)&lt;/strong&gt;, which discloses claims while ensuring the digital signature is validated.&lt;/p&gt;

&lt;p&gt;AP2 splits these into two types of evidence:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Checkout Mandate:&lt;/strong&gt; Proof that the user approved these specific items, at this price, for this merchant.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Payment Mandate:&lt;/strong&gt; Proof that the user authorized this specific funding source for this transaction.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The distinction between Open and Closed mandates comes down to timing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Open Mandate:&lt;/strong&gt; The user sets rules upfront (e.g., &lt;em&gt;"Monitor this part and buy it if the price drops below $150"&lt;/em&gt;). The agent can act later within those boundaries, but must eventually generate a Closed Mandate to finalize the purchase.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Closed Mandate:&lt;/strong&gt; The agent records the final, specific transaction (e.g., &lt;em&gt;"Buy these exact headphones right now"&lt;/em&gt;). It acts as the binding approval for a specific checkout.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where AP2 Sits in the Stack
&lt;/h2&gt;

&lt;p&gt;Validating this evidence is a shared responsibility. When an agent goes through a UCP checkout, AP2 rides alongside it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;Merchant&lt;/strong&gt; validates the Checkout Mandate to confirm: &lt;em&gt;"Did the user approve these items and this price?"&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Processor or Network&lt;/strong&gt; validates the Payment Mandate to confirm: &lt;em&gt;"Did the user approve this funding source and transaction?"&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;User&lt;/strong&gt; provides the original authorization, confirming: &lt;em&gt;"Did I knowingly set these limits or approve this purchase?"&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If any signature fails, the transaction stops. If they succeed, AP2 doesn't just record a transaction; it creates a verifiable chain of evidence through receipts. The user authorizes the purchase, the agent presents the mandate, the merchant issues a &lt;strong&gt;Checkout Receipt&lt;/strong&gt;, and the processor issues a &lt;strong&gt;Payment Receipt&lt;/strong&gt;. If a dispute arises months later, all parties inspect these signed artifacts rather than trying to reconstruct events from application logs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical Takeaways for Builders
&lt;/h2&gt;

&lt;p&gt;AP2 is still relatively new, so you shouldn't refactor your entire billing engine around it tomorrow. But the architecture it requires is just good engineering:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Expose your checkout as an API.&lt;/strong&gt; If an agent can't programmatically query your cart and get a stable identifier, no authorization protocol can save your integration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep durable order states.&lt;/strong&gt; Store what the user actually saw—line items, timestamps, and initiator metadata. AP2 standardizes this into signed receipts, but local immutable logging is a smart habit regardless.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep an eye on the FIDO Alliance.&lt;/strong&gt; Google's contribution of AP2 to the FIDO Alliance, where it moves through the Agentic Authentication and Payments groups, signals that it is transitioning into neutral infrastructure, not a proprietary walled garden.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What AP2 Does Not Do
&lt;/h2&gt;

&lt;p&gt;AP2 is a powerful tool, but it has specific boundaries. It answers the question, &lt;em&gt;"Did the human authorize this exact transaction?"&lt;/em&gt; But it does &lt;em&gt;not&lt;/em&gt; answer, &lt;em&gt;"Was every step before authorization correct?"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A valid signature can confirm that the user approved the final cart, but prompt injection, bad MCP output, or an incorrect agent recommendation may still have shaped that cart. AP2 also doesn't process payments, replace payment rails, or eliminate fraud and chargebacks by itself. &lt;/p&gt;

&lt;p&gt;This limitation is a feature of its design, not a flaw. AP2 proves the user authorized the transaction; it doesn't guarantee the agent's reasoning was flawless.&lt;/p&gt;

&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;AP2 doesn't move money. It creates evidence.&lt;/p&gt;

&lt;p&gt;Merchants that can produce clear, verifiable authorization evidence will be better positioned to reduce disputes and earn trust from processors, banks, and customers.&lt;/p&gt;

&lt;p&gt;Your AI-readiness stack now has four layers: JSON-LD tells parsers what you sell. WebMCP tells browser agents what your page can do. UCP tells commerce agents how to buy. And AP2 creates the evidence that answers the question every payment system must ask: &lt;strong&gt;did the human actually approve this exact purchase?&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ap2</category>
    </item>
    <item>
      <title>UCP Explained: How AI Agents Actually Complete a Purchase on Your Store</title>
      <dc:creator>Justin Chau</dc:creator>
      <pubDate>Wed, 11 Nov 2026 02:46:53 +0000</pubDate>
      <link>https://dev.to/j-chau32/ucp-explained-how-ai-agents-actually-complete-a-purchase-on-your-store-hnk</link>
      <guid>https://dev.to/j-chau32/ucp-explained-how-ai-agents-actually-complete-a-purchase-on-your-store-hnk</guid>
      <description>&lt;p&gt;You may be familiar with JSON-LD and GEO (which allow AI agents to read your page) as well as WebMCP (which lets them interact with it). These aspects are important for online agentic commerce, allowing AI agents to understand and browse the information on online shops akin to human customers, even being capable of buying products on the behalf of their users. But what should happen when an agent needs to undergo the purchase transaction?&lt;/p&gt;

&lt;p&gt;That’s where the &lt;strong&gt;Universal Commerce Protocol (UCP)&lt;/strong&gt; comes in.&lt;/p&gt;

&lt;p&gt;Launched as an open standard, UCP was co-developed by Google alongside Shopify, Etsy, Wayfair, Target, and Walmart, with backing from over 20 organizations including Mastercard, Visa, Stripe, and American Express. Essentially, it defines a common language so AI agents, merchants, and payment providers can discover products, negotiate capabilities, and complete transactions end-to-end.&lt;/p&gt;

&lt;p&gt;For store owners, the most important thing to start with is what UCP &lt;em&gt;doesn’t&lt;/em&gt; do. It doesn’t replace your storefront, your checkout, or your payment stack. You remain the Merchant of Record, keeping full ownership of the customer relationship, pricing, inventory, and fulfillment. UCP is simply the protocol layer that lets an agent talk to your existing systems without requiring a custom integration for every new AI platform.&lt;/p&gt;




&lt;h2&gt;
  
  
  How UCP Works: Capability Negotiation
&lt;/h2&gt;

&lt;p&gt;The core mechanism of UCP is &lt;strong&gt;capability negotiation&lt;/strong&gt;. Your store publishes a profile at a standardized endpoint (&lt;code&gt;/.well-known/ucp&lt;/code&gt;) declaring what you support—such as Checkout, Orders, and Catalog—alongside your implemented payment handlers and extensions. Agents publish their own profiles, and every transaction starts with your store computing the intersection of what both sides can handle.&lt;/p&gt;

&lt;p&gt;If this sounds familiar, it's because it mirrors HTTP, where every request negotiates accepted headers and content types. UCP applies that exact same proven mechanism to commerce.&lt;/p&gt;

&lt;p&gt;The architecture maps closely to TCP/IP:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Shopping Service&lt;/strong&gt; defines core primitives like checkout sessions and line items.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Capabilities&lt;/strong&gt; add functional areas (Checkout, Orders, Catalog) that are independently versioned.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Extensions&lt;/strong&gt; handle domain-specific needs like loyalty programs or fulfillment windows.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You only implement what you need, and the agent only negotiates what it can handle.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Checkout State Machine
&lt;/h3&gt;

&lt;p&gt;For merchants worried about edge cases and broken flows, the checkout state machine provides a reliable safety net through three clear states:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;incomplete&lt;/code&gt;&lt;/strong&gt;: Required information is missing. The agent attempts to resolve it via API calls.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;requires_escalation&lt;/code&gt;&lt;/strong&gt;: The agent hits a capability gap. The merchant response includes a &lt;code&gt;continue_url&lt;/code&gt;, letting the buyer complete the step manually with their session state preserved.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;ready_for_complete&lt;/code&gt;&lt;/strong&gt;: All requirements are met, and the agent finalizes the transaction programmatically.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This ensures no transaction gets stranded because an agent couldn't handle a custom checkout flow; the protocol always provides a path forward, including human handoff.&lt;/p&gt;

&lt;p&gt;Transport is flexible, running over REST (primary), MCP, A2A, or embedded bindings. This ties back to our previous layers: &lt;strong&gt;MCP is how the agent talks to tools, while UCP is the commerce vocabulary those tools speak.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Example of UCP Structure
&lt;/h2&gt;

&lt;p&gt;Here is what a standard UCP configuration profile looks like in practice:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"ucp"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-01-23"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"services"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"dev.ucp.shopping"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
          &lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-01-23"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"spec"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://ucp.dev/specification/overview"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"transport"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"rest"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"endpoint"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://business.example.com/ucp/v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"schema"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://ucp.dev/2026-01-23/services/shopping/openapi.json"&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"capabilities"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"dev.ucp.shopping.checkout"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
          &lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-01-23"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"spec"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://ucp.dev/specification/checkout"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"schema"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://ucp.dev/2026-01-23/schemas/shopping/checkout.json"&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"dev.ucp.shopping.fulfillment"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
          &lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-01-23"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"spec"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://ucp.dev/specification/fulfillment"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"schema"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://ucp.dev/2026-01-23/schemas/shopping/fulfillment.json"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"extends"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"dev.ucp.shopping.checkout"&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"dev.ucp.shopping.discount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
          &lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-01-23"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"spec"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://ucp.dev/specification/discount"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"schema"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://ucp.dev/2026-01-23/schemas/shopping/discount.json"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"extends"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"dev.ucp.shopping.checkout"&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"dev.ucp.shopping.order"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
          &lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-01-23"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"spec"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://ucp.dev/latest/specification/order"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"schema"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://ucp.dev/2026-01-23/schemas/shopping/order.json"&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  How Agents Use UCP: A Concrete Flow
&lt;/h2&gt;

&lt;p&gt;Let's walk through a transaction using a simple coffee beans reorder. A user tells their browser agent, &lt;em&gt;"Reorder my usual coffee beans,"&lt;/em&gt; and the agent opens your store.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Discovery&lt;/strong&gt;: The agent asks your store's Catalog for the product details. Because UCP provides real-time data, the agent confirms the coffee beans are in stock and checks the current price before showing the item to the user.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Negotiation&lt;/strong&gt;: The agent reads your &lt;code&gt;/.well-known/ucp&lt;/code&gt; profile to see what your store supports. Your store also checks what the agent supports. They agree on the shared rules (for example, standard Checkout and accepting Google Pay).
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Checkout Session&lt;/strong&gt;: The agent starts a checkout session and receives a unique ID for this specific order. It then sends the shipping address and a secure payment token to your store. If the user has a loyalty discount, the agent applies it during this step.&amp;nbsp;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Completion&lt;/strong&gt;: If the shipping and payment details are correct, the agent finalizes the purchase. If something is missing (like a required phone number), UCP safely pauses the checkout and prompts the user to fill in the blank.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Post-Purchase&lt;/strong&gt;: Your store sends order updates and tracking information back to the AI assistant, which can then tell the user when their coffee is on the way.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One detail worth highlighting here is how payments are handled. UCP uses tokenized payment handlers, so the agent never touches raw card data. Protocols like AP2 (Agent Payments Protocol) can also step in as a specialized layer to provide cryptographic proof as a "mandate," verifying that the user actually consented to the transaction.&amp;nbsp;&lt;/p&gt;




&lt;h2&gt;
  
  
  What UCP Enables Today
&lt;/h2&gt;

&lt;p&gt;UCP is still maturing, but it is already active. Right now, single-item and multi-item cart checkouts are live on Google AI Mode and Gemini for eligible US merchants.&lt;/p&gt;

&lt;p&gt;If you use Google Merchant Center, getting started is relatively simple. You can enable it directly through your settings rather than treating it as a major engineering project. You just need to use &lt;code&gt;native_commerce&lt;/code&gt; product attributes to trigger a checkout button. Additionally, major platforms like Salesforce, Stripe, and Commerce Inc. are building UCP directly into their systems, meaning merchants who use these platforms won't have to build the integration from scratch.&lt;/p&gt;

&lt;p&gt;Stepping back, UCP is fundamentally a bid to make agentic commerce open rather than captive. By keeping merchants as the Merchant of Record and designing for vendor-neutral negotiation, it offers a counterweight to closed ecosystems. Whether that holds as the protocol matures remains to be seen, but the design intent is worth understanding. The fact that Stripe now sits on the UCP Governing Council alongside Google and Shopify suggests the payment layer is consolidating around shared infrastructure rather than fragmenting.&lt;/p&gt;




&lt;h2&gt;
  
  
  Connecting Back to Your AI-Readiness Stack
&lt;/h2&gt;

&lt;p&gt;This is where the series comes together. Your AI-readiness stack now has three distinct layers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;JSON-LD / GEO&lt;/strong&gt; tells a parser what your page contains.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WebMCP&lt;/strong&gt; tells a browser agent what your page can do.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UCP&lt;/strong&gt; tells a commerce agent how to complete a transaction with your backend.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The practical takeaway is that UCP compliance is actually testable. Does your /.well-known/ucp endpoint exist and declare the right capabilities? Do your product feeds include the attributes agents need? Is your checkout state machine returning the right escalation paths? If the answer to any of these is "no," an agent might successfully discover your products—only to hit a wall at checkout.&lt;/p&gt;




&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;As agentic commerce standards mature, understanding where execution happens is everything.&lt;/p&gt;

&lt;p&gt;Use JSON-LD to tell parsers what you sell. Use WebMCP to tell browser agents what your page can do. Use UCP to tell commerce agents how to complete a purchase with your backend.&lt;/p&gt;

&lt;p&gt;Your storefront stays yours, and you remain the Merchant of Record. UCP simply provides the open protocol that makes autonomous transactions frictionless without forcing an agent to guess its way through your checkout.&lt;/p&gt;

&lt;p&gt;In case you want a better understanding of the previously introduced topics, you can read our prior articles in this series; &lt;a href="https://dev.to/j-chau32/beyond-traditional-seo-how-ai-search-engines-evaluate-your-online-store-and-how-to-audit-it-4en6"&gt;the first on JSON-LD and GEO&lt;/a&gt;, as well as the &lt;a href="https://dev.to/j-chau32/mcp-vs-webmcp-demystifying-protocols-for-ai-agents-and-the-web-3d6h"&gt;second on MCP and WebMCP&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ucp</category>
      <category>agenticcommerce</category>
      <category>agents</category>
    </item>
    <item>
      <title>MCP vs. WebMCP: Demystifying Protocols for AI Agents and the Web</title>
      <dc:creator>Justin Chau</dc:creator>
      <pubDate>Fri, 06 Nov 2026 02:02:30 +0000</pubDate>
      <link>https://dev.to/j-chau32/mcp-vs-webmcp-demystifying-protocols-for-ai-agents-and-the-web-3d6h</link>
      <guid>https://dev.to/j-chau32/mcp-vs-webmcp-demystifying-protocols-for-ai-agents-and-the-web-3d6h</guid>
      <description>&lt;p&gt;As the web shifts from human navigation to agentic workflows, a major architectural question faces developers: &lt;em&gt;How do AI agents talk to systems and web pages?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you’ve been keeping up with AI engineering, you have likely encountered terms like &lt;strong&gt;MCP (Model Context Protocol)&lt;/strong&gt; and &lt;strong&gt;WebMCP (Web Model Context Protocol)&lt;/strong&gt;. While they share a similar name and vocabulary, they operate at completely different layers of the software stack.&lt;/p&gt;

&lt;p&gt;Understanding the functionality and uses of each of these standards can be essential for building modern web applications that are ready for AI-driven assistants and autonomous shoppers.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;1. What is MCP (Model Context Protocol)?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;MCP&lt;/strong&gt; is an open standard used for connecting &lt;strong&gt;large language models (LLMs)&lt;/strong&gt; to external resources such as data sources and applications. By themselves, AI applications are only limited to their own training data, but MCP grants them capabilities such as reading files, access information in databases, and call into applications to utilize their functions, allowing AI models to perform automated tasks or assist with developing code.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Architecture:&lt;/strong&gt; MCP uses a client-server architecture. An AI client communicates with local or remote MCP servers via standard transport layers (like JSON-RPC over &lt;code&gt;stdio&lt;/code&gt; or Streamable HTTP).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Core Primitives:&lt;/strong&gt; MCP servers expose three main capabilities to an AI model:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tools:&lt;/strong&gt; Callable functions the model can execute (e.g., query a database, call an external API, write a log).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resources:&lt;/strong&gt; Read-only context the model can pull in (e.g., documentation, database snapshots).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompts:&lt;/strong&gt; Reusable templates and workflows.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Lifecycle:&lt;/strong&gt; Persistent and long-running. An MCP server works continuously in the background, regardless of whether or not it's being used.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;2. What is WebMCP (Web Model Context Protocol)?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;WebMCP&lt;/strong&gt; is a proposed browser standard (currently in early preview) that lets your website declare, in a machine-readable way, what actions an AI agent can take on the page. Agents can't reliably tell what a human-designed interface is meant to do, so instead a site can expose its own set of specialized tools that the agent can call, with the browser mediating between the page and the agent.&lt;/p&gt;

&lt;p&gt;WebMCP utilizes two APIs to register tools: the &lt;strong&gt;declarative API&lt;/strong&gt;, where tools are defined within the site's HTML, and the &lt;strong&gt;imperative API&lt;/strong&gt;, which can provide tools in JavaScript for more complex and dynamic interactions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Architecture:&lt;/strong&gt; Client-side and browser-mediated. Instead of setting up a separate backend server process, web applications register tools directly within the page context using JavaScript APIs (&lt;code&gt;document.modelContext.registerTool&lt;/code&gt;&lt;code&gt;()&lt;/code&gt;).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Lifecycle:&lt;/strong&gt; Tools are bound to the active tab and last only while it's open. When the user closes or navigates away from the tab, the tools disappear.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;3. Side-by-Side Comparison: MCP vs. WebMCP&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The distinction that matters most for store owners is where the code runs: MCP lives on your backend server, WebMCP lives in the user's open browser tab.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Feature&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;MCP (Model Context Protocol)&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;WebMCP (Web Model Context Protocol)&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Primary Focus&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;General tool invocation and backend orchestration&lt;/td&gt;
&lt;td&gt;Structured interaction with live web pages (client-side)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution Environment&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Backend server process (Python, Node.js, etc.)&lt;/td&gt;
&lt;td&gt;JavaScript running natively inside the browser tab&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Wire Format / Protocol&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;JSON-RPC over &lt;code&gt;stdio&lt;/code&gt; or HTTP&lt;/td&gt;
&lt;td&gt;Browser-native API (&lt;code&gt;document.modelContext&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lifecycle&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Persistent and stateful (runs 24/7)&lt;/td&gt;
&lt;td&gt;Ephemeral (only lasts while the tab is running)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Data Access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Databases, file systems, external APIs&lt;/td&gt;
&lt;td&gt;DOM state, in-page session logic, live shopping cart data&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Chrome frames the difference with a call-center analogy:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;MCP is the call center&lt;/strong&gt;; available anywhere, anytime.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;WebMCP is the in-store expert&lt;/strong&gt;; only providing help to the customer while within the shop.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;4. How They Work Together: The Complementary Stack&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;MCP and WebMCP aren't opposites, they're options with different jobs. MCP works in the background to manage your site's data and systems regardless of whether anyone is interacting with the page: inventory, payment processing, order history. WebMCP, by contrast, handles the live user interface: the cart, the form, and the product options the user has selected. A complete agentic experience uses both.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;MCP gives an agent your services and data.&lt;/strong&gt; It handles persistent business logic, CRM queries, and background operations.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;WebMCP gives an agent your user's open tab.&lt;/strong&gt; It handles real-time UI states, active shopping carts, and in-page form workflows.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;A Real-World E-Commerce Example&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;A user tells their browser agent, "Reorder my usual coffee beans." The agent opens your store. WebMCP lets it call a tool (&lt;code&gt;reorder_last_purchase&lt;/code&gt;) directly on the page—no guessing which button to click, and the tool can read the current cart state and fill the quantity. That tool then calls your backend MCP server, which checks warehouse inventory, applies the user's loyalty discount, and authorizes payment. The result flows back to the page, and the cart is updated.&lt;/p&gt;

&lt;p&gt;WebMCP handles the page, while MCP handles the data and logic behind it.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Connecting Back to GEO&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The same pattern applies to structured data. JSON-LD separates what a product is (price, brand, availability) from how the page looks. WebMCP does the same thing for actions: it separates what a page can do from how the UI is designed. Chrome's documentation notes that WebMCP tools connect to application logic, not design, so you can redesign your storefront without breaking an agent's tools. Both layers are declarative, invisible to human visitors, and fail silently if omitted.&lt;/p&gt;

&lt;p&gt;Your AI-readiness stack now has two layers working in parallel: &lt;strong&gt;JSON-LD&lt;/strong&gt; tells a parser what your page contains, and &lt;strong&gt;WebMCP&lt;/strong&gt; tells a browser agent what your page can do.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Summary&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;As agentic web standards mature, understanding where execution happens is everything.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use MCP when your agent needs to reach data that exists independently of any open browser tab.&lt;/li&gt;
&lt;li&gt;Use WebMCP when you want the agent to work cleanly with the page displayed to the user.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most real shopping flows will use both.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>webmcp</category>
      <category>agents</category>
    </item>
    <item>
      <title>Beyond Traditional SEO: How AI Search Engines Evaluate Your Online Store (And How to Audit It)</title>
      <dc:creator>Justin Chau</dc:creator>
      <pubDate>Mon, 02 Nov 2026 08:33:49 +0000</pubDate>
      <link>https://dev.to/j-chau32/beyond-traditional-seo-how-ai-search-engines-evaluate-your-online-store-and-how-to-audit-it-4en6</link>
      <guid>https://dev.to/j-chau32/beyond-traditional-seo-how-ai-search-engines-evaluate-your-online-store-and-how-to-audit-it-4en6</guid>
      <description>&lt;p&gt;The marketing world has always revolved around public awareness: the more exposure your brand has, the more customers it will attract. In the modern era where the internet has become a tool to connect businesses all over the world, online marketing is one of the most important platforms for a business to have. With search algorithms dictating what kinds of content will appear on typical customers’ feeds, advertisers need to optimize their online content, allowing them to be more commonly recommended by search engines and show up more frequently when looking for keywords, in order to capture incoming shopper traffic.&lt;/p&gt;

&lt;p&gt;With the integration of AI search platforms such as ChatGPT, Perplexity, Gemini, and autonomous AI agents, digital marketing has been revolutionized with the convenience of online services capable of delivering personalized search results based on whatever the user asks for, making online shopping more productive by saving time and effort. Modern shoppers ask conversational questions; they may ask &lt;em&gt;"Find me a portable 10,000mAh power bank with built-in USB-C cabling in Singapore under $200."&lt;/em&gt; and an AI assistant will be able to automate the searching process for them based on the given criteria.&lt;/p&gt;

&lt;p&gt;AI search engines synthesize these queries in real time, serving as instant digital concierges that recommend specific storefronts and products. If your store's underlying code and content aren't able to be understood by AI systems, they'll simply skip your brand. But how is it possible to tell exactly what their algorithms want? We need to understand the structural formats they prefer, and the languages that their systems can understand. This is why online businesses traditionally use optimization techniques as a way for systems to incentivize and understand them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Understanding the Foundations: SEO, GEO, Schema, and WebMCP
&lt;/h2&gt;

&lt;p&gt;There are several ways to steer the focus of AI algorithms towards the contents of your page, either by making your content easier to analyse or providing information in a computer-readable format. They can be implemented through following four architectural pillars:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Traditional SEO (Search Engine Optimization)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;How it Works:&lt;/strong&gt; Search engines index pages using web crawlers, looking for keywords, meta descriptions, canonical tags, and mobile responsiveness.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Incentive:&lt;/strong&gt; Search engines want to return relevant, fast-loading, trustworthy web pages that satisfy human user intent.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. GEO (Generative Engine Optimization)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;How it Works:&lt;/strong&gt; Large Language Models (LLMs) parse unstructured heading hierarchies (&lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;h2&amp;gt;&lt;/code&gt;) and body text to perform direct entity extraction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Incentive:&lt;/strong&gt; Generative engines need cleanly structured text so they can extract brand factual details, product specs, and core value propositions without hallucinating or running out of context tokens.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. JSON-LD Schema (Structured Data Integrity)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;How it Works:&lt;/strong&gt; Machine-readable code snippets embedded in your HTML using standard definitions from &lt;a href="https://schema.org" rel="noopener noreferrer"&gt;Schema.org&lt;/a&gt; (such as Product and Offer).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Incentive:&lt;/strong&gt; Both legacy search engines and AI parsers use JSON-LD to bypass visual formatting entirely, instantly parsing price, currency, availability, and brand specifications.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. WebMCP (Web Model Context Protocol)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;How it Works:&lt;/strong&gt; WebMCP introduces &lt;code&gt;&amp;lt;meta name="modelContext"&amp;gt;&lt;/code&gt; declarations, &lt;code&gt;data-mcp-tool&lt;/code&gt; attributes, and &lt;code&gt;mcp.json&lt;/code&gt; manifests to declare machine-actionable endpoints directly on website elements.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Incentive:&lt;/strong&gt; Autonomous shopping agents require standard protocol interfaces to automatically inspect items, execute actions, and complete checkout flows on behalf of human users.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Actionable Techniques to Boost Your Readiness Scores
&lt;/h2&gt;

&lt;p&gt;Improving your site's standing across these four dimensions requires target optimizations:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Optimize Heading Structures (GEO):&lt;/strong&gt; Maintain clear, logical heading tags (&lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; for title, &lt;code&gt;&amp;lt;h2&amp;gt;&lt;/code&gt; for primary sections) and maintain concise, facts-first body paragraphs to facilitate clean LLM entity extraction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embed Full Product Schemas (JSON-LD):&lt;/strong&gt; Ensure every product page contains complete Product and Offer &lt;a href="https://schema.org" rel="noopener noreferrer"&gt;Schema.org&lt;/a&gt; scripts with required attributes (price, priceCurrency, availability, brand, and identifier_exists).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add WebMCP Agent Tags (WebMCP):&lt;/strong&gt; Declare &lt;code&gt;data-mcp-tool&lt;/code&gt; attributes on shopping forms or publish an &lt;code&gt;mcp.json&lt;/code&gt; manifest so autonomous browser agents can register your site's purchase workflows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Standardize Indexing Signals (SEO):&lt;/strong&gt; Implement robust canonical tags, unique meta descriptions, and clean URL parameter structures.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Auditing Your Store's AI Readiness
&lt;/h2&gt;

&lt;p&gt;Evaluating these four distinct layers manually across dozens of product pages can be complex. To help developers and store owners test their infrastructure, my team built the &lt;strong&gt;HarnessBuy Multidimensional GEO Audit Platform&lt;/strong&gt;. It evaluates your website across GEO, SEO, JSON-LD, and WebMCP simultaneously.&lt;/p&gt;

&lt;p&gt;You can check your storefront or product page compliance in four simple steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Enter Your URL:&lt;/strong&gt; Paste your page link into our &lt;a href="https://geoaudit.harnessbuy.com/" rel="noopener noreferrer"&gt;GEO Diagnostic Engine&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verify Email:&lt;/strong&gt; Initiate the instant scanning process.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;View Multidimensional Breakdown:&lt;/strong&gt; Review your overall score alongside independent pillar diagnostics.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review Action Items &amp;amp; Fixes:&lt;/strong&gt; Get clear pass/fail diagnostics paired with actionable code snippets to fix technical deficits immediately.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;As AI-native search engines and autonomous shopping assistants capture a growing share of digital commerce, keeping your website readable to machine parsers is essential. Feel free to run a free assessment with our &lt;a href="https://geoaudit.harnessbuy.com/" rel="noopener noreferrer"&gt;GEO Diagnostic Engine&lt;/a&gt; to check for entity deficits, validate your JSON-LD schemas, and prepare your storefront for the era of AI search. &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>showdev</category>
      <category>ai</category>
      <category>seo</category>
    </item>
  </channel>
</rss>
