How to Integrate Agentic Commerce Into Your Website: A Layer-by-Layer Guide
A practical, layer-by-layer guide to agentic commerce integration: discovery (llms.txt), structured data, agent actions, and when UCP/ACP actually matter.
Long Nguyen
Founder & Research Lead
Two different problems people mean by "integrate agentic commerce"
Before touching any code, separate the two things this phrase gets used for, because they call for different work:
| Platform commerce protocols | Site-level agent readiness | |
|---|---|---|
| What it is | Registering as a merchant with UCP (via Google Merchant Center / Shopify) and/or ACP, so agents can transact inside Google's or OpenAI's own surfaces | Making your own site discoverable, readable, and actionable to whatever agent visits it directly — Claude, ChatGPT with browsing, Gemini, Perplexity, a user's personal assistant |
| Who it fits | Retailers with a product feed at real scale, ready to operate inside someone else's shopping surface | Any website — ecommerce or service business — that wants to be legible to the agents already crawling and browsing it today |
| Effort | Feed integration, Merchant Center onboarding, PSP/payment-handler setup | A few well-known files and structured endpoints, buildable incrementally |
This guide is about the second path. It's the one that applies regardless of your size, it's the one Netalith runs on its own site, and — realistically — getting it right is also what a platform integration would need on top of it anyway, since UCP and ACP both still expect a coherent underlying product/service record.
Layer 1 — Discovery: let agents find and understand you
Before an agent can act on your site, it has to reliably fetch and parse it. Three pieces do most of the work:
- llms.txt at your domain root — a short, plain-text index pointing agents to your most important pages, separate from and complementary to robots.txt. Adoption is still early across the web, but it's low-effort and low-risk to add.
- robots.txt with explicit AI crawler rules — allow or restrict the documented user-agents (GPTBot, ClaudeBot, PerplexityBot, and others) per path, the same way you'd manage any other crawler. One honest caveat worth knowing before you spend time on it: Cloudflare's proposed Content-Signal directive (a "search=yes, ai-input=yes, ai-train=no" style line) has essentially no confirmed adoption among major crawlers as of mid-2026 — Google's own John Mueller has said no crawler is known to act on it. Treat it as a low-cost preference statement, not an enforcement mechanism; real access control still happens at the server or CDN layer.
- Markdown content negotiation — serving a clean Markdown version of a page when an agent requests it (via an Accept header or a predictable URL variant), instead of forcing every agent to parse rendered HTML. This is the single highest-leverage piece for content-heavy pages like blog posts and product detail pages, because it removes template noise and lets the agent spend its context budget on the actual content.
On our own storefront project, this looks concretely like an AgentMarkdownMixin applied to product and blog detail views, so any agent requesting those pages gets a clean Markdown rendering instead of the full templated HTML.
Layer 2 — Structured data: give agents a reliable record to trust
Discovery gets an agent to the page; schema markup is what lets it trust what's on it without re-deriving facts from prose. This is its own deep topic — see our guide on ecommerce schema (Product, Offer, Review) for the field-by-field detail. The short version for this layer: an agent deciding whether to recommend or transact with you needs a structured, unambiguous answer to "what is this, what does it cost, is it in stock or available, and who's behind it" — and that answer needs to match what's visibly on the page, or the mismatch itself becomes a trust problem.
Layer 3 — Actions: let agents actually do something
This is where most sites stop, because everything above is read-only. An agent that can find and understand your pages still can't submit your contact form, request a quote, or complete a checkout unless you've explicitly built a way for it to do that — reliably, not by simulating clicks on a form it's guessing at.
The current toolkit for this layer includes WebMCP (a browser-native way to register your existing forms and JavaScript functions as agent-callable tools), backend MCP servers and agents.json-style discovery files (for agents that call your capabilities directly rather than through a browser), and clear, well-labeled HTML forms as the baseline that makes either approach possible. We cover this layer in full, with our own implementation as the working example, in how to let AI agents take actions on your website.
Layer 4 — Platform protocols: only once you're operating at that scale
UCP and ACP belong here, and they're worth genuinely evaluating once layers 1–3 are solid and you're either running a real product catalog through Google Merchant Center or considering a checkout presence inside a specific AI surface. Both protocols assume you already have the structured product/service data from layer 2 — they don't replace it, they consume it. For most service businesses and smaller stores, layer 4 is a "watch and revisit" item rather than a near-term build, especially given how quickly the specifics moved in 2026 (ACP's own in-chat checkout flow was live for only about five months before OpenAI wound it down).
A practical rollout order
| Order | Layer | Why this order |
|---|---|---|
| 1 | Discovery (llms.txt, robots.txt, markdown negotiation) | Cheapest to ship; everything downstream depends on agents being able to fetch and parse your pages at all |
| 2 | Structured data (schema.org on key pages) | Turns readable pages into trustworthy, machine-verifiable facts |
| 3 | Actions (forms, WebMCP, MCP endpoints) | Only worth building once there's reliable data underneath the action |
| 4 | Platform protocols (UCP, ACP) | Only relevant once you're operating at the scale and surface those platforms target |
Building layer 4 before layer 1 is the most common mistake we see — chasing a checkout-protocol headline while an agent still can't reliably read the product page it's supposed to check out from. Sequencing this correctly — and knowing how far to actually go before a given layer stops paying off — is exactly the kind of scoping our SEO/AEO/GEO service handles for teams who'd rather not work through the ordering themselves.
What this looks like on our own site
Netalith runs this stack on its own storefront work rather than treating it as theoretical. On our auto-parts ecommerce client site, the discovery layer is llms.txt plus a Markdown content-negotiation mixin on product and blog pages, robots.txt with explicit AI crawler rules, and a /.well-known/api-catalog endpoint publishing a Linkset of the site's available APIs — a general, IETF-registered well-known URI for API discovery, distinct from and lighter than a full UCP merchant manifest. Access to those APIs sits behind token authentication rather than being open by default. That combination — discoverable, structured, and access-controlled — is the practical shape of layers 1 and 2 done properly, and it's the foundation the action layer in the next article builds directly on top of.
If you want a clear read on exactly where your own site currently sits across these four layers — not a generic checklist, but a prioritized list specific to your pages — that's what our Audit + Roadmap is built to deliver, typically within 24–48 hours.