mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
e7152c70e8
* Revert "Revert "Update agent docs with enhanced capabilities (#3426)" (#3437)"
This reverts commit 72071e635a.
* concision
58 lines
3.0 KiB
Plaintext
58 lines
3.0 KiB
Plaintext
---
|
|
title: "What is the agent?"
|
|
description: "Automate documentation updates with the agent. Create updates from Slack messages, PRs, or API calls."
|
|
keywords: ["automation", "automate", "AI", "autoupdate", "maintenance"]
|
|
---
|
|
|
|
<Info>
|
|
The agent is available on [Enterprise plans](https://mintlify.com/pricing?ref=agent) for anyone with access to your dashboard.
|
|
</Info>
|
|
|
|
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**: Reads your existing documentation, any connected repositories, and relevant context.
|
|
- **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.
|
|
- **Creates a PR**: Opens a pull request with proposed changes for review.
|
|
|
|
All changes go through pull requests. The agent never commits directly to your main branch.
|
|
|
|
## 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.
|
|
- 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.
|
|
|
|
## Where you can use the agent
|
|
|
|
- **Dashboard**: From any page in your dashboard, use the keyboard shortcut <kbd>⌘</kbd>+<kbd>I</kbd> (macOS) or <kbd>Ctrl</kbd>+<kbd>I</kbd> (Windows/Linux) to open the agent panel. Or click **Ask agent** on the [Overview](https://dashboard.mintlify.com/) page.
|
|
<Frame>
|
|
<img src="/images/agent/dashboard-light.png" alt="The agent panel open in the dashboard." className="block dark:hidden" />
|
|
<img src="/images/agent/dashboard-dark.png" alt="The agent panel open in the dashboard." className="hidden dark:block" />
|
|
</Frame>
|
|
- **Slack**: Add the agent to your Slack workspace and mention `@mintlify` in any channel. You can attach files and images directly to your messages for the agent to process.
|
|
- **API**: Embed the agent in custom applications using the [agent endpoints](/api/agent/create-agent-job).
|
|
|
|
## Next steps
|
|
|
|
<Card title="Quickstart" horizontal icon="rocket" href="/agent/quickstart">
|
|
Start using the agent in your dashboard.
|
|
</Card>
|
|
<Card title="Connect Slack" horizontal icon="slack" href="/agent/slack">
|
|
Add the agent to your Slack workspace.
|
|
</Card>
|
|
<Card title="Customize behavior" horizontal icon="wrench" href="/agent/customize">
|
|
Configure the agent with an `AGENTS.md` file.
|
|
</Card>
|
|
<Card title="Write effective prompts" horizontal icon="pen" href="/agent/effective-prompts">
|
|
Get better results with focused prompts.
|
|
</Card>
|