# Give an AI agent the whole API

> Point an assistant at llms.txt and the Markdown pages so it calls the API correctly.

3 min read · https://arena.rone.dev/guides/ai-agents

## 1. Start with llms.txt

It is a short index of what the API does and where every page is. llms-full.txt holds all of the pages in one file.

```
https://arena.rone.dev/llms.txt
https://arena.rone.dev/llms-full.txt
```

## 2. Read single pages as Markdown

Add .md to any page address, or ask for Markdown with the Accept header.

```
curl "https://arena.rone.dev/docs/heroes.md"
curl -H "Accept: text/markdown" "https://arena.rone.dev/guides/first-request"
```

## 3. Give it the schema

For generating clients or tool definitions, use the OpenAPI document.

```
https://arena.rone.dev/api/openapi.json
```

## 4. A prompt to start with

Paste this into your assistant, then say what you want to build.

```
Read https://arena.rone.dev/llms.txt and use the Rone Arena API it describes.
Use the base URL it names, follow its error rules, and do not invent endpoints.
```
