Codex
通过编程智能体完成软件工程任务。用一个 Base URL 和一个密钥,把 Codex 接到 ExoticRouter:这里是要填的值,以及它们在 Codex 里填在哪里。
| 设置 | 值 |
|---|---|
| Base URL | https://api.exoticrouter.com/v1 |
| API 密钥 | 你的密钥,在 API 密钥页面 |
| 模型 | 模型 ID,例如 anthropic/claude-sonnet-5-5,见模型页面 |
如果工具会自己在地址后面加 /v1,就填 https://api.exoticrouter.com。
这是一个示例,只列了几个模型,密钥用占位符代替。把 sk-er-YOUR-KEY 换成你自己的密钥。
exoticrouter.config.toml 放在这里:
| 系统 | 路径 |
|---|---|
| macOS | ~/.codex/exoticrouter.config.toml |
| Linux | ~/.codex/exoticrouter.config.toml |
| Windows | %USERPROFILE%\.codex\exoticrouter.config.toml |
model = "gpt-6.2-astra"model_provider = "exoticrouter"
[model_providers.exoticrouter]name = "ExoticRouter"base_url = "https://api.exoticrouter.com/v1"wire_api = "responses"experimental_bearer_token = "sk-er-YOUR-KEY"用 codex --profile exoticrouter 启动(需要 Codex 0.134 或更新版本)。你自己的 config.toml 保持原样。
安装 Codex
Section titled “安装 Codex”如果机器上还没有 Codex,这是它自己的安装命令:
| 系统 | 命令 |
|---|---|
| macOS | curl -fsSL https://chatgpt.com/codex/install.sh | sh |
| Linux | curl -fsSL https://chatgpt.com/codex/install.sh | sh |
| Windows | powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex" |
它能用哪些模型
Section titled “它能用哪些模型”Codex 使用 OpenAI API,模型库里的每个文本模型都支持:Claude、GPT、Gemini 等等,用各自的 ID 指定。
这个设置的说明见 Codex 自己的文档。
更多编程智能体
Section titled “更多编程智能体”- Claude Code:在终端、IDE 或网页里处理代码库。
- OpenCode:开源编程智能体,可配置模型供应商。
- Kilo Code:开源编程智能体,用来修改和处理代码仓库。
- Qwen Code:在终端里运行 Qwen 编程智能体。
- Gemini CLI:把 Google 的 Gemini 智能体带进终端。
- Goose:可扩展的本地智能体,用于工程工作。