# For agents (/agents)

Every page of this site has a Markdown form for agents and for tools that read documentation. The Markdown has the same text and tables as the page, without the navigation.

## Start from `llms.txt` [#start-from-llmstxt]

`/llms.txt` lists the pages of the site, each with a link to its Markdown file. `/llms-full.txt` holds every page in one file.

The Russian pages have the same files under `/ru`: `/ru/llms.txt` and `/ru/llms-full.txt`.

## Add `.md` to the address of a page [#add-md-to-the-address-of-a-page]

The Markdown of a page lives at its address with `.md` at the end, for example `/rules.md` or `/catalog/release.md`. The home page is `/index.md`, and the Russian home page is `/ru.md`.

The Copy Markdown button at the top of every page copies the same text, and the menu next to it opens the Markdown.

## Ask for Markdown with `Accept: text/markdown` [#ask-for-markdown-with-accept-textmarkdown]

A request to the address of a page with the `Accept: text/markdown` header returns the Markdown instead of HTML:

```bash
curl -s https://docs.rm-api.ovkch.com/rules -H "Accept: text/markdown"
```

The Markdown response has the `Vary: Accept` header.

## Build the client from the API, not from this site [#build-the-client-from-the-api-not-from-this-site]

This site has no copy of the contract. Build types from `/api/v1/openapi.json` of the API, as [Client from the contract](/client) describes, and follow the [API rules](/rules) for every call.

## Expect the site to stay out of search engines [#expect-the-site-to-stay-out-of-search-engines]

Every response of the site, including the `.md` files and `llms.txt`, has the `X-Robots-Tag: noindex, nofollow` header, and every page has the `noindex` meta tag. `robots.txt` does not forbid any address, so an agent that checks it may read every page.