Agent Quick Start
Connect Claude Code CLI to Tokatlas
Configure Claude Code CLI with a Tokatlas key, endpoint, and enabled model.
Before You Start
Install Claude Code using the official installer guide, then run claude --version.
Prepare a Tokatlas API key and a model enabled for your account. Replace all YOUR_... placeholders. Back up existing settings before merging changes.
Connection Settings
| Setting | Value |
|---|---|
| Provider name | Tokatlas |
| Protocol | Messages |
| Endpoint / Base URL | https://api.tokatlas.ai |
| API Key | YOUR_TOKATLAS_API_KEY |
| Model ID | YOUR_TOKATLAS_MODEL_ID |
Setup
- Open a terminal in your project. Set these variables for the current session, replacing the key and model placeholders.
- Run
claudefrom that terminal. Send a short request and use/statusto verify the gateway and credential source.
Configuration Example
bash
export ANTHROPIC_BASE_URL="https://api.tokatlas.ai"
export ANTHROPIC_API_KEY="YOUR_TOKATLAS_API_KEY"
export ANTHROPIC_MODEL="YOUR_TOKATLAS_CLAUDE_MODEL_ID"
claudeCompatibility Notes
These are Bash/Zsh commands. In PowerShell use $env:NAME = "value". Tokatlas Messages documentation uses x-api-key, so this example uses ANTHROPIC_API_KEY. Resolve any existing ANTHROPIC_AUTH_TOKEN conflict before testing. Use a Claude model enabled for your account. Shell variables last only for that session.
Verify and Troubleshoot
- Open a new conversation and send “Reply with OK only”; check that text returns.
- Check Tokatlas usage for a successful request at the same time with the configured model.
- If you need tools, ask the client to list files in a test directory and check that the tool result returns to the conversation.
- If step 1 fails, test the key and model directly using API Basics. If that succeeds, troubleshoot client settings below.
| Problem | Check |
|---|---|
401 / 403 | Re-enter the Tokatlas key without quotes or spaces; check the auth mode and model access. |
404 | Compare the full request URL with the table above; remove a duplicated /v1 or endpoint suffix. |
| Unknown model | Copy an enabled ID from the model list, save it, and select that model in a new chat. |
| Tool failure | Model capabilities and client protocol support. |
| Changes ignored | Select the Tokatlas provider/profile, fully quit the client, and reopen it. |
