> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. # Agent directives > Configure the default directive prepended to every page served to AI agents, or override it with a custom directive. Every page served to AI agents is automatically prepended with a default directive that tells agents how to navigate your documentation programmatically: **`Default page directive`** ```text title="Default page directive" wordWrap For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://docs.example.com/llms.txt. ``` The URLs in the directive are generated from your site's domain and basepath. The directive is injected after the frontmatter metadata section but before the page body, so agents see it first even if they truncate the rest of the page. It applies to individual page Markdown (`.md`/`.mdx` URLs), and human-facing documentation is unaffected. ## Customize agent directives To override the default, set a custom directive using the [`agents` key in `docs.yml`](/learn/docs/configuration/site-level-settings#agents-configuration): **`docs.yml`** ```yaml docs.yml agents: page-directive: "For a complete page index, fetch https://docs.example.com/llms.txt" ``` To disable the directive entirely, set `page-directive` to an empty string: **`docs.yml`** ```yaml docs.yml agents: page-directive: "" ``` > Configure the default directive prepended to every page served to AI agents, or override it with a custom directive.