Skip to content

How to get your website ready for visitors that are AI agents

More and more visits come from AI agents looking for answers on someone's behalf. Eight things you can do on your website today, without rebuilding anything.

More and more visits to the web come from AI agents, AI assistants that read your website on someone else's behalf. They look for an answer, compare and move on. Most of what you need to do for them to find the right thing is the same as what makes the web better for people. Here are eight things you can start with today.

1. Give the answer early

An agent reads the whole page, but it looks for whatever answers the question. Put the answer first and go deeper afterwards. A page about opening hours should start with the opening hours, not with a welcome message.

2. Use headings that say something

Headings are the table of contents of a page, both for people who skim and for agents. "How to apply" says more than "Information". Use the heading levels in the right order, so that it is clear what belongs together.

3. Write out what the images say

An agent doesn't see images the way you do. If an image contains something important, such as a price or a date, it also needs to be there as text. Give every image that carries information an alt text that describes what it shows and why it is there. We have written more about this in How to write alt text that helps both people and AI.

4. Let lists be lists and tables be tables

Prices, steps and comparisons are much easier to read correctly when they are real lists and tables, and not text that just looks like one. This is the same thing that makes a page understandable for people who use screen readers. Accessibility and readability for agents go hand in hand.

5. Keep your content up to date

Most websites are at their best on the day they launch. After that the pages multiply, the texts age and nobody has time to see the whole picture. An agent can't know that a page from 2022 is out of date unless someone says so. Show when a page was last updated. Remove or rewrite what is no longer true. Old pages that stay online can give the wrong answer to whoever asks. We have written more about why websites slowly get worse in The web has a second audience. That's why we're building Strife for it.

6. Answer the questions people actually ask

Many people ask an AI assistant the same way they would ask a person. Pages with questions and answers, written the way visitors phrase things themselves, make it easy to find the right answer. Look at the search log on your website. The searches that returned nothing are often the best questions to write answers to.

7. Make sure the content is in the page's code from the start

Many AI crawlers only read what the server sends and don't wait for JavaScript to render the page. Anything that only appears after a script has run may be invisible to them. It is worth asking your developer or agency how your website delivers its content.

8. Decide which bots get in

In the robots.txt file you can tell bots which parts of your website they may read. You can, for example, let in bots that search but keep out bots that only train AI models. According to Cloudflare, fewer than 1% of websites block search bots, while 17% block bots that train.

There is also a proposal called llms.txt. It is a simple file that shows AI tools where the most important content is. It is not a standard yet, but it is easy to add. We have one ourselves for the Strife documentation.

The next step is agents that do things

Everything above is about making sure the agent understands what you write. The next step is for it to be able to do things on your website, like booking an appointment or sending an application. Work is under way on a new web standard for this called WebMCP. We explain it in WebMCP, when the website tells an agent what it can do.

How Strife helps you along the way

In Strife you add content in fields with a clear structure, so that headings, lists and images end up in the right place. Strife shows how easy your text is to read, and Strife's built-in AI works continuously to improve your content and suggest what to do next. In Ask Strife, the chat in Strife, you can for example ask for suggested alt text for images that don't have any. You can do the same from an AI assistant such as Claude, ChatGPT or Copilot. You read the suggestions and decide what gets published.

Read more about working with Strife in your AI assistant