Files
locadex-agent[bot] 7e5cadb4ba docs(locadex): add translations (#3858)
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
2026-02-27 11:12:38 -08:00

72 lines
3.5 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "什么是 agent?"
description: "使用 agent 自动维护和更新文档。可根据 Slack 消息、PR 或 API 调用生成更新。"
keywords: ["automation", "automate", "AI", "autoupdate", "maintenance"]
---
<Info>
只要拥有你控制台的访问权限,任意用户都可以在 [Enterprise 方案](https://mintlify.com/pricing?ref=agent) 中使用 agent。
</Info>
agent 是一款 AI 工具,会根据你的提示,为文档创建包含建议更改的拉取请求(PR;亦称“合并请求”/Merge Request)。当你发送请求时,agent 会:
* **调研**:阅读你现有的文档、所有已连接的代码仓库,以及相关上下文。
* **规划**:为复杂的文档工作创建结构化任务清单。
* **撰写**:生成或更新内容,遵循写作规范和最佳实践。
* **验证**:运行 Mintlify 命令行界面(CLI)检查,确保文档可以正确构建。
* **创建 PR**:打开一个包含建议更改的拉取请求(PR;亦称“合并请求”/Merge Request),供你审核。
所有更改都会通过拉取请求完成。agent 永远不会直接向你的主 branch 进行提交。
<div id="what-you-can-do-with-the-agent">
## 你可以用智能助手做什么
</div>
使用智能助手可以:
* 根据你的提示词、拉取请求(PR;亦称“合并请求”/Merge Request)、Slack 线程或文件附件撰写新内容。
* 根据新功能或 API 变更更新现有文档。
* 处理并插入来自 Slack 附件的图片、图表和其他文件。
* 在你的文档中搜索并修改代码示例和 API 参考。
* 通过工作流自动化文档维护工作。
* 回答与你的文档和技术写作相关的问题。
* 处理代码审查反馈并维护文档质量。
* 在知识从 Slack 对话和拉取请求中流失之前,将其记录下来。
* 高效地在多个文件和目录之间导航并协调更改。
<div id="where-you-can-use-the-agent">
## 在哪些地方可以使用 agent
</div>
* **控制台(Dashboard)**:在控制台的任意页面,使用快捷键 <kbd>⌘</kbd>+<kbd>I</kbd>(macOS)或 <kbd>Ctrl</kbd>+<kbd>I</kbd>(Windows/Linux)打开 agent 面板。或者在 [Overview](https://dashboard.mintlify.com/) 页面点击 **Ask agent**。
<Frame>
<img src="/images/agent/dashboard-light.png" alt="在控制台中打开的 agent 面板。" className="block dark:hidden" />
<img src="/images/agent/dashboard-dark.png" alt="在控制台中打开的 agent 面板。" className="hidden dark:block" />
</Frame>
* **Slack**:将 agent 添加到你的 Slack 工作区,并在任意频道中提及 `@mintlify`。你可以在消息中直接附加文件和图片,供 agent 处理。
* **API**:使用 [agent 端点](/zh/api/agent/create-agent-job) 将 agent 嵌入自定义应用中。
<div id="next-steps">
## 后续步骤
</div>
<Card title="快速开始" horizontal icon="rocket" href="/zh/agent/quickstart">
在控制台中开始使用 agent。
</Card>
<Card title="连接 Slack" horizontal icon="slack" href="/zh/agent/slack">
将 agent 添加到你的 Slack 工作区。
</Card>
<Card title="自定义行为" horizontal icon="wrench" href="/zh/agent/customize">
使用 `AGENTS.md` 文件配置 agent。
</Card>
<Card title="编写高效的提示词" horizontal icon="pen" href="/zh/agent/effective-prompts">
使用更聚焦的提示词以获得更好的效果。
</Card>
<Card title="使用工作流实现自动化" horizontal icon="refresh-cw" href="/zh/agent/workflows">
使用工作流自动化重复性任务和文档维护。
</Card>