Skip to content
AX Principles
AX-SYS-01Foundational

Make your purpose machine-readable

Haz que tu propósito sea legible por máquinas

#all-industries#llms.txt

An agent that cannot parse what your product does cannot use it or cite it. Expose your purpose through structured data, semantic HTML, an llms.txt index, and hosted context files.

Why

Serving markdown instead of full HTML cuts what an agent spends on page chrome: Cloudflare measured one of its blog posts at 16,180 tokens as HTML and 3,150 as markdown, an 80% reduction, and Fern reports over 90% for its documentation tooling. The canonical AX framework (agentexperience.ax, Contextual Alignment) says services must not assume an agent already has enough internal context, and lists MCP, llms.txt, Arazzo and agents.json as the current ways to deliver it. Biilmann puts it as the Context pillar: "Does the LLM know about your product?"

Do

Ship /llms.txt, JSON-LD structured data, and clear <meta> descriptions. Also provide hosted context files agents can use directly: AGENTS.md (coding agent rules), Agent Skills files, and Arazzo workflow specs for complex multi-step interactions. See agentexperience.ax for the full context file ecosystem.

Don't

Rely on JS-rendered pages with no structured data, or assume the model was trained on current documentation about your product.

Artifact

/llms.txt:

# Acme
> One-line description of what Acme does.
## Docs
- [Quickstart](https://acme.com/docs/quickstart.md): get running in 5 minutes
- [API reference](https://acme.com/docs/api.md): endpoints and schemas

Pair with JSON-LD on key pages:

<script type="application/ld+json">
{"@context":"https://schema.org","@type":"SoftwareApplication","name":"Acme",
 "description":"Acme helps teams do X.","url":"https://acme.com",
 "offers":{"@type":"Offer","price":"29","priceCurrency":"USD"}}
</script>

Citations

  1. [01]
    agentexperience.ax: Principles of AX(opens in a new tab)

    Contextual Alignment: digital services must not assume an agent has sufficient internal context; current context-delivery solutions include MCP, llms.txt, Arazzo, and agents.json

  2. [02]
    Mathias Biilmann: AX in Practice(opens in a new tab)

    We need to be very precise about what is special about our product, and it must be clear which unique APIs, versions, or what knowledge the LLM needs to apply along with anything that may have changed since the model's knowledge cut-off

  3. [03]
    Mathias Biilmann: One Year of AX(opens in a new tab)

    Context pillar: Does the LLM know about your product? Does it have the right context to use your product?

  4. [04]
    Cloudflare: Introducing Markdown for Agents(opens in a new tab)

    Cloudflare measured one of its own blog posts at 16,180 tokens as HTML and 3,150 tokens as markdown, an 80% reduction

  5. [05]
    Fern: API Docs for AI Agents (llms.txt guide)(opens in a new tab)

    Serving markdown and llms.txt instead of full HTML pages reduces token consumption by over 90% (Fern's own documentation tooling)

  6. [06]
    llms.txt: Jeremy Howard(opens in a new tab)

    Proposed September 3, 2024: an /llms.txt markdown file, at the site root or any path within it, giving agents brief background and links to markdown pages

Related principles