Article · AI & Agent Experience

Designing for AI Agents as Users

Eight steps to make your product work for its second kind of user – and for the human who sent it.

Your product now has a second kind of user: AI agents that browse, fill in forms and buy on someone’s behalf. The good news is that most of what makes a site work for agents is good accessibility practice you should already be doing. NN/g and Google reached this conclusion independently. The bad news: polished, motion-heavy interfaces often break for agents in ways no human tester notices.

This guide takes you through eight steps, from how agents see your site to designing for the human who sent them, followed by the most common pitfalls.

Two meanings of “AX”

Agent Experience in the sense of Mathias Biilmann (Netlify, Jan 2025) means the agent is the user. Many blogs use “AX” for the experience of people using agents. This guide covers the first meaning; step 8 touches the second, because the agent always acts for a person.

STEP 01

Understand how agents perceive and act

Agents don’t see your site on a monitor; they work from a machine-readable version of it, and its quality decides how well they perform. According to Google’s web.dev guide, agents read a page through three channels and usually combine them:

Channel What the agent gets Where it fails
Screenshot + vision modelLayout, grouping, size and colour as signals of importanceSlow and token-expensive; confused by shifting layouts, overlays, tiny targets
DOM / raw HTMLNesting, IDs, classes, raw text and dataA styled <div> looks like text, not a button
Accessibility treeRoles, names and states of interactive elementsMissing labels, wrong roles, unnamed icon buttons

There are also two broad kinds of agent visitor:

Browser agents

E.g. ChatGPT agent/Atlas, Google’s Project Mariner. They operate your UI like a person.

Protocol agents

Skip the UI and call tools or APIs (MCP, WebMCP, commerce protocols, see step 6).

Most products will need to serve both for some time.

Do this

Watch an agent use your top three journeys (sign-up, search, checkout) and note where it hesitates, retries or gives up. Treat it like a usability test with a very literal participant.

STEP 02

Build on semantic, accessible markup

The accessibility tree is the agent’s most reliable map, so the cheapest agent fix is an accessibility fix. Google is explicit that everything that makes a site “agent-ready” also makes it better for humans, and advises against building a separate agent version.

  • Use <button> and <a> for actions, not clickable <div> or <span>. If you can’t, add role and tabindex (e.g. <div role="button" tabindex="0">).
  • Link every <label> to its input with for, so the field’s purpose sits next to the action.
  • Give icon-only buttons an accessible name (aria-label="Add to cart"), not just a glyph.
  • Use landmarks and a real heading hierarchy (<header>, <nav>, <main>, h1–h3) so the agent knows which region it is in.
  • Keep related controls inside their container: a “Buy now” inside a product card is read as belonging to that product.
  • Set cursor: pointer on clickable elements; Google calls it a strong signal of actionability.
Do this

Open Chrome DevTools → Accessibility pane and check your key screens. Every interactive element needs a sensible role, a name and its state (checked, expanded, disabled).

STEP 03

Keep layouts stable and actions visible

Agents that work from screenshots get lost when the page moves under them. Google calls sites with complex hover states, shifting layouts and fluid motion “functionally broken” for agents.

Stable positions

Keep the primary action in the same place across templates. An “Add to cart” button that moves per product category confuses screenshot-based agents.

No hover-only actions

Anything needed to finish a task must be visible without hovering. Agents don’t reliably trigger hover states.

No ghost elements

Avoid transparent overlays on top of interactive elements. Visual analysis may discard covered nodes even if the overlay looks invisible.

Minimum size

Google says targets under 8 square pixels risk being filtered out. Aim much higher: WCAG 2.2 AA asks for 24×24 CSS px, which helps humans too.

Limit layout shift

Load content into reserved space, keep motion short, and respect prefers-reduced-motion.

Reflect every step in the UI

State changes (item added, filter applied) must be visible on the page, not only in a toast that vanishes after two seconds.

Do this

Add an “agent pass” to design reviews: could someone who can’t hover, can’t see animation and reads the page as a list of controls finish this flow?

STEP 04

Make content and data machine-readable

Agents compare facts, not moods: they ask for price, size, availability and delivery time, not your logo. German e-commerce expert Stefan Wenzel puts it this way in t3n: structured product data matters more than brand storytelling when an agent is the shopper.

  • Text, not pictures of text: price lists, opening hours or specs that exist only as an image or PDF are a dead end for many agents (mowa.studio).
  • Structured data: mark up products, offers, events and FAQs with schema.org (JSON-LD). Keep it in sync with the visible page.
  • Complete attributes: price incl. VAT and shipping, stock, variants, dimensions, return policy. A missing attribute often means the agent picks a competitor.
  • Clear, unambiguous wording: one name per thing, units always given, no “from €9*” with the condition hidden in a footnote.
  • Fast, server-rendered core content: content that appears only after heavy client-side scripts or user interaction may never be seen.
Myth check

llms.txt is a proposal, not a standard, and Google says its Search does not use it. Google’s May 2026 guidance on AI features stresses that solid technical SEO remains the foundation. Fix your data before chasing new files.

STEP 05

Design forms, flows and errors an agent can recover from

Forms are where agents fail most often. Biilmann’s definition of AX includes exactly this: can an agent find your service, use it reliably and recover from errors?

  • Short and predictable: fewer steps, fewer fields, standard field types. Long multi-step wizards are a known stumbling block.
  • Standard autocomplete: use autocomplete values (email, postal-code, cc-number), type="email", inputmode and native date pickers instead of custom widgets.
  • Explicit constraints up front: show format and limits before input (“DD.MM.YYYY”, “max. 500 characters”), not only after a failed submit.
  • Machine-readable errors: put error text next to the field, link it with aria-describedby, set aria-invalid, and say how to fix it. “Invalid input” helps no one.
  • Idempotent, reversible actions: agents retry. A double-clicked “Pay” must not charge twice; an undo or cancel path must exist.
  • Clear end states: a confirmation page with order number and summary as text tells the agent (and the human) that the task is done.
  • Deliberate gates: CAPTCHAs, cookie walls and pop-ups block agents. Use them where you want to stop automation, not by accident on every page.
Do this

Run your checkout with an agent and with a screen reader. Every point where either one stalls is a bug for both.

STEP 06

Offer explicit interfaces where clicking is the wrong tool

A good UI is the baseline; for frequent, high-value tasks, give agents a direct way in instead of making them click. The standards now split into layers:

Layer Standard Who / since Use it for
Tools and dataMCPAnthropic, Nov 2024; Linux Foundation since Dec 2025Exposing your service to agents as callable tools
Tools in the web pageWebMCPGoogle + Microsoft, W3C proposal; Chrome 149 origin trialAnnotating forms or registering JS functions as tools in the page
Agent to agentA2AGoogle, 2025Agents delegating to other agents
PurchaseACP, UCPOpenAI/Stripe, Sep 2025; Google/Shopify, Jan 2026Agent-ready checkout and payment
IdentityWeb Bot AuthCloudflare, IETF draftVerifying who an agent is (step 7)
Don’t bet on one protocol yet

OpenAI’s first Instant Checkout was not flexible enough, and since March 2026 merchants use their own checkout again. Clean data and a working UI pay off whichever protocol wins.

STEP 07

Plan for identity, trust and security

Opening your product to agents also opens it to manipulated agents. OpenAI admits that prompt injection may never be fully “solved” for browser agents like Atlas, and the UK’s NCSC makes the same warning (CyberScoop).

  • Know who’s visiting: User-Agent headers are easy to fake, and many agents pose as Chrome. Cloudflare’s Web Bot Auth lets agents sign requests cryptographically; verified “signed agents” include ChatGPT agent and Browserbase. Card networks (Visa, Mastercard, PayPal) issue tokenized agent credentials for payments.
  • Policy over blocking: the hard question is what you allow, not the technology (WorkOS). NN/g warns that blocking agents without a reason risks pushing users to competitors who let them in.
  • Scoped permissions: let users grant agents limited rights (read only, spending limit, specific actions), revocable at any time.
  • Don’t become the attack vector: user-generated content (reviews, comments, listings) can carry hidden instructions. Don’t render untrusted text in places agents treat as instructions, and never put hidden text in your own pages to steer agents.
  • Human confirmation for consequential steps: payment, deletion, sending data to third parties. A big red “Delete” is read more cautiously than a small link, so keep visual weight honest.
Note the debate

Critics such as agentcommunity.org argue Web Bot Auth is built for bots and acts more like a moat than a neutral identity layer. Identity is being standardized now, and who controls it is still open.

STEP 08

Design for the human behind the agent

An agent is never the end user; there is always a person whose money, data and reputation are on the line. NN/g’s follow-up article proposes “experience design” as the umbrella term precisely because human goals stay at the centre.

Victor Yocco’s Smashing Magazine series offers concrete patterns:

Match autonomy to risk

From “observe and suggest” to fully autonomous. Browsing can be autonomous; paying, cancelling or sharing data needs a human step.

Intent preview

Before acting, show what the agent is about to do (“Book 2 tickets, €84, Fri 19:30, pay with Visa •1234”).

Action audit

A readable log of what an agent did on the person’s behalf, in their account, with time and source agent.

Easy correction

Undo, cancel and dispute must be as easy for the person as the action was for the agent.

Limits the person sets

Spending caps and manual confirmation are what c’t/Handelsblatt advise consumers to use. Germany’s Advisory Council for Consumer Affairs also recommends spending limits in its October 2026 report (juraforum).

Notifications to the human

Confirmation emails and receipts go to the person, not only back to the agent.

WATCH OUT

Pitfalls to avoid

Pitfall Why it hurts Instead
Building a separate “agent version” of the siteDouble maintenance; Google advises against itOne accessible site, plus explicit tools (step 6) for key tasks
Blocking all agents by defaultUsers who delegate drift to competitors (NN/g)Decide per action: allow reading, gate paying
Div-buttons, icon-only controls, hover menusInvisible or meaningless in the accessibility treeSemantic HTML, accessible names, visible actions
Prices and specs as image or PDFAgent can’t compare, picks a competitorText plus schema.org data
Treating llms.txt or “GEO hacks” as the fixNot a standard; Google Search doesn’t use llms.txtTechnical SEO and clean data first
Hidden text to steer agentsLooks like prompt injection; erodes trust and may be penalizedHonest, visible content
One-click consequential actionsAgents retry and misread; costly mistakesIntent preview, confirmation, idempotency, undo
Trusting the User-Agent headerTrivially faked; many agents pose as ChromeSigned requests (Web Bot Auth), tokenized credentials
Betting on one commerce protocolACP and UCP are young; OpenAI already changed courseProtocol-agnostic data and checkout
Taking trillion-dollar forecasts as factMcKinsey ($3–5T by 2030) and Gartner (90% of B2B purchases by 2028) are predictionsLook at usage surveys: people research with AI, few delegate the purchase yet
Assuming analytics shows agent trafficAgent visits often look like normal sessions or don’t show at allLog server-side, segment verified agents
Confusing the two meanings of AXTeams talk past each otherSay “agent as user” or “human using agent” explicitly
On the numbers

McKinsey’s European survey (n = 2,145, Mar 2026) found 63% use AI to compare products, but few hand over the purchase. In the German-speaking retail sector, 11.6% already use agentic-commerce applications (EHI via retail-news). Prepare now, but don’t redesign for a fully autonomous future that isn’t here yet.

CHECKLIST

Checklist

SOURCES

Sources

From the reading list, plus searches on 4 Nov 2026 (marked *). Added from general knowledge: WCAG 2.2 target size (24×24 px, AA), HTML autocomplete/ARIA error patterns, idempotency for retried actions.

Design and UX

Gibbons, Moran: AI Agents as Users, NN/g, 10 Apr 2026 (summary used: thehuman2ai*)

NN/g: Experience Design: Dropping the “User” from “User Experience”, 30 Oct 2026

Biilmann: Agent Experience / Introducing AX, Netlify, 28 Jan 2025

Yocco: Designing for Agentic AI: Practical UX Patterns, Smashing Magazine, 11 Feb 2026

Agent Experience (AX): Was KI-Agenten auf Deiner Website erleben, berger.team, 2026

KI-Agenten auf Websites, mowa.studio, 2026

Web and standards

Kulikowski, More: Build agent-friendly websites, Google web.dev, Apr 2026*

Google Publishes Guide to Building Agent-Friendly Websites, Search Engine Journal*

WebMCP Standard Proposal Now Available in Chrome (Origin Trials), InfoQ, Jun 2026*

Google Details WebMCP Origin Trial for Chrome 149, The DropTimes, 2026*

Howard: /llms.txt proposal, Answer.AI, 3 Sep 2024

Google’s new guide for AI search, PPC Land, May 2026

Introducing the Model Context Protocol, Anthropic, 25 Nov 2024

Commerce

Developing an open standard for agentic commerce, Stripe, 29 Sep 2025

New tech and tools for retailers (UCP), Google, 11 Jan 2026

Europe’s agentic commerce moment, McKinsey, 2 Mar 2026

Scherer: KI-Agenten als Käufer, t3n, 30 Jun 2026

Agentic Commerce: Wer haftet, wenn KI einkauft?, heise/c’t, May 2026

KI kauft für Sie ein: Diese Risiken sollten Sie kennen, Handelsblatt (dpa/tmn), 20 May 2026

KI-Agenten gehen shoppen, juraforum.de, Oct 2026

EHI study on agentic commerce, retail-news.de, Sep 2026

Security and identity

Forget IPs: using cryptography to verify bot and agent traffic, Cloudflare, 15 May 2025

Web Bot Auth: How to identify AI agents, WorkOS, 2026

Web Bot Auth, not for agents, agentcommunity.org, 23 Aug 2025

Otto: OpenAI says prompt injection may never be ‘solved’, CyberScoop, 30 Dec 2025