01Discovery

What is agents.txt?

agents.txt is a discovery manifest a store publishes at /agents.txt. It is the first file an AI agent reads on arrival, and it points the agent to everything it needs to transact: the store's Terminal (its agent API), the identity issuers the store trusts, its checkout surface, and its machine contract. Think of robots.txt for crawlers, and agents.txt for buyers.

02The distinction

robots.txt is for reading. agents.txt is for buying.

robots.txt governs crawling: which bots may read your content, and which paths are off limits. It has been the web's convention for crawlers for decades.

agents.txt answers a different question. When an agent arrives not to read but to transact, it needs to know where your agent surface is: your API, your checkout, the credentials you accept. agents.txt is that pointer. It does not replace robots.txt; it sits beside it for a new kind of visitor.

An agent that wants to buy from you, rather than index you, starts at agents.txt.

03The manifest

What is in an agents.txt.

It is a short, plain-text file. Each line is a pointer the agent follows. The core fields:

FieldWhat it points to
TerminalThe store's agent API, where identity, rate limits, and capabilities are enforced
KYA-IssuersThe know-your-agent credential issuers the store trusts
OpenAPIThe machine contract, so an agent can build a typed client with no out-of-band lookup
CheckoutThe checkout surface an agent calls to complete a purchase
DirectoryA discovery endpoint for finding businesses and their Terminals
MCP-EndpointThe hosted MCP endpoint, for agents that speak the tool-call transport
Pricing-HintNon-binding pricing signal; the canonical terms live at the Terminal

The file itself is a thin pointer, not a permissions standard. It does not grant or deny access. Identity verification, rate limits, and capability rules all happen at the Terminal the manifest points to. The manifest just gets the agent to the right door.

04The follow-through

What an agent does next.

Once the agent has the manifest, it follows the pointers:

  • Fetch the OpenAPI spec and build a typed client, no bespoke integration.
  • Present a know-your-agent credential from one of the trusted issuers, a signed token that proves who the agent is and who it acts for.
  • Call the checkout surface and complete the purchase, settling on the store's rail.

Every step is machine-readable and consented, which is what makes an agents.txt store legible to a buyer's agent instead of something it has to scrape. See how the checkout protocols fit together.

05Publishing one

How to publish an agents.txt.

Serve a plain-text file at /agents.txt (and, by convention, at /.well-known/agents.txt) with the pointers above. That is the whole mechanism: no build step, no framework.

Facet stewards the open agents.txt manifest and publishes a correct one for a store the moment it is mounted, pointed at that store's Terminal, the trusted issuers, and its checkout. This is part of the layer Facet installs above an existing store: the store stays exactly as it is for human shoppers, and the agent-facing surface, discovery manifest included, is generated and kept current for it.

06Straight answers

Questions about agents.txt.

What is agents.txt?+
A discovery manifest a store publishes at /agents.txt. It points an arriving agent to the store's Terminal (the agent API), the identity issuers it trusts, its checkout, its OpenAPI spec, and pricing hints.
How is it different from robots.txt?+
robots.txt governs crawling, which bots may read your content. agents.txt is a discovery pointer for agents that want to transact: it says where your agent API and checkout are. An agent that wants to buy, not just read, starts at agents.txt.
Is agents.txt a permissions standard?+
No. It is a thin discovery pointer, not access control. Identity verification, rate limits, and capability rules happen at the Terminal the manifest points to, not in the file itself.
What does an agent do after reading it?+
It follows the pointers: fetches the OpenAPI spec to build a typed client, presents a know-your-agent credential from a trusted issuer, and calls the checkout surface to transact.
How do I publish one?+
Serve a plain-text file at /agents.txt with the pointers to your Terminal, trusted issuers, OpenAPI, checkout, and directory. Facet publishes and maintains it for a store automatically when the store is mounted.

Get an agents.txt, and the surface behind it.

Mount your store with Facet and it publishes a correct agents.txt for you, pointed at your Terminal, checkout, and trusted issuers. About five minutes, no theme changes.

Make your store agent-ready →
Published for you Non-custodial Any platform Site untouched