# 組織管理

## 什麼是組織？

**組織**(Organization)是 MaiAgent 中最上層的管理單位，就像是一個獨立運作的「數位辦公室」。每個組織可以有自己的成員、角色設定、權限配置和資源（AI 助理、知識庫等），各組織之間的資料完全隔離。

{% hint style="info" %}
**實際應用：**

您可以建立多個組織來管理不同的團隊或專案。例如：

* 集團企業：為不同子公司分別建立組織
* 專案管理：為不同專案建立獨立的組織
* 部門區隔：為需要完全獨立運作的部門建立組織
  {% endhint %}

***

## 組織概覽

進入到左側功能區塊的 「<mark style="color:blue;">組織設定</mark>」，會看到預設組織的資訊，包含這個組織下的 **「AI 助理數目、本月份對話文字數量、本月對話數量、已使用的知識庫容量」**。

1. AI 助理數目
2. 本月份對話文字數量
3. 本月對話數量
4. 已使用的知識庫容量

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-98d70c38e6ae6e0bd8191a4e85900896f995ab92%2F%E6%88%AA%E5%9C%96%202025-04-25%20%E4%B8%AD%E5%8D%8812.31.36.png?alt=media" alt=""><figcaption></figcaption></figure>

***

## 新建組織

* 任何帳號使用者都可以建立新的組織
* 組織建立者自動成為該組織的擁有者
* 每個組織擁有獨立的管理空間

您可以透過右上角帳號的下拉選單，點選 「<mark style="color:blue;">創建組織</mark>」，建立更多其他的組織。

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-a0c68441e6b6baa36021fe3ecd7ff4ce1b473591%2F%E6%88%AA%E5%9C%96%202025-04-24%20%E4%B8%8B%E5%8D%884.51.00.png?alt=media" alt=""><figcaption></figcaption></figure>

輸入組織名稱後按下 「<mark style="color:blue;">確認</mark>」按鈕即可。

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-0ebbfe93c0b24cbf7fff9a7e0e423d6351848870%2Fimage%20(19).png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-9cd08dcf89a56771ce9fd44de85d6685d7e868e8%2F%E6%88%AA%E5%9C%96%202025-03-30%20%E4%B8%8B%E5%8D%885.55.17.png?alt=media" alt=""><figcaption></figcaption></figure>

***

## 切換組織

當您有多個組織時，可點選右上角帳號的下拉箭頭，點選 「<mark style="color:blue;">切換組織</mark>」，切換到其他的組織。

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-3533e64cdce61ec652e2cef27c2fbeb4a844ee53%2F%E6%88%AA%E5%9C%96%202025-04-24%20%E4%B8%8B%E5%8D%884.50.17.png?alt=media" alt=""><figcaption></figcaption></figure>

***

## 組織擁有者職責

組織擁有者是組織內權限最高的角色，負責管理整個組織的運作。

### 成員管理

* 透過 Email 將新成員加入組織
* 將成員從組織中移除
* 為成員分配至角色

詳細說明請參閱 [成員管理](https://docs.maiagent.ai/org/member)。

### 角色管理

* 建立自訂角色（例如：客服部、行銷部）
* 編輯角色權限設定
* 為角色分配資源（AI 助理、知識庫、對話平台）
* 刪除不需要的角色

詳細說明請參閱 [角色權限管理](https://docs.maiagent.ai/org/role-permission)。

### 權限管理

MaiAgent 採用**層級式權限架構**，為角色設定以下權限：

{% hint style="info" %}
**什麼是「層級式權限架構」？**

就像資料夾的結構：

* **主權限** = 主資料夾（例如：「AI 功能」）
* **子權限** = 子資料夾（例如：「AI 助理」、「知識庫」、「爬蟲」）

**實際運作：**

* 勾選主權限會自動包含底下所有子權限
* 也可以只勾選部分子權限，實現更精細的控制
  {% endhint %}

{% hint style="info" %}
詳細權限設定請參閱 [角色權限管理](https://docs.maiagent.ai/org/role-permission)。
{% endhint %}

### 資源分配

除了功能權限外，還可以為角色分配可使用的資源：

* **AI 助理**：指定角色可操作的 AI 助理
* **知識庫**：指定角色可存取的知識庫
* **對話平台**：指定角色可使用的對話平台

<figure><img src="https://1593648278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmzb5NG9GDzFP2YDKeYVl%2Fuploads%2Fgit-blob-450f4c42568f71a0791829e7ee79ee0035608a38%2F%E6%88%AA%E5%9C%96%202025-03-30%20%E4%B8%8B%E5%8D%885.59.41.png?alt=media" alt=""><figcaption></figcaption></figure>


---

# 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/org/organization.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.
