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

# Claude Code

> Run Anthropic's terminal coding agent on any model in the Opper catalog

[Claude Code](https://claude.com/product/claude-code) is Anthropic's agentic coding tool for the terminal. It reads your whole repository, plans and applies changes across files, runs commands and tests, and iterates on failures.

It ships with built-in gateway support, so pointing `ANTHROPIC_BASE_URL` at Opper runs the same harness on any model in the catalog — not just Claude.

## Setup

<Tip>
  One command, no config files:

  ```bash theme={null}
  npx @opperai/cli launch claude
  ```

  This sets `ANTHROPIC_BASE_URL` and `ANTHROPIC_AUTH_TOKEN` for the session and starts Claude Code. Pin a model with `--model <id>`.
</Tip>

To wire it by hand instead:

```bash theme={null}
export ANTHROPIC_BASE_URL=https://api.opper.ai/v3/compat
export ANTHROPIC_AUTH_TOKEN=your-opper-api-key
claude
```

Claude Code appends `/v1/messages` itself and talks to Opper's Anthropic-compatible surface. Everything else about the agent is unchanged.

## Full guide

Claude Code has more configuration surface than any other integration here — model alias mapping, the `/model` picker, per-project settings, CI usage, and migrating from OpenRouter. All of it lives in the dedicated guide:

<Card title="Run Claude Code on any model" icon="book" href="/guides/claude-code-router">
  Manual setup, alias mapping, per-project config, CI, and troubleshooting.
</Card>

## Related

<CardGroup cols={2}>
  <Card title="Claude Desktop" icon="https://mintcdn.com/opper/H-iiE_tAhHpUz1kK/images/tools/claude-code.svg?fit=max&auto=format&n=H-iiE_tAhHpUz1kK&q=85&s=3411d7c0de4849994f0084a85652fbc5" href="/integrations/personal-agents/claude-desktop" width="100" height="100" data-path="images/tools/claude-code.svg">
    The same agent inside Anthropic's desktop app.
  </Card>

  <Card title="All integrations" icon="plug" href="/integrations/overview">
    Every app that runs on Opper.
  </Card>
</CardGroup>
