AI-assisted coding with evroc Think
evroc think code launches popular AI coding agents — Claude Code, Codex, OpenCode,
Aider, and more — with evroc Think as the model backend. The CLI handles API keys,
proxy translation, and environment configuration automatically.
You get AI-assisted coding on European infrastructure without manually configuring each tool’s API endpoint, base URL, or auth headers.
Supported agents
Section titled “Supported agents”| Agent | evroc think code subcommand |
How it talks to Think |
|---|---|---|
| Claude Code | evroc think code claude |
Anthropic-to-OpenAI proxy (automatic) |
| Codex | evroc think code codex |
Responses API proxy (automatic) |
| OpenCode | evroc think code opencode |
OpenAI-compatible (direct) |
| Aider | evroc think code aider |
OpenAI-compatible (direct) |
| Hermes | evroc think code hermes |
OpenAI-compatible (direct) |
| Goose | evroc think code goose |
OpenAI-compatible (direct) |
| Crush | evroc think code crush |
OpenAI-compatible (direct) |
| Qwen Code | evroc think code qwen |
OpenAI-compatible (direct) |
| Pi | evroc think code pi |
OpenAI-compatible (direct) |
| OpenClaw | evroc think code openclaw |
OpenAI-compatible (direct) |
Note: Claude Code and Codex use protocol-specific APIs that Think doesn’t expose directly. The CLI runs a local translation proxy for these agents — you don’t need to configure anything extra.
Prerequisites
Section titled “Prerequisites”Before you begin, you’ll need:
- The evroc CLI installed and logged in, or a Think API key
- At least one agent installed (e.g.,
npm install -g @anthropic-ai/claude-code)
Authentication
Section titled “Authentication”The CLI resolves your Think API key in the following order:
--api-keyflagEVROC_API_KEYenvironment variableEVROC_THINK_API_KEYenvironment variable- Auto-created from your evroc CLI session (OIDC)
For CI and scripting, set EVROC_THINK_API_KEY to skip the OIDC flow:
export EVROC_THINK_API_KEY="<your-api-key>"evroc think code claude -- -p "Explain this function"Create an API key with:
evroc think apikey create my-ci-keyLaunch an agent
Section titled “Launch an agent”evroc think code claudeThis starts Claude Code with Think configured as the backend. The CLI sets the
appropriate environment variables for the agent (e.g., ANTHROPIC_API_KEY and
ANTHROPIC_BASE_URL for Claude Code, OPENAI_API_KEY and OPENAI_BASE_URL
for most other agents), starts a translation proxy if needed, and spawns the agent.
Choose a model
Section titled “Choose a model”By default, the CLI uses moonshotai/Kimi-K2.5 from the shared models catalogue.
Specify a different model with --model:
evroc think code claude --model zai-org/GLM-5.2evroc think code aider --model moonshotai/Kimi-K2.5See Supported Models for the full catalogue.
Pass flags to the agent
Section titled “Pass flags to the agent”Arguments after -- are passed through to the underlying agent:
evroc think code claude -- -p "Say hello world, nothing else"evroc think code codex -- exec --skip-git-repo-check "Refactor this function"evroc think code aider -- --yes --message "Add a README"Permanent configuration with evroc think code init
Section titled “Permanent configuration with evroc think code init”evroc think code runs an agent for a single session — no config files are written.
Use evroc think code init to write permanent config files that connect an agent to
Think:
evroc think code init claudeevroc think code init codexevroc think code init aiderThis writes agent-specific config files in your project directory or home directory:
| Agent | Config file written |
|---|---|
| Claude Code | CLAUDE.md, .claude/settings.local.json |
| Codex | ~/.codex/config.toml |
| Aider | .aider.conf.yml |
| OpenCode | opencode.jsonc |
| Hermes | ~/.hermes/config.yaml |
| Continue | ~/.continue/config.yaml |
| Qwen Code | ~/.qwen/settings.json |
| Crush | crush.json |
| Goose | ~/.config/goose/config.yaml |
| Pi | ~/.pi/agent/models.json |
| OpenClaw | ~/.openclaw/openclaw.json |
The config files use your Think API key and endpoint. You can commit them to share with your team.
Important: The init command writes config files, but doesn’t run a proxy. For Claude Code and Codex, use
evroc think code claude/evroc think code codexto start the translation proxy. The init config is for reference and for agents that talk directly to OpenAI-compatible endpoints.
How it works
Section titled “How it works”evroc think code claude │ ├─ 1. Resolve API key (flag → env → OIDC session) ├─ 2. Start local Anthropic→OpenAI proxy (Claude only) ├─ 3. Set ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL env vars └─ 4. Spawn: claude-code │ └─ Agent talks to local proxy → Think Models APIFor agents that are already OpenAI-compatible (Aider, OpenCode, Hermes, etc.), the CLI sets the environment variables and spawns the agent directly — no proxy needed.
The local proxy is torn down when the agent exits. No ports are left listening.
Environment variables
Section titled “Environment variables”| Variable | Purpose |
|---|---|
EVROC_API_KEY |
Think API key (checked first) |
EVROC_THINK_API_KEY |
Think API key (checked second — preferred for CI) |
EVROC_BASE_URL |
Override the Think endpoint (defaults to https://models.think.evroc.com/v1) |
EVROC_MODEL_ALIAS |
Override the default model |
Next steps
Section titled “Next steps”- Supported models — Browse available models
- OpenAI compatibility — Use Think with any OpenAI-compatible client
- CLI reference — Full
evroc think codecommand reference