Claude Code

Claude Code is a terminal-based AI coding assistant developed by Anthropic, designed for agentic software development workflows.

1.1 Anthropic-Compatible Path

Before starting Claude Code, execute the following commands in the same terminal session. Once the variables are set, launch it from that terminal using claude.

export ANTHROPIC_BASE_URL="https://api.rygen.io/v1"
export ANTHROPIC_API_KEY="your-rygen-api-key"
export ANTHROPIC_MODEL="your-model-name"

Optional: Add to Model Picker

To make the /model selectable:

export ANTHROPIC_CUSTOM_MODEL_OPTION="your-model-name"
export ANTHROPIC_CUSTOM_MODEL_OPTION_NAME="Rygen Model"

1.2 Notes

  • This works by pointing Claude Code to a compatible API endpoint, even though it’s designed for Anthropic models
  • Ensure the endpoint supports expected request formats
  • If issues occur, verify compatibility with Claude’s API expectations

1.3 References