AI features

View as Markdown

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 includes a monthly credit allowance: Hobby plans get 250 credits, Pro plans get 1,000 credits, and Enterprise plans get a custom amount.

FeatureCredits
Ask Fern2 credits per message
AI-generated examples1 credit
Fern Writer session50 credits

Find answers

Users can chat with Ask Fern to get instant answers from your documentation. It’s available as an embedded chat widget, via the API for custom integrations, and as a Slack app or Discord bot for your community workspace. Ask Fern understands context and provides citations so users can verify information and explore further.

Create and update content

AI helps keep your documentation current. Fern Writer is a Slack-based technical writing agent that creates pull requests with targeted edits when you tag @Fern Writer to request updates. For API Reference docs, Fern automatically generates realistic examples from your OpenAPI spec that stay synchronized with spec changes, replacing placeholder values like "string" with believable data.

Optimize for AI

Your site is automatically optimized for AI tools and search engines. Fern serves Markdown instead of HTML to AI agents, reducing token consumption and helping these tools process your content faster. Your site hosts llms.txt and llms-full.txt files so LLMs can index your documentation efficiently.