Coding tools setup for OpenAI-compatible clients and agent workflows.

Use the shortest path: test the API first, then choose either the OpenAI-compatible route or the Anthropic-style route depending on the tool.

Standard values

OpenAI-compatible

Base URL: https://monkeytheme.com/v1 API Key: *** Recommended model: gpt-4o / gpt-4o-mini

Anthropic-style

Base URL: https://monkeytheme.com API Key: *** Recommended model: claude-sonnet-4-20250514-20250514
Anthropic-native tools usually should not add /v1 manually.

Codex

Recommended: use the one-click script. It writes the local config after asking for your API key.

curl -fsSL https://monkeytheme.com/install/codex.sh | bash

Manual values

Base URL: https://monkeytheme.com/v1 API Key: *** Model: gpt-4o

Claude Code

Recommended: use the one-click script, then restart the CLI after the environment snippet is generated.

curl -fsSL https://monkeytheme.com/install/claude-code.sh | bash

Manual values

export ANTHROPIC_API_KEY="***" export ANTHROPIC_BASE_URL="https://monkeytheme.com" export ANTHROPIC_MODEL="claude-sonnet-4-20250514-20250514"
If your Claude Code build does not support custom endpoints, use an OpenAI-compatible tool instead.

Gemini CLI

Recommended: use the one-click script. If your build supports custom providers, use the OpenAI-compatible route.

curl -fsSL https://monkeytheme.com/install/gemini-cli.sh | bash

Manual values

Base URL: https://monkeytheme.com/v1 API Key: *** Model: gpt-4o-mini / gpt-4o

OpenClaw

Use MonkeyAI with OpenClaw. The easiest path is the one-click script: choose Anthropic (Claude) or OpenAI (Codex) when prompted, then paste your API key.

Anthropic (Claude)

https://monkeytheme.com
Do not add /v1 for Claude / Anthropic-native access. Example model: claude-sonnet-4-20250514-20250514.

OpenAI (Codex)

https://monkeytheme.com/v1
OpenAI / Codex-compatible access must include /v1. Example model: gpt-4o.

Recommended: interactive one-click script

curl -fsSL https://monkeytheme.com/install/openclaw.sh | bash
After the script starts, copy the API key from your dashboard / keys page and paste it when prompted.

Hermes

Use MonkeyAI with Hermes. The recommended path is the one-click script, which lets you choose the provider route and writes ~/.hermes/config.yaml.

Recommended: interactive one-click script

curl -fsSL https://monkeytheme.com/install/hermes.sh | bash
After the script starts, copy the API key from your dashboard / keys page and paste it when prompted.

OpenAI-compatible

model: provider: openai model: gpt-4o-mini providers: openai: api_key: *** base_url: https://monkeytheme.com/v1

Anthropic-style

model: provider: anthropic model: claude-sonnet-4-20250514-20250514 providers: anthropic: api_key: *** base_url: https://monkeytheme.com

Cursor / Cline / Continue

Cursor / Cline

Provider: OpenAI Compatible Base URL: https://monkeytheme.com/v1 API Key: *** Model: gpt-4o / gpt-4o-mini / claude-sonnet-4-20250514-20250514

Continue

{ "models": [ { "title": "MonkeyAI GPT 5.3 Codex", "provider": "openai", "model": "gpt-4o", "apiBase": "https://monkeytheme.com/v1", "apiKey": "***" } ] }

Common pitfalls

  • OpenAI-compatible tools usually need /v1; Anthropic-native tools usually do not.
  • Use one API key per tool if possible.
  • Test one short request before long coding sessions.
  • Keep your API key out of public repositories.