> This is a page from the ElevenLabs documentation. For a complete page index, fetch https://elevenlabs.io/docs/llms.txt. For the full documentation in a single file, fetch https://elevenlabs.io/docs/llms-full.txt.

# 构建

构建部分涵盖创建高级对话式智能体所需的一切，包括定义其行为和声音，以及连接外部工具与知识源。

> **通过 AI 助手构建智能体**
>
> 本页所有内容也可通过对话配置。将[托管 MCP 服务器](/docs/zh/eleven-agents/operate/hosted-mcp)连接到 Claude 或其他 MCP 客户端，即可通过自然语言创建和
> 更新智能体。

![构建智能体](/docs/_fern-img/aa4e5442250b80183bf690e4bcc3bf9517932e1c5a569e5acb539c98604a213e.webp)

### 设计和配置

| 目标       | 指南                                                             | 说明                               |
| -------- | -------------------------------------------------------------- | -------------------------------- |
| 创建对话工作流  | [工作流](/docs/zh/eleven-agents/customization/agent-workflows)    | 使用可视化工作流构建器创建多步骤工作流              |
| 编写系统提示词  | [系统提示词](/docs/zh/eleven-agents/best-practices/prompting-guide) | 了解编写有效智能体提示词的最佳实践                |
| 选择语言模型   | [模型](/docs/zh/eleven-agents/customization/llm)                 | 从支持的 LLM 中选择，或使用自己的自定义模型         |
| 控制对话流程   | [对话流程](/docs/zh/eleven-agents/customization/conversation-flow) | 配置轮次交接、打断和超时设置                   |
| 配置声音和语言  | [声音和语言](/docs/zh/eleven-agents/customization/voice)            | 从 31 种语言的超过 10,000 种声音中选择，并进行自定义 |
| 为智能体添加知识 | [知识库](/docs/zh/eleven-agents/customization/knowledge-base)     | 上传文档并启用 RAG，为回答提供依据              |
| 连接工具     | [工具](/docs/zh/eleven-agents/customization/tools)               | 让智能体调用客户端和 API 执行操作              |
| 个性化每次对话  | [个性化](/docs/zh/eleven-agents/customization/personalization)    | 使用动态变量和覆盖配置进行逐次对话自定义             |
| 保护智能体访问  | [身份验证](/docs/zh/eleven-agents/customization/authentication)    | 为受保护的智能体访问实施自定义身份验证              |

## 核心组件

### 智能体行为

控制智能体的思考和响应方式：

* **工作流**：用于复杂对话流程的可视化工作流构建器
* **系统提示词**：定义智能体的个性、语气和能力
* **模型**：选择领先的 LLM，或使用自己的模型
* **对话流程**：配置轮次交接、打断和节奏

### 声音和语言

自定义智能体的声音和语言能力：

* **声音选择**：从超过 10,000 种声音中选择
* **多声音支持**：在对话中使用不同声音
* **语言支持**：部署至超过 31 种语言
* **声音设计**：通过文本描述创建自定义声音

### 知识和工具

通过外部数据和操作扩展智能体能力：

* **知识库**：上传文档，为智能体回答提供依据
* **工具**：连接 API 和外部服务
* **MCP 集成**：使用 Model Context Protocol 工具
* **系统工具**：内置通话转接、语音信箱检测等能力

### 个性化

为每位用户量身定制对话：

* **动态变量**：向对话注入运行时数据
* **覆盖配置**：为每次交互自定义智能体行为
* **身份验证**：通过自定义身份验证流程保障智能体访问安全

## 后续步骤

#### [工作流](/docs/zh/eleven-agents/customization/agent-workflows)

构建可视化对话流程

#### [系统提示词](/docs/zh/eleven-agents/best-practices/prompting-guide)

了解提示词最佳实践

#### [声音和语言](/docs/zh/eleven-agents/customization/voice)

配置声音设置

#### [知识库](/docs/zh/eleven-agents/customization/knowledge-base)

添加领域知识