跳至主要內容

AI Hub

與您的組織共享模型和代理程式。讓開發者能查看可用項目,而無需重新建置它們。

此功能自 v1.74.3-stable 及以上版本可用。

總覽​

管理員可以選擇要在公開 AI Hub 上曝光的模型/代理程式 → 使用者前往公開網址並查看可用內容。

Public AI Hub listing the models an admin has made publicPublic AI Hub listing the models an admin has made public

模型​

使用方式​

1. 前往 Admin UI​

在 Admin UI(PROXY_BASE_URL/ui/?login=success&page=model-hub-table)中前往 AI Hub 頁面。Model Hub 分頁會列出您的模型,Public 欄位則會顯示每個模型是否為公開。

AI Hub page in the Admin UI with the Select Models to Make Public buttonAI Hub page in the Admin UI with the Select Models to Make Public button

2. 選取您要曝光的模型​

點擊 Select Models to Make Public,並選取您要公開的模型,然後點擊 Next。

Make Models Public dialog with models selectedMake Models Public dialog with models selected

3. 確認變更​

檢視清單後,點擊 Make Public。

Confirmation step listing the models that will be made publicConfirmation step listing the models that will be made public

4. 成功!​

前往公開網址(PROXY_BASE_URL/ui/model_hub_table)並查看可用模型。

Public AI Hub listing the models an admin has made publicPublic AI Hub listing the models an admin has made public

API 端點​

  • GET /public/model_hub – 回傳公開模型群組清單。需要有效的使用者 API 金鑰。
  • GET /public/model_hub/info – 回傳公開模型 hub 的中繼資料(文件標題、版本、實用連結)。

代理程式​

資訊

代理程式僅在 v1.79.4-stable 及以上版本可用。

在您的組織中共享預先建置的代理程式(A2A 規格)。使用者可以探索並使用代理程式,而無需重新建置。

示範影片

1. 建立代理程式​

建立一個符合 A2A 規格 的 agent。在 Admin UI 中,前往 Agentic > Agents,然後點擊 Add New Agent。

Add New Agent dialog in the Admin UIAdd New Agent dialog in the Admin UI

2. 將代理程式設為公開​

讓該代理程式可在 AI Hub 上被探索。

前往 AI Hub 頁面,並選取 Agent Hub 分頁。

Agent Hub tab on the AI Hub page listing agentsAgent Hub tab on the AI Hub page listing agents

點擊 Select Agents to Make Public,選取您要公開的 agents,然後點擊 Next,接著點擊 Make Public。

Make Agents Public dialog with agents selectedMake Agents Public dialog with agents selected

3. 查看公開代理程式​

使用者現在可以透過公開端點探索該代理程式。

Public AI Hub showing the Agent Hub tabPublic AI Hub showing the Agent Hub tab

MCP 伺服器​

使用方式​

1. 新增 MCP Server​

請前往此處查看說明:MCP Overview

2. 將 MCP server 設為公開​

前往 AI Hub 頁面(PROXY_BASE_URL/ui/?login=success&page=model-hub-table),並選取 MCP Hub 分頁。點擊 Manage MCP Hub Visibility,選取您要公開的 servers,點擊 Next,然後點擊 Save Publication List。

MCP Hub tab on the AI Hub page listing MCP serversMCP Hub tab on the AI Hub page listing MCP servers

3. 查看公開 MCP servers​

使用者現在可以透過公開端點(PROXY_BASE_URL/ui/model_hub_table)探索 MCP server

Public AI Hub showing the MCP Hub tabPublic AI Hub showing the MCP Hub tab
LiteLLM Enterprise
為正式環境打造的 SSO/SAML、稽核記錄、支出追蹤、多團隊管理與防護欄。
深入瞭解 →