Claude Code
Connect Claude Code to aivene for terminal-based pair programming.
Claude Code is Anthropic's agentic coding CLI. Pair-program in your terminal, refactor across files, and run tools autonomously.
Setup
The fastest way to set up Claude Code with aivene is through the Integrations page. Use the one-click setup script to configure everything automatically.
Manual setup
If you prefer manual configuration:
1. Install Claude Code
# macOS / Linux
curl -fsSL https://claude.ai/install.sh | bash
# Windows (PowerShell)
irm https://claude.ai/install.ps1 | iex2. Configure environment variables
Add these to your shell config (~/.zshrc on macOS, ~/.bashrc on Linux):
# aivene API endpoint (no /v1: Claude Code adds the path itself)
export ANTHROPIC_BASE_URL="https://api.aivene.com"
# Your aivene API key
export ANTHROPIC_AUTH_TOKEN="isk-your-api-key"
# Must be set but left empty
export ANTHROPIC_API_KEY=""
# Model configuration (use any available model on aivene)
export ANTHROPIC_DEFAULT_OPUS_MODEL="claude-opus-4-8"
export ANTHROPIC_DEFAULT_SONNET_MODEL="claude-sonnet-4-6"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="claude-haiku-4-5"3. Reload your shell and launch
source ~/.zshrc # or ~/.bashrc on Linux
claudeUsage
Once configured, use Claude Code as you normally would:
cd your-project
claudeClaude Code will automatically route requests through aivene.
Model selection
You can use any compatible model available on aivene. Check the Models page for the full list.