Skip to content

Make your website usable by AI agents: llms.txt and more

To make a business usable by AI agents, publish three things an agent can read without guessing: a plain-text summary at /llms.txt, structured schema.org data that states who you are and what you offer, and an API an agent can call to do the one thing you want it to do, such as ask for a quote. Add a human-readable page that explains the rules. Our own site does all four, so this guide uses it as the worked example.

What an agent needs from a business

An assistant working for a person has four questions: what does this business do, where do I start, which facts can I rely on, and what am I allowed to do here? Each of the pieces below answers one of them.

A plain-text summary: llms.txt

llms.txt is a plain-text file at the root of a site that summarizes it for language models. It is a proposed convention, not a standard that every assistant reads, so treat it as a cheap, harmless addition rather than a promise. Ours is short: one sentence on what the business does, a link for each product, and a line about the 22 Archetype sites. It is generated by the same theme code that holds the site’s other public facts, so the file and the pages are less likely to drift apart. Keep yours short, factual and free of marketing, and update it when the business changes. You can read ours at /llms.txt.

Facts software can check: schema.org data

Schema.org is a shared vocabulary for describing a business, a page or a product, usually written as JSON-LD inside the page. We publish an organization record with the business name, contact details, opening hours and services at /schema.json, and add page-level data where it fits: the homepage’s questions as FAQ data, app pages as software, each of the five pages for businesses as a service, each Archetype as a product, and the quote endpoint as a web API.

The rule to follow is to mark up only what a visitor can see. Our homepage FAQ data, for example, is generated from the same list the page prints, so the two cannot disagree. Stale or invented markup is worse than none.

An API an agent can call

An agent can read your pages, but it can only act through something it can call. Pick one useful action and expose it cleanly. Ours is a quote request:

  • A POST of JSON to /wp-json/alcoros/v1/contact, with name, email and message required. Optional fields include the company, a timeline, how the job is handled today and what should be different.
  • A submission ID, a UUID the agent generates once and reuses on retries, so a request is saved once even if the connection drops.
  • Plain responses: 200 with ok true means we have it, 400 names the missing field, and 409 means the same ID was reused with different details.
  • A machine-readable description in OpenAPI 3.1 at /openapi.json, and a catalog of services at /agents.json.

Nothing is charged or booked through it. A person at Alcor reads each request and replies by email, and work starts only after the person it is for agrees to a written quote.

Rules for agents, in plain words

Publish the rules where a human can read them too. Ours, on /agents/, say that an agent should send a request only when the person or business it acts for asked it to, use their name and an email address they read, say in the message that it is an AI agent and whom it acts for, and reuse the same submission ID when it retries. The same page tells a human who wanders in what the API is and how to reach a person instead.

Decide who may read the site: robots.txt

Our robots.txt names the main AI crawlers and assistants explicitly, such as GPTBot, ClaudeBot and PerplexityBot, allows them, and points them to the agent files. Which to allow is a business decision. Vendors describe different purposes for different crawlers, from collecting training data to fetching a page when a user asks, so you can allow or block each one separately.

MCP servers and tool APIs

A single form-style endpoint is the simplest start. For richer tasks, such as checking stock, getting a price or booking a slot, a business can expose a Model Context Protocol server or a JSON API so assistants can work with it directly, with the owner’s rules built in. That is a larger build, and for us it is custom plugin work.

A checklist to start

  1. Write a short /llms.txt: what you do, and a link for each product or service.
  2. Add schema.org JSON-LD for your organization, and for any page where it matches what visitors see.
  3. Choose one action an agent can take, and publish an OpenAPI description of it.
  4. Add a human-readable page that states the rules and gives a person to contact.
  5. Review robots.txt on purpose, not by default.
  6. Ask an assistant to complete the task from start to finish, and fix what it gets wrong.

Limits

  • No assistant is certain to read llms.txt, use your schema.org data or call your API. These are cheap ways to be easy to work with, not promises of traffic or citations.
  • Structured data must match the visible page. Keep it up to date or remove it.
  • A public API that writes to your systems needs abuse controls, a human in the loop and a clear rule about spending. Ours writes to the same store as the web form, with the same spam checks, and nothing happens until a person replies.
  • Agents make mistakes. Keep anything that sends, deletes or spends behind a person’s approval.

Next step

Agent-ready website work, meaning llms.txt, schema.org data and an agent-callable quote, booking or order API, is custom plugin work for us, with a written quote first. See the agents page, read about private AI infrastructure if the assistant should run on your own hardware, or get a written quote.

Share this article

← Back to all articles