Agent Experiences

AXO worked examples

AXO (agent experience optimization) means making your website easy for AI tools to find, understand, quote, and use. Here are three pages, each shown before and after, so you can see exactly what that changes. One is a product page, one is a reference page for an API (the way other software connects to yours), and one is a blog article.

What these are, and what they are not

These are teaching examples, not client work. We wrote both the “before” and the “after” so each one shows a single technique and what it does to the page's code. No company used these pages, and we won't claim they raise your chances of being cited by any particular percentage.

We left the numbers out on purpose. To measure honestly whether a change gets a page cited more often by AI tools, you would have to keep everything else the same across a large set of pages, and almost no published figure in this field does that. A page that tells you to source your claims shouldn't open with numbers it can't source. What each example shows instead is why the change helps: what an AI agent couldn't work out from the original, and what the new version spells out for it.

Example 1: a product page

Rewritten so an AI shopping assistant can compare it with similar products

Worked example

Before

What's wrong with it

  • • It has no structured data (labels in the code that state the name, price, and brand)
  • • The description could fit any pair of headphones
  • • It never says how long the battery lasts or how it connects
  • • The price has no currency and no sign of whether it's in stock
  • • The product name sits in a small heading instead of the main one
The HTML before:
<div class="product">
              <h2>Amazing Wireless Headphones</h2>
              <p>Experience incredible sound quality with our premium wireless headphones. Perfect for music lovers!</p>
              <div class="price">$199.99</div>
            </div>

After

What we changed

  • • Labeled the page as a product, using the shared vocabulary at schema.org
  • • Gave the full model name and what the headphones actually do
  • • Spelled out the price, the currency, and whether it's in stock
  • • Made the product name the page's main heading
  • • Added the brand and SKU (the shop's own product code) as labeled values
The HTML after:
<article itemscope itemtype="https://schema.org/Product">
              <h1 itemprop="name">Northwind Studio 500 Wireless Noise-Cancelling Headphones</h1>
              <meta itemprop="sku" content="NW-STU500-BLK" />
              <div itemprop="brand" itemscope itemtype="https://schema.org/Brand">
                <meta itemprop="name" content="Northwind Audio" />
              </div>

              <p itemprop="description">
                Over-ear wireless headphones with adaptive noise cancellation,
                40-hour battery life, multipoint pairing to two devices, and
                lossless playback over USB-C.
              </p>

              <div itemprop="offers" itemscope itemtype="https://schema.org/Offer">
                <span itemprop="price" content="199.99">$199.99</span>
                <meta itemprop="priceCurrency" content="USD" />
                <link itemprop="availability" href="https://schema.org/InStock" />
                <meta itemprop="priceValidUntil" content="2026-12-31" />
              </div>
            </article>

We used microdata (labels written into the HTML tags themselves) so you can compare the before and after line by line. On a live site, JSON-LD (the same labels in one separate block inside a script tag) is usually the better choice.

Why the new version works better

An AI agent asked to “find noise-canceling headphones under $250 with at least 30 hours of battery” can't answer from the “before” version, because nothing in it can be compared with another product. “Amazing Wireless Headphones” isn't a model, “incredible sound quality” isn't a specification, and $199.99 in a styled box is just text. The agent can't tell which currency it's in or how long the price holds.

  • • The full model name lets an agent match these headphones on other sites, and the SKU pins down the exact one in your shop.
  • • Battery life, pairing, and connection type are now facts an agent can compare and filter on, where before there were only adjectives.
  • • Price, currency, and stock are the least an agent needs before it can help someone buy the headphones, rather than only describe them.

Example 2: API documentation

A reference page for developers, rewritten so an AI agent can use the API correctly from this page alone

Worked example

Before

What's wrong with it

  • • The endpoint (the web address a request goes to) is only partly given
  • • The example doesn't say which user it fetches, or how
  • • It never says what happens when a request fails
  • • There's no version number, so nobody can tell if it's current
  • • It doesn't say what the request needs or what comes back
Before: vague
## User API
            Get user information by sending a request to our user endpoint.
            Returns user data in JSON format.

            Example: GET /api/user

After

What we changed

  • • Added an OpenAPI 3.0 file (a standard description of the whole API that software can read)
  • • Said what each input is, what form it takes, and whether it's required
  • • Showed a real example of what comes back
  • • Listed every error and what causes it
  • • Stated how many requests are allowed per minute
After: specific
## GET /api/v1/users/{userId}

            Retrieves detailed information for a specific user account.
            Requires a bearer token with the `users:read` scope.

            ### Parameters
            - userId (string, required): Unique user identifier (UUID format)

            ### Response (200 OK)
            {
              "id": "550e8400-e29b-41d4-a716-446655440000",
              "email": "user@example.com",
              "created_at": "2026-01-15T10:30:00Z"
            }

            ### Error Codes
            - 401: Authentication required or token expired
            - 403: Token lacks the users:read scope
            - 404: User not found

            ### Rate Limit
            120 requests per minute per token.

What an agent can now get right

The test for API documentation is simple. Could an AI agent that has read only this page send a request that works, and understand what went wrong when it doesn't? The “before” version fails on every count. The address is incomplete, the input has no name, nobody says what the reply looks like, and there's no version.

  • • A full address with a version number stops an agent from confidently making up an address that never existed.
  • • Inputs described exactly (“string, required, UUID”, meaning text in a standard ID format) take away guesses that would otherwise fail when the request runs.
  • • A real example reply gives the agent the actual field names, so it doesn't invent likely-sounding ones.
  • • Every error listed lets an agent fix the problem instead of trying the same thing again.
  • • A stated rate limit keeps automated traffic within the limits you set.

Example 3: a blog article

An article full of sales talk, rewritten into something an AI tool can quote

Worked example

Before: mostly sales talk

  • • “Revolutionary new approach to learning”
  • • “Game-changing methodology”
  • • Promises of benefits with nothing behind them
  • • No sources and no dates
  • • Headings that don't match the sections

After: built on facts

  • • Each claim stated plainly, with a named, dated, linked source
  • • Steps a reader can follow in order
  • • A clear note on who the method suits and where it falls short
  • • Worked examples
  • • Headings in order, none skipped

How the outline changed

Before:
• Generic title: “Better Learning Methods”
• No clear sections
• Mixed heading levels
• No byline or publication date
• No labels in the code to tell an AI tool what the article is
After:
• Specific title: “Spaced Repetition: Implementation Guide”
• Sections for the method, the evidence, and how to use it, with headings in order and none skipped
• Named author with credentials, plus published and modified dates
• Structured data labeling it as an article, plus a section of common questions

Why the rewrite can be quoted

“Revolutionary new approach” gives an AI tool nothing it can check or repeat as a fact. Each paragraph of the rewrite makes a claim a reader could check against its source.

  • • A specific title matches the way people actually ask their questions.
  • • Named, dated sources let an AI tool check a claim instead of guessing whether to trust it.
  • • Sections that make sense on their own still work when an AI tool quotes just one of them. A paragraph that leans on the three before it doesn't.
  • • A visible author and date tell a reader or an AI tool who stands behind the claim and how current it is.

One warning, and the “after” column follows it on purpose: swapping vague claims for made-up precision is worse than leaving them vague. A statistic with no source is still sales talk, just with a number attached. If you can't cite it, make the point without it.

What all three have in common

1

Real structure

Every “after” version makes sense when an AI tool pulls out just one piece of it. Headings in the right order, and HTML tags that say what each part is, are what let a piece stand on its own.

2

Specific, sourced facts

Model names, exact inputs, and claims with sources replace adjectives. Every specific detail has to be true and sourced, never invented to sound precise.

3

Nothing left to guess

Currency, format, version, scope, and date are all written down. Leave any one out and an AI agent has to guess it, and it may guess wrong.

Further reading from Field Notes

Posts with more on this topic, each with its date.

All Field Notes