---
title: Introduction
description: Choose a setup for AI-readable Next.js documentation, from native features to generated Markdown and optional agent actions.
canonical_url: https://nextaiready.com/en/docs/introduction
url: https://nextaiready.com/en/docs/introduction
last_updated: 2026-11-23
updated: 2026-11-23
author: next-ai-ready team
summary: Choose a setup for AI-readable Next.js documentation, from native features to generated Markdown and optional agent actions.
topics: [next.js, aeo, introduction]
---

# Introduction

Traditional websites are built for browsers. `next-ai-ready` makes your Next.js site **readable by AI** and **callable by agents**.

## Choose your next step

- **Use native tools for your task.** Use [Next.js metadata](https://nextjs.org/docs/app/getting-started/metadata-and-og-images) for search titles, canonical URLs, and social cards. If Fumadocs already serves the documentation you want clients to retrieve, start with its [native AI integrations](https://www.fumadocs.dev/docs/next/integrations/llms). The [Fumadocs guide](/en/docs/guides/fumadocs-ai-ready) explains when a shared content graph or application actions would help.
- **Generate AI-readable content from your Next.js sources.** Follow the [10-minute Quickstart](/en/docs/guides/quickstart) to install and verify a real Markdown response. For endpoint choices, see [Add llms.txt to a Next.js site](/en/docs/guides/nextjs-llms-txt).
- **Connect an agent to approved tools.** After the content setup, [connect an MCP client](/en/docs/guides/mcp-integration) when you need authenticated retrieval or want agents to call approved tools.
- **Choose who can crawl your content.** The [AI crawler policy guide](/en/docs/guides/robots-txt) explains separate rules for search, training, and user-initiated fetches.

## The problem

Search is changing. Users increasingly get answers from AI systems. Standard SEO remains essential, while clean machine-readable representations give AI consumers another reliable way to discover and retrieve your content.

At the same time, AI agents are emerging. They need to **call your features** — not just read your pages. But there's no standard way to expose Next.js functionality to agents.

## The solution

`next-ai-ready` is the **AEO + Agent-API layer** for Next.js. One config file, zero changes to your UI:

- **Knowledge Plane** — your content becomes AI-readable via `llms.txt`, per-page Markdown, JSON-LD
- **Capability Plane** — your features become AI-callable via OpenAPI, MCP, `tools.json`

## How it works

```bash
pnpm add next-ai-ready
npx next-ai-ready init
npx next-ai-ready build
```

The `init` command scaffolds route handlers and a config file. The `build` command scans your MDX content and compiles everything into the artifacts AI consumers need.

These artifacts improve technical accessibility. They do not guarantee indexing, ranking, citation, or inclusion in an AI-generated answer.

Your existing UI is untouched. The framework adds **new routes** that serve AI-optimized representations of your content and capabilities.

## What you get

| Artifact        | Consumer                                         |
| --------------- | ------------------------------------------------ |
| `/llms.txt`     | Clients that use a Markdown discovery index      |
| `/sitemap.md`   | Agent-readable page discovery                    |
| `/openapi.json` | Agent frameworks when capabilities are enabled   |
| `/api/mcp`      | MCP clients after explicit setup                 |
| `/<page>.md`    | RAG pipelines                                    |
| `JSON-LD`       | Search engines                                   |
| `/tools.json`   | OpenAI tool format when capabilities are enabled |
