# Integrations

Connect Claude Code, Cursor, Cherry Studio, and similar tools to Amux AI by configuring a base URL and an API key.

Most AI developer tools rely on a standard API protocol: Claude Code uses Anthropic Messages, Codex uses OpenAI, and Gemini CLI uses Google Gemini. Amux AI (amux.ai) provides native compatibility with these protocols, so integration typically requires only **a base URL and an API key**.

## Batch configuration with CC Switch

[CC Switch](/integrations/cc-switch) is an open-source desktop application for managing provider configurations across Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, OpenClaw, Hermes Agent, and Pi. Adding Amux AI once configures all supported tools without exporting environment variables or editing configuration files manually.

Use CC Switch if you work with multiple tools or switch frequently between subscriptions and API billing. If you only use a single tool, follow its dedicated integration guide.

## Common configuration

**Select the base URL based on the client protocol**, not the target model:

| Client protocol | Base URL |
|---|---|
| OpenAI Chat Completions / Responses | `https://gateway.amux.ai/v1` |
| Anthropic Messages | `https://gateway.amux.ai` |
| Google Gemini | `https://gateway.amux.ai` |

**API key**: Use an Amux AI key created in the console, and enter it in the tool's API key field.

**Model name**: Use canonical model IDs (for example, `anthropic/claude-opus-5`). Cross-protocol calls—such as calling an OpenAI model over the Anthropic protocol—are supported. See [Protocol and model compatibility](/api-reference#protocol-and-model-compatibility).

## Common base URL mistake

Entering `https://gateway.amux.ai/v1` for an Anthropic-protocol client causes requests to hit `/v1/v1/messages` and return 404. The `/v1` segment is the OpenAI path prefix, whereas Anthropic clients automatically append `/v1/messages`.

If you are unsure which format to use, check the tool's default endpoint in its official documentation: replace only the hostname and preserve the path structure.

## Supported tools

| Tool | Protocol | Guide |
|---|---|---|
| Claude Code | Anthropic | [Claude Code](/integrations/claude-code) |
| Claude Desktop | Anthropic | [Claude Desktop](/integrations/claude-desktop) |
| Codex CLI / Codex app | OpenAI | [Codex](/integrations/codex) |
| Gemini CLI | Gemini | [Gemini CLI](/integrations/gemini-cli) |
| OpenCode | OpenAI | [OpenCode](/integrations/opencode) |
| Pi | Any of the four | [Pi](/integrations/pi) |
| OpenClaw | OpenAI | [OpenClaw](/integrations/openclaw) |
| Hermes Agent | OpenAI | [Hermes Agent](/integrations/hermes-agent) |
| DeepSeek Harness | OpenAI | [DeepSeek Harness](/integrations/deepseek-harness) |
| Cursor | OpenAI | [Cursor](/integrations/cursor) |
| Cline (VS Code) | OpenAI | [Cline](/integrations/cline) |
| Cherry Studio | OpenAI | [Cherry Studio](/integrations/cherry-studio) |
| Sider (browser extension) | OpenAI | [Sider](/integrations/sider) |

Other tools that support a custom base URL are generally compatible as well. Select the base URL matching the client's protocol from the table above.
