> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/zhong-wen-fan-ti/advanced-basic/extensions.md).

# 擴展 Agent 嘅能力

Agent 已經有文件、搜尋、圖片、記憶、工作流、定時任務等內置工具。要固定工作方法時加技能，要連接外部系統時加 MCP。兩者解決嘅問題唔同，唔使為咗「功能更多」就全部安裝。

<figure><img src="/files/a3a9b13e6ad4f5a99a4d1321d86a76c844aef005" alt="根据资料、固定方法和外部系统需求选择内置工具、知识库、技能或 MCP 的关系图"><figcaption><p>優先用最短路徑；只有 Agent 真係需要存取外部系統時先加 MCP。</p></figcaption></figure>

## 先判斷需要啲乜

| 需求                 | 揀          |
| ------------------ | ---------- |
| 固定一套步驟、模板或者檢查清單    | 技能         |
| 查詢資料庫、瀏覽器或者第三方系統   | MCP        |
| 檢索自己嘅文件資料          | 知識庫        |
| 讀寫目前專案文件、生成圖片或者發通知 | Agent 內置工具 |

{% hint style="success" %}
最方便嘅做法係直接喺【工作】入面描述目標，等 Agent 幫你判斷缺少嘅係技能、MCP 定係知識庫。需要核對來源、連接參數或者權限嘅時候，再去【設置】手動管理。
{% endhint %}

## 安裝之後嘅最後一步

全局安裝或者連接成功，唔代表每個 Agent 都用到。打開【工作】→ Agent 選單→【編輯】，分別喺【技能】、【MCP】或者【知識庫】入面揀。配置由下一條訊息開始生效。

<figure><img src="/files/4d398f7d5cdea31cec28563ad97006feb32c9888" alt="Agent 编辑窗口中的内置工具、知识库、MCP 和技能入口"><figcaption><p>Agent 嘅內置工具、知識庫、MCP 同技能分開配置，按任務需要啟用。</p></figcaption></figure>

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>技能同能力庫</strong></td><td>安裝並重用穩定工作方法</td><td><a href="/pages/42ac009168c20a18f3937b50eebb8e1703bbb9c2">/pages/42ac009168c20a18f3937b50eebb8e1703bbb9c2</a></td></tr><tr><td><strong>MCP 同外部工具</strong></td><td>連接額外工具同資料來源</td><td><a href="/pages/457c3f91d5cf7fe93ed8ee7a7de6de62a8cf1855">/pages/457c3f91d5cf7fe93ed8ee7a7de6de62a8cf1855</a></td></tr><tr><td><strong>MCP 排錯</strong></td><td>按連接鏈路逐步定位問題</td><td><a href="/pages/081b4947197295b921c0306f3e8eb0112a885175">/pages/081b4947197295b921c0306f3e8eb0112a885175</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/docs/zhong-wen-fan-ti/advanced-basic/extensions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
