Skip to content
Growth and conversion

Agentic commerce: detect AI shoppers and improve checkout

Understand agentic commerce, detect AI shopping sessions with Marshy, and test faster checkout and optional upsells using a practical worksheet.

Dev Shah7 min read

Agentic commerce is shopping in which an AI assistant helps a customer discover products, compare options, assemble a basket, or carry a purchase through a supported checkout. For merchants, the opportunity is to help that customer’s task finish: clear product facts, a direct basket-review route, and relevant optional offers.

Marshy helps you identify classified browser-agent sessions and investigate their shopping friction. Your storefront implements the checkout experience and merchandising. This guide gives you a proposed flow, an illustrative offer, and a holdout experiment worksheet for measuring orders and margin.

What are examples of agentic commerce?

A customer can ask an assistant to find an in-stock product, compare compatible variants, build a basket within a budget, or continue through a merchant-supported checkout. The commercially meaningful result is the customer's completed purchase or decision, rather than the number of automated page requests.

For a merchant, there are two implementation paths:

Path Example How you observe it
Browser-based shopping An assistant uses the storefront's existing controls Instrumented browser sessions in Marshy plus basket/order records
Structured commerce integration An approved client uses a supported cart or checkout protocol Integration, request, and order records; browser classification only where pages are instrumented

Start with the path you actually support. You do not need to replace a working storefront before making its basket review clearer.

What changes when an assistant is shopping?

A visual storefront may ask visitors to navigate a menu, dismiss a promotion, open a carousel, and interpret a variant picker before they can review a basket. Once the desired products are known, some of those steps add work without helping the purchase decision.

Start with one observed failure. In Marshy, inspect the journey of a classified agent session around product selection and checkout. Compare the session with the backend basket and order records. Look for incomplete variants, repeated cart edits, unclear errors, or a handoff that lost the basket.

These are candidate problems to investigate, not reported merchant results. Your experiment should address a specific observed problem before introducing a new shopping path.

Design a faster route to review and checkout

Keep your existing storefront, then offer a clear alternative once the basket is ready. A browser agent can use an ordinary labeled link; identifying its vendor is not a prerequisite for making that interface understandable.

Stage Proposed experience What remains authoritative
Product selection Explicit variant, quantity, and availability Merchant catalog and stock service
Basket review One readable list with subtotal and missing information Server basket and pricing rules
Optional offer Compatible product, incremental price, and revised total Current catalog, eligibility, and customer choice
Checkout Direct link to the existing checkout with basket preserved Merchant checkout validation
Human handoff Customer opens the same basket and reviews the final order Customer session and required approval

A button labeled Review basket and checkout is more useful than an opaque “Continue.” Make the ordinary path available as well. If the result is review, absent, or late, the customer should still have a working shopping journey.

Marshy’s classification can be an advisory input to offering this route. Your application implements the presentation. Marshy is not being described here as a hosted checkout engine, recommendation engine, or native Shopify integration.

Distinguish browser routing from agentic commerce protocols

A simpler browser path can be implemented within your existing storefront. A structured agent checkout is a separate integration with its own contract.

Shopify’s carts and checkout documentation describes UCP flows, including a continue_url that hands a buyer to the merchant’s checkout. OpenAI’s Agentic Checkout Spec describes merchant-maintained checkout state and order handling; its page states that Instant Checkout participation is currently for approved partners.

Review the protocol and platform requirements before choosing that route. A server-to-server checkout can take place without loading your browser detector, so measure it through the integration and order records. Do not infer a Marshy browser classification for an uninstrumented transaction.

How should an upsell work for an AI shopping agent?

Present the commercial facts that help the customer decide: compatibility, availability, extra cost, revised total, and what the added product changes. Keep the option explicitly optional and retain a direct route without it.

Consider an illustrative camera basket. The customer has chosen a camera, and the merchant offers a compatible memory card. The offer can state the card’s capacity, compatibility, price, and the total with and without it. If the customer’s stated budget excludes the accessory, the assistant should be able to finish the original purchase without navigating another promotion.

This is a proposed merchandising example, not a measured offer or a product recommendation. Compatibility and pricing should come from your current merchant catalog. Avoid assuming that “agent” means high budget or willingness to buy a more expensive option.

Use the same meaningful terms wherever the offer appears. Hiding fees, adding an item by default, or instructing an assistant to ignore the customer’s constraints creates a worse purchasing experience. Clear catalog information and an explicit optional choice are enough to test the idea.

Keep stock, pricing, and retries consistent

The simplified path should use the same server catalog, pricing rules, inventory constraints, and order validation as the ordinary checkout. A scarce stock hold needs an expiry and appropriate limits, regardless of who navigates the page.

Give a duplicate-sensitive operation a stable identity so retrying the same intended action does not unexpectedly create a second order. For payment requests, follow the processor's specific contract; Stripe documents idempotent requests. That request mechanism complements your own inventory and order-state design.

Preserve the basket when the customer takes over. Show the selected variants, quantities, total, and any required information so the handoff moves the purchase forward.

Connect Marshy observations to the experiment

Install your Marshy integration’s snippet on the shopping journey. Preserve the original classification and the time it became available. Your application can record a separate experience assignment and exposure event.

Field to record Purpose
Cart or experiment subject ID Keep assignment stable for the purchase journey
Marshy session ID and verdict time Correlate the observed browser visit and available result
Experience assignment Distinguish standard journey from simplified review
Offer exposure and explicit selection Separate an offer shown from an offer accepted
Backend order ID and outcome Count completed purchases and reject duplicate attempts
Order economics and later adjustments Evaluate margin, cancellations, and returns

Collect minimal correlation identifiers. Payment details and full customer records are unnecessary in a classification event. The PostHog bridge tutorial explains one manual way to forward the Marshy observation; experiment assignment and order events remain application work.

Measure whether the new experience helps

Define eligibility before rollout, such as an instrumented browser session with an agent verdict available before basket review. Assign eligible carts or accounts consistently to the standard or simplified path. Keep assignment independent of later conversion and preserve the original cohort if control changes midway.

Compare like-for-like journeys. Comparing every agent session with every human session cannot isolate the effect of the new checkout. The populations may differ in intent, traffic source, basket value, and task length.

Choose one primary metric and record its denominator. Completed orders per eligible assigned cart is a useful starting point. Also track time to order, abandonment, accepted offers, contribution margin per eligible cart, and subsequent cancellations or returns. Report classification coverage and visits that were ineligible because the result arrived late or was unavailable.

An increase in average order value can coexist with fewer purchases. Evaluate total contribution per eligible cart so a more expensive bundle does not hide a worse conversion outcome. Predeclare the observation window, sampling plan, and stop conditions rather than stopping at a favorable early result.

Download the checkout experiment worksheet to record the hypothesis, eligibility, offer, measurements, and decisions. It contains no prefilled uplift figures.

Start with one improvement

Choose a single friction point and one optional offer. Build a stable basket-review route, test the human handoff, and inspect the resulting sessions in Marshy. Keep server pricing, inventory, permissions, and final order validation consistent across the experiment.

Use the ecommerce playbook for cart, stock, and order controls and the measurement guide for classification denominators. Get started with Marshy to understand where classified agents encounter friction in your own shopping journey.

Sources checked October 8, 2026. The flow and experiment are proposed merchant implementations; no conversion uplift, customer outcome, or native commerce connector is asserted.

Keep reading
Peopleand Agents

See who's visiting your website.

Connect your website to see agent traffic, follow session journeys, and understand your customers' activity.