> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## Custom `llms.txt` and `llms-full.txt` files

ai, docs.yml

Provide your own `llms.txt` and `llms-full.txt` files instead of using the auto-generated versions. Add paths to your files under the `agents` key in `docs.yml`:

**`docs.yml`**

```yaml docs.yml
agents:
  llms-txt: ./path/to/llms.txt
  llms-full-txt: ./path/to/llms-full.txt
```

Custom files are served at the root-level `/llms.txt` and `/llms-full.txt` endpoints. Nested paths continue to use auto-generated output.

Requires Fern CLI version `4.67.0` or later.

Read the docs