Customize agent behavior
Customize agent behavior with an AGENTS.md configuration file to control how the agent handles documentation tasks and follows your conventions.
Create a .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 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: