> ## Documentation Index
> Fetch the complete documentation index at: https://doc.xbhuiz.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent 平台

> 把 XMAI 接入支持自定义模型 provider 的 agent 平台。

大多数模型无关的 agent 平台不需要专门的 XMAI 插件。只要平台支持 **OpenAI-compatible** 或 **custom provider**，就可以填入 XMAI 的 base URL 和 API key。

| 字段       | 值                            |
| -------- | ---------------------------- |
| Base URL | `https://xmapi.site/v1`      |
| API key  | 你的 XMAI API key              |
| Model    | [支持模型](/cn/models) 中的任意模型 ID |

如果平台原生支持 Anthropic Messages，也可以使用裸域名 `https://xmapi.site` 和 Claude 模型 ID。
