Skip to main content
The agent requires a Pro or Enterprise plan.
The agent is an AI tool that creates pull requests with proposed changes to your documentation based on your prompts. When you send a request, the agent:
  • Researches: Searches and reads your existing documentation, any connected repositories, relevant context, and the web.
  • Plans: Creates a structured task list for complex documentation work.
  • Writes: Generates or updates content following writing standards and best practices.
  • Validates: Runs Mintlify CLI checks to ensure documentation builds correctly.
  • Publishes changes: Opens a pull request with proposed changes for review, or commits directly to your deployment branch, depending on your review process setting.

How to use the agent

You can send prompts to the agent from:
  • Slack: Mention @Mintlify in any channel the agent is in, or DM the app directly. See Add the agent to Slack.
  • The dashboard: Open the agent panel from the Mintlify dashboard to start a new conversation.
  • Automations: Trigger the agent on a schedule or from an event. See Automations.

What you can do with the agent

Use the agent to:
  • Write new content based on your prompts, pull requests, Slack threads, or file attachments.
  • Update existing documentation for new features or API changes.
  • Process and include images, diagrams, and other files from Slack attachments.
  • Search and revise code examples and API references across your docs.
  • Reference source code from any repository that has the Mintlify GitHub App installed.
  • Automate documentation maintenance with automations.
  • Answer questions about your docs and technical writing topics.
  • Address code review feedback to maintain documentation quality.
  • Capture knowledge from Slack conversations and pull requests before it gets lost.
  • Navigate and coordinate changes across multiple files and directories efficiently.

Connect your GitHub account

By default, the agent opens pull requests attributed to the Mintlify bot. To attribute pull requests to you, connect your GitHub account on the My profile page of the dashboard.

Choose how the agent publishes changes

By default, the agent opens a pull request for every change so your team can review it before it ships. If Mintlify hosts your deployment, the agent commits changes directly to your deployment branch so changes publish immediately. For deployments connected to your own Git provider, configure how the agent publishes changes in the Configure Slack setting on the Automations page of your dashboard:
  • Create a pull request: The agent commits to a new branch and opens a pull request against your deploy branch. Use this option when you want a human to review changes before they publish.
  • Push to main: The agent commits directly to your deploy branch, and changes publish as soon as the agent finishes. Use this option when you trust the agent to publish without review, for example on a staging deployment.
If your deploy branch has branch protection rules that block direct pushes, the Review process setting is hidden and the agent always opens a pull request.

Connect repositories as context

The agent can only access repositories that you connect through the Mintlify GitHub App. Configure which repositories the agent can access in the agent panel Settings or in the GitHub App settings.

Use a static IP for Git requests

Static agent egress requires an Enterprise plan.
If your Git provider restricts access with an IP allowlist, Mintlify can route Git requests from agent sandboxes through a static IP address. Contact Mintlify about the deployment that you want to enable static agent egress for. Once enabled, the static address applies to Git operations from the agent and automations, including cloning, fetching, and pushing connected repositories.
Static agent egress applies only to Git requests from agent sandboxes. Other outbound requests do not use this static IP address.

Use AI tools alongside the agent

The agent works asynchronously through pull requests, but you can also use AI coding tools like Cursor or Claude Code locally for fast, iterative edits. Install the Mintlify skill and connect the MCP server so your editor has the same context the agent uses. To let an external agent edit your content directly through MCP tool calls, connect it to the Mintlify MCP server.

Install the Mintlify skill and MCP servers for AI coding tools.

Open in Cursor

Next steps

Connect Slack

Add the agent to your Slack workspace.

Customize behavior

Configure the agent with an AGENTS.md file.

Write effective prompts

Get better results with focused prompts.

Automate with automations

Automate recurring tasks and documentation maintenance with automations.