跳转到内容
exoticrouter.com ↗

Amp

能浏览并修改代码库的编程智能体。用一个 Base URL 和一个密钥,把 Amp 接到 ExoticRouter:这里是要填的值,以及它们在 Amp 里填在哪里。

设置 值
Base URL https://api.exoticrouter.com/v1
API 密钥 你的密钥,在 API 密钥页面
模型 模型 ID,例如 anthropic/claude-sonnet-5-5,见模型页面

如果工具会自己在地址后面加 /v1,就填 https://api.exoticrouter.com。

  1. 在浏览器里打开 ampcode.com,进入 Settings,再进入 Model Routing,点击 Add Provider。
  2. 选择 Connection:Custom URL
  3. 粘贴 Base URL:https://api.exoticrouter.com/v1
  4. 选择 API format:chat-completions
  5. 粘贴 API key:sk-er-YOUR-KEY
  6. 保存,然后点击 Refresh Models List 加载模型。

Amp 的请求从它自己的服务器发出,没有文件可写:只能在网页设置里完成。然后在 Amp 里选一个模型,例如 anthropic/claude-opus-5-5。

如果机器上还没有 Amp,这是它自己的安装命令:

系统 命令
macOS curl -fsSL https://ampcode.com/install.sh | bash
Linux curl -fsSL https://ampcode.com/install.sh | bash

Amp 使用 OpenAI API,模型库里的每个文本模型都支持:Claude、GPT、Gemini 等等,用各自的 ID 指定。

这个设置的说明见 Amp 自己的文档。

  • Claude Code:在终端、IDE 或网页里处理代码库。
  • Codex:通过编程智能体完成软件工程任务。
  • OpenCode:开源编程智能体,可配置模型供应商。
  • Kilo Code:开源编程智能体,用来修改和处理代码仓库。
  • Qwen Code:在终端里运行 Qwen 编程智能体。
  • Gemini CLI:把 Google 的 Gemini 智能体带进终端。