Cates Works
All notes
Product notes/ 6 min read

The same URL, two different answers: building a storefront an AI agent can actually shop

August 6, 2026

Request the same product page twice — once as a browser, once as an AI agent — and a headless storefront can send back two completely different answers. The browser gets a full page: styled HTML, images, a checkout button. The agent gets a few thousand tokens of clean, structured fact: name, price, stock, variant options, nothing to parse out of a megabyte of markup. Same URL. Same product. The only thing that changed is who — or what — is asking, communicated in a single request header most stores never bother to check.

Why this matters before it’s mainstream

Most shoppers aren’t buying through an AI assistant yet. Say that plainly, because pretending otherwise is the fastest way to lose credibility with anyone technical enough to check. But “most shoppers aren’t doing this yet” is precisely the argument for building it now, not the argument for waiting — a storefront that already speaks this format the day a customer’s assistant goes looking for it is found; a storefront that doesn’t simply isn’t part of that conversation, and there’s no fast way to retrofit your way back into a channel after it’s already decided you don’t exist in it.

Recap: early is a decision to make while it’s cheap, not a reason to wait until it’s obvious.

What this actually is

The mechanism is content negotiation — an old, boring, well-understood piece of the web (the `Accept` header has been part of HTTP since before most storefronts existed) applied to a genuinely new audience. A browser’s request says, implicitly, “send me something to render.” An agent’s request can say “send me something to reason about.” A storefront built to notice the difference sends back structured data instead of forcing the agent to scrape a rendered page and guess at what mattered.

That’s the whole trick. Nothing exotic, nothing proprietary — just a storefront that was actually built to answer both kinds of requests instead of assuming every request comes from a browser.

Recap: this is standard infrastructure pointed at a new reader, not a new invention.

The proof isn’t a slide — it’s this pipeline

It’s easy to claim “agent-ready” as a buzzword. Here’s the version that’s actually checkable: this site’s own content — pricing, the work catalog, and this post itself — is published through a real MCP server, built in this same codebase, that lets an AI coding assistant read, draft, validate, and publish content directly, with the same authorization and audit trail a human editor gets. That’s not a hypothetical architecture described for a sales page. It’s the exact pattern that publishes the sentence you’re reading right now.

The claim for a storefront is the same pattern pointed at commerce instead of content: the MCP hooks that let an agent draft and publish a blog post are structurally the same kind of hooks that would let a shopping agent browse a catalog, check stock, and place an order on a customer’s behalf — read, reason, act, with permission and a trail. Building one is genuine, demonstrated practice with the other, not a claim borrowed from someone else’s demo.

Recap: this isn’t theoretical agent-readiness — it’s the same infrastructure already running this blog, aimed at a storefront instead.

What this actually unlocks for a merchant

Picture a customer using an AI assistant to research and compare a whole shopping list at once — not one search at a time, but one conversation, with the assistant pulling real product data from every store it can actually parse. A store with agent-ready pages is part of that conversation. A store without them is invisible to it, not because the products are wrong, but because the page never gave the assistant anything usable to work with.

That’s the entire value proposition in one sentence: being legible to a channel that’s forming right now, while most competitors have given it no thought at all.

Recap: this is about being findable by a tool your customer is already using — not about replacing your storefront’s human experience.

The honest caveat

This is built on a preview-stage toolkit — genuinely a preview, not generally available, with APIs that will keep moving before they settle. That’s a real caveat, not a hedge to bury the pitch: the honest cost of building on the leading edge is the engineering you own afterward to keep pace with it, and any pitch that skips that part isn’t being straight with you. The value of building here now is being early to a channel that’s forming, not a claim that the underlying toolkit is finished. It isn’t, yet — and being early is the entire point.

Recap: this is a real, working capability built on a moving foundation — worth having now precisely because it’s early, not despite it.

The takeaway

Agent-ready commerce isn’t a hypothetical feature — it’s the same MCP-driven publishing pattern already running this site’s own content, pointed at a storefront instead. Most shoppers aren’t there yet. The stores that are ready when they arrive are the ones that built it before it was obvious.

Capabilities this touches

Let’s talk

Have a project, or a product that could work harder?

Most projects begin with a short, no-pressure discovery call.