Coding agent CLI-installable

Claude Code

Claude Code, pointed at Europe.

Two env vars, no patches, no fork. The same `claude` you already use, running on European infrastructure.

Shell
export ANTHROPIC_BASE_URL=https://api.melious.ai
export ANTHROPIC_AUTH_TOKEN=sk-mel-<YOUR_API_KEY>
export ANTHROPIC_API_KEY=""
claude
About

What is Claude Code?

Claude Code is Anthropic's official terminal coding agent. A single claude command that reads files, makes edits, runs tools, and holds session context across turns. Distinguished by how hard it pushes on exploration: slash commands, long tool chains, thorough summaries. That thoroughness costs tokens, but it's the right pick when you want Claude Code's specific behavior.

Visit the official site claude.ai/code
Setup

How to use Claude Code with Melious?

  1. Install Claude Code

    Run Anthropic's official installer. Native script, Homebrew, WinGet, or npm all work; the install command depends on your platform.

    Shell
    # macOS / Linux / WSL
    curl -fsSL https://claude.ai/install.sh | bash
    
    # Windows PowerShell
    irm https://claude.ai/install.ps1 | iex
    
    # Or a package manager
    brew install --cask claude-code
    winget install Anthropic.ClaudeCode
    npm install -g @anthropic-ai/claude-code
  2. Point it at Melious

    Set ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN. Blank ANTHROPIC_API_KEY so the SDK doesn't fall back to direct Anthropic when an old key is in your shell. The base URL has no /v1, the SDK appends its own version prefix. Pin each slot to a specific Melious model so background calls don't reach for hard-coded Anthropic names. Pick model IDs from the [model hub](https://melious.ai/hub/models). For a repo-checkable config, drop the same values into .claude/settings.local.json.

    Shell
    export ANTHROPIC_BASE_URL=https://api.melious.ai
    export ANTHROPIC_AUTH_TOKEN=sk-mel-<YOUR_API_KEY>
    export ANTHROPIC_API_KEY=""
    
    # Pin each slot to a Melious model — IDs from melious.ai/hub/models
    export ANTHROPIC_DEFAULT_OPUS_MODEL=<MODEL_ID>
    export ANTHROPIC_DEFAULT_SONNET_MODEL=<MODEL_ID>
    export ANTHROPIC_DEFAULT_HAIKU_MODEL=<LIGHTWEIGHT_MODEL_ID>
    export ANTHROPIC_SMALL_FAST_MODEL=<LIGHTWEIGHT_MODEL_ID>
  3. Run sessions as usual

    Everything Claude Code normally does still works. Slash commands, agent mode, file edits, tool calls. The response carries the original claude-* model name back so the client's internal checks don't trip, even though an open-weight model ran the inference.

    Shell
    claude
Ready?

Three steps from here.

Grab a Melious key. Pick your tool. Follow the guide. Same client, now answering from Europe.