.mintlify/AGENTS.md file at the root of your documentation project to customize the agent’s behavior (Agents.md is also an accepted filename).
Add any instructions that you want the agent to follow. The agent appends these instructions to its system prompt, so the instructions apply to all tasks whether you use the agent in your dashboard, on Slack, or via the API.
The agent only reads
AGENTS.md. It does not read other agent instruction files that may exist in your repository, such as CLAUDE.md, .cursorrules, .github/copilot-instructions.md, or GEMINI.md, even if your AGENTS.md references them.If you use other tools that rely on their own instruction files, consolidate the instructions you want the Mintlify agent to follow into .mintlify/AGENTS.md. You can keep your other files for those tools, but duplicate any shared guidance into AGENTS.md so the agent picks it up.What to include in AGENTS.md
Consider adding instructions for:- Style preferences: Voice, tone, formatting, and terminology specific to your documentation.
- Code standards: Programming languages, frameworks, and coding conventions to use in examples.
- Content requirements: What sections or information to include for different types of pages.
- Project context: Specific details about your product, architecture, or user base that inform documentation decisions.
Example AGENTS.md file
.mintlify/AGENTS.md