# 什麼是 Agent Builder？

Agent Builder 是 MaiAgent 平台的核心建置區。在這裡，你可以組合不同模組，打造出能回答問題、查詢資料、執行任務的 AI Agent。

## 全景圖：Agent 與各模組的關係

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-d5297d18bc7d4efb98eaeaaf1522a05d1cd75b66%2Fagent-builder-infographic.png?alt=media" alt="MaiAgent Agent Builder 功能總覽"><figcaption><p>Agent Builder 七大模組全景圖</p></figcaption></figure>

Agent 是核心大腦，負責理解使用者的問題並產生回覆。其他模組是 Agent 的能力擴充——知識庫讓它有專業知識可查、資料庫讓它能查數據、工具讓它能執行動作、技能讓它能按 SOP 處理複雜任務、代理排程讓它能定時自動執行。爬蟲則是知識庫的資料來源之一。

## 七個模組速覽

| 模組                                                               | 做什麼                   | 典型用途            |
| ---------------------------------------------------------------- | --------------------- | --------------- |
| [**Agent（AI 助理）**](https://docs.maiagent.ai/agent-builder/agent) | 對話的核心，理解意圖、產生回覆       | 客服機器人、內部問答、業務助手 |
| [**知識庫**](https://docs.maiagent.ai/agent-builder/knowledge-base) | 提供 Agent 可查閱的企業專屬知識   | 產品手冊、內部規範、FAQ   |
| [**資料庫**](https://docs.maiagent.ai/agent-builder/database)       | 讓 Agent 能用自然語言查詢結構化數據 | 訂單查詢、庫存查詢、報表分析  |
| [**代理排程**](https://docs.maiagent.ai/agent-builder/schedule)      | 讓 Agent 按時間自動執行任務     | 每日摘要報告、定期資料檢查   |
| [**工具**](https://docs.maiagent.ai/agent-builder/tools)           | 讓 Agent 能呼叫外部服務執行動作   | 寄信、查天氣、串接 CRM   |
| [**技能**](https://docs.maiagent.ai/agent-builder/skills)          | 定義 Agent 的多步驟推理與判斷流程  | 報價流程、故障排除 SOP   |
| [**爬蟲**](https://docs.maiagent.ai/agent-builder/crawler)         | 從網頁自動抓取內容，匯入知識庫       | 爬官網、爬公開資訊       |

## 不確定該用什麼？

前往 [**我要做 X，該用什麼？**](https://docs.maiagent.ai/agent-builder/decision-guide) 查看常見情境對照。

## 建議的建置順序

如果你是第一次使用 MaiAgent，建議按以下順序操作：

```
步驟 1 → 建立 Agent，設定角色指令（它要扮演什麼角色、怎麼回話）
步驟 2 → 建知識庫，上傳文件或 FAQ（讓它有東西可查）
步驟 3 → 視需求擴充：加工具、資料庫、技能（看你的場景需要什麼能力）
步驟 4 → 串接對話平台上線（Web Chat、LINE、Messenger...）
```

> 不需要一次設定完所有模組。先讓 Agent + 知識庫跑起來，之後再逐步擴充能力。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.maiagent.ai/agent-builder/agent-builder.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
