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

# Windsurf 接入

> 在 Windsurf 中使用 AGICTO API

你可以在 Windsurf 中配置 OpenAI 兼容 Provider，让 Cascade 使用 AGICTO API。

## 准备

* 已安装 Windsurf
* 已获取 AGICTO API 的 API Key
* 已确认你的账户有可用余额或额度

## 配置方式

<Steps>
  <Step title="打开 Windsurf 设置">
    进入 **Settings**，找到模型 Provider 或自定义 API 配置。
  </Step>

  <Step title="选择 OpenAI 兼容格式">
    添加 OpenAI-compatible Provider。
  </Step>

  <Step title="填写连接信息">
    Base URL 填 `https://api.agicto.cn/v1/`，API Key 填你的 AGICTO API Key。
  </Step>

  <Step title="验证模型">
    填写可用模型名，发送一条测试消息。
  </Step>
</Steps>

## 配置值

| 字段       | 值                           |
| -------- | --------------------------- |
| Base URL | `https://api.agicto.cn/v1/` |
| API Key  | 你的 AGICTO API Key           |
| 格式       | OpenAI 兼容格式                 |
