> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. # AI features > Fern AI features help users find answers instantly, automate content updates, and optimize documentation for AI tools with llms.txt support. Your documentation site comes with automatic optimizations for AI tools, plus features you can install to help users find answers and keep your content up to date. #### AI credits AI features are usage-based and consume credits. Every [plan](https://buildwithfern.com/pricing) includes a monthly credit allowance: Free plans get 250 credits, [Postman Free](https://buildwithfern.com/pricing?postman=true) plans get 500 credits, and Enterprise plans gets a custom amount. | Feature | Credits | | --------------------- | ---------------------- | | Ask Fern | 2 credits per message | | AI-generated examples | 1 credit | | Docs update in Slack | 50 credits per session | ## Find answers Your users can ask a question instead of searching for one. Ask Fern answers with citations from your documentation, in your docs, in Slack, or in your own product through the [API](/learn/docs/ai-features/ask-fern/api-reference/overview). Developers reach the same content from the agent they code with. #### [Ask Fern overview](/learn/docs/ai-features/ask-fern/overview) #### [Ask Fern in Slack](/learn/docs/ai-features/ask-fern/slack-app) #### [MCP server](/learn/docs/ai-features/mcp-server) #### [Custom skills](/learn/docs/ai-features/host-skills) ## Build your docs with AI You can hand your docs to an agent. [Fern Agent](/learn/docs/ai-features/fern-agent) writes them from inside Fern, opening a pull request with the change you describe, either on request or on a [schedule you set](/learn/docs/ai-features/fern-agent#automations). The coding agent you already use writes them too, once Fern's skill and MCP server teach it how Fern Docs sites are built. Fern also generates realistic API examples from your spec. #### [Fern Agent](/learn/docs/ai-features/fern-agent) #### [\`fern-docs\` skill](/learn/docs/ai-features/agent-skills) #### [Fern's MCP server](/learn/docs/ai-features/fern-mcp-servers) #### [AI-generated examples](/learn/docs/ai-features/ai-examples) ## Optimize for AI Your site is automatically optimized for AI tools and search engines. Fern hosts an `llms.txt` file, serves Markdown instead of HTML to AI agents, and exposes a standards-based API catalog, so agents index and process your content with fewer tokens. These files are generated from your content without calling a model. Your [`robots.txt`](/learn/docs/seo/robots-txt) controls whether third-party tools can crawl or train on them. #### [Markdown access](/learn/docs/ai-features/markdown) #### [\`llms.txt\`](/learn/docs/ai-features/llms-txt) #### [Agent directives](/learn/docs/ai-features/agent-directives) #### [API catalog discovery](/learn/docs/ai-features/api-catalog) ## Data and controls Only the content a feature needs reaches a model: * [Ask Fern](/learn/docs/ai-features/ask-fern/overview#privacy-and-data-handling) sends the conversation and the documentation passages the viewer is allowed to read. Fern stores queries for analytics. * [AI-generated examples](/learn/docs/ai-features/ai-examples) send the relevant part of your API definition. * [Fern Agent](/learn/docs/ai-features/fern-agent#privacy-and-data-handling) sends your request and keeps it only during the session. Fern doesn't use your documentation content, your code, or your end users' queries to train AI models. | Feature | How to turn it off | | ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Ask Fern, including the Slack app and MCP server | Select [**Disable** on the Ask AI card](/learn/docs/ai-features/ask-fern/overview#disable-ask-fern) in **Settings** in the [dashboard](https://dashboard.buildwithfern.com/). | | MCP server only | Set [`page-actions.options.mcp`](/learn/docs/configuration/site-level-settings#page-actionsoptions.mcp) to `false` in `docs.yml`. | | AI-generated examples | Set [`ai-examples.enabled`](/learn/docs/ai-features/ai-examples#disable-ai-generated-examples) to `false` in `docs.yml`. Hand-written examples always take precedence. | | Third-party AI crawling of your published site | Configure [`robots.txt`](/learn/docs/seo/robots-txt). | > Fern AI features help users find answers instantly, automate content updates, and optimize documentation for AI tools with llms.txt support.