Agents
Supported AI coding agents, their capabilities, and how to configure them in Raziel.
Supported agents
| Agent | Provider | Model | Best for |
|---|---|---|---|
| Claude Code | Anthropic | claude-sonnet-4-x | General coding, refactoring, full-stack |
| Codex | OpenAI | o3, gpt-4o | Code generation, completions |
| opencode | OpenAI-compatible | any | Custom/local models |
| Gemini CLI | gemini-2.x | Large context, repo-wide tasks |
Configuring API keys
Each agent requires an API key from its provider. Set these in Settings → API Keys.
Keys are encrypted at rest and injected into the sandbox environment at session start — they are never written to disk in the sandbox.
Claude Code
Requires an Anthropic API key. Claude Code also supports:
ANTHROPIC_MODEL— override the default modelMAX_TOKENS— cap per-request token usage
Codex
Requires an OpenAI API key.
Gemini CLI
Requires a Google AI Studio API key (GEMINI_API_KEY).
Agent flags
You can pass extra environment variables to any agent at session creation time via the API:
{
"server_id": "srv_abc123",
"agent": "claude-code",
"env": {
"ANTHROPIC_MODEL": "claude-opus-4-7",
"MAX_TOKENS": "8192"
}
}See the API Reference for the full session creation schema.