Agent Experiences

AXO quick start guide

Ten practical steps for AXO (agent experience optimization): helping AI assistants find your site, understand it, and quote it. Most steps come with code you can copy.

What you'll do

1

Build the basics

Set up a clear page structure and basic structured data (labels in a page's code that state facts such as the author, date, or price)

2

Add detail

Show who wrote each page, and add more structured data

3

Keep improving

Watch what happens, and adjust as you learn

Two things before you start

Wondering whether this is called GEO (generative engine optimization), AEO (answer engine optimization), or something else? The naming is still disputed, and it matters far less than the ten steps below.

If you'd rather stop AI crawlers (bots that collect pages for AI tools) from training on your content or quoting it, our AI Opt-Out Controls guide has ready-made versions of robots.txt (the file that tells bots which pages they may visit) and ai.txt (an early proposal for stating your site's rules on AI use). It also has server rules that refuse or slow down requests from AI bots, and tips for monitoring.

1

Add basic schema

Structured data helps agents understand your content. The usual format is JSON-LD (labels written inside a script tag in your page). Start with the Article or WebPage type, as in this template.

Article schema template
<script type="application/ld+json">
            {
              "@context": "https://schema.org",
              "@type": "Article",
              "headline": "Your Article Title",
              "author": {
                "@type": "Person",
                "name": "Author Name"
              },
              "datePublished": "2026-01-15",
              "dateModified": "2026-01-15",
              "description": "Article description"
            }
            </script>
2

Create a robots.txt file that names AI bots

List the AI bots you want to let in, using the name each one gives when it visits (its user-agent). Letting a bot train on your pages and letting it quote them are separate decisions, as the comments in this template explain. The last line points bots to your sitemap (a file that lists every page you want found).

robots.txt template
User-agent: *
            Allow: /

            # Training crawlers
            User-agent: GPTBot
            Allow: /

            User-agent: ClaudeBot
            Allow: /

            # Search and citation crawlers decide whether you can
            # appear in AI answers, so treat them separately from training
            User-agent: OAI-SearchBot
            Allow: /

            User-agent: Claude-SearchBot
            Allow: /

            User-agent: PerplexityBot
            Allow: /

            # Google-Extended: whether Gemini may train on your pages and use them in its answers
            User-agent: Google-Extended
            Allow: /

            Sitemap: https://yoursite.com/sitemap.xml
3

Consider llms.txt (a newer proposal)

This is a file called llms.txt (a hand-picked list of your most useful pages). It's written in Markdown, a simple plain-text format, for AI agents and coding tools to read.

Set your expectations first: llms.txt won't get you cited

  • • Ahrefs studied 137,000 sites and found 97% of valid llms.txt files received zero requests in May 2026 (Ahrefs, 2026).
  • • Google's guidance says you don't need llms.txt to appear in Google Search, and that having one neither helps nor harms your visibility there.
  • • It can help agents and developer tools that are pointed at your documentation. Our llms.txt verdict covers who reads it and who doesn't.
  • • Treat it as a nice extra once your HTML, structured data, and sitemap are right. It won't improve your rankings or get you cited.

How llms.txt compares with other files

  • • llms.txt: a proposal for a Markdown list of pages, aimed at agents
  • • robots.txt: the long-standing file that tells bots where they may go
  • • sitemap.xml: a list of your pages that helps search engines find them
  • • ai.txt: a rival proposal with similar goals
llms.txt template (llmstxt.org format)
# Your Site Name

            > One or two sentences describing what this site covers and who
            > it is for. This blockquote summary is part of the spec.

            Optional prose here: scope, conventions, anything an agent needs
            before it starts following links. No headings in this part.

            ## Docs

            - [Getting Started](https://yoursite.com/docs/start.md): Install and first run
            - [API Reference](https://yoursite.com/docs/api.md): Every endpoint with examples

            ## Guides

            - [Schema Markup](https://yoursite.com/guides/schema.md): JSON-LD patterns
            - [Measurement](https://yoursite.com/guides/measurement.md): Tracking agent traffic

            ## Optional

            - [Changelog](https://yoursite.com/changelog.md): Release history

The format is fixed. It starts with one H1 title, then a summary in a > quote block, then any notes you want, then ## sections that list links in the form - [name](url): description. A section called exactly ## Optional holds links an agent can skip when it's short on space.

4

Get your headings in order

Use headings from H1 down to H6 in order (H1 is the page title, H2 a section heading, and so on), so agents can split your page into sensible sections.

One H1 per page
H2 to H6 nested in order, with no levels skipped
Headings that say what each section covers
5

Show the author and the date

Say who wrote each page, when it was published, and when it was last updated. These are trust signals: they help an agent decide whether to rely on the page.

<article>
              <header>
                <h1>Article Title</h1>
                <div class="article-meta">
                  <span class="author">By John Smith</span>
                  <time datetime="2026-01-15">January 15, 2026</time>
                  <time datetime="2026-01-20" class="updated">
                    Updated: January 20, 2026
                  </time>
                </div>
              </header>
              <!-- Article content -->
            </article>
6

Add FAQ schema

Mark up your frequently asked questions with structured data, so an agent can match a common question to your answer.

{
              "@context": "https://schema.org",
              "@type": "FAQPage",
              "mainEntity": [{
                "@type": "Question",
                "name": "What is Agent Experience Optimization?",
                "acceptedAnswer": {
                  "@type": "Answer",
                  "text": "AXO is the practice of optimizing content..."
                }
              }]
            }
7

Add last-changed dates to your sitemap

Give every page in your sitemap an accurate lastmod date (the date it last changed), so bots can tell what's new.

<?xml version="1.0" encoding="UTF-8"?>
            <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
              <url>
                <loc>https://yoursite.com/article</loc>
                <lastmod>2026-01-15T10:30:00Z</lastmod>
                <changefreq>weekly</changefreq>
                <priority>0.8</priority>
              </url>
            </urlset>
8

Track visits from AI bots

Count visits from AI bots in your server logs, so you can see which ones come and how often.

Common AI bots to track, by user-agent name

  • • GPTBot: OpenAI's training crawler (the bot that collects pages to train its models)
  • • OAI-SearchBot: builds the ChatGPT search index. Blocking it keeps you out of ChatGPT search answers.
  • • ChatGPT-User / OAI-AdsBot: ChatGPT browsing, and ChatGPT ads
  • • ClaudeBot / Claude-SearchBot / Claude-User: Anthropic's training bot, its search index, and pages a user asks Claude to fetch
  • • Google-Extended: the name Google checks to see whether you've opted out of Gemini training and of Gemini using your pages to back up its answers. It doesn't affect Google Search, including AI Overviews and AI Mode.
  • • Google-Agent: fetches pages when a Google user asks it to. Added in March 2026, it ignores robots.txt by design.
  • • PerplexityBot / Perplexity-User: Perplexity's index, and pages a user asks Perplexity to fetch
  • • Applebot-Extended, meta-externalagent, Amazonbot, Bytespider, CCBot, MistralAI-User, DuckAssistBot
9

Check your work

Run your pages through free checkers to catch mistakes in your structured data and HTML.

Check your schema

Schema.org Validator

Check your HTML

W3C Validator
10

Keep watching and improving

Set a regular rhythm for checking how you're doing.

Every week, check how often AI bots visit
Every month, check where AI answers quote you
Every quarter, review your content

Further reading from Field Notes

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

All Field Notes