Guides
Coding agents
By agent
Connection
| Field | Value |
|---|---|
| Base URL (OpenAI) | https://api.monkeybird.si/v1 |
| Base URL (Anthropic) | https://api.monkeybird.si |
| Main model | monkeybird-glm-5.3-sem-censura |
| Fast model | monkeybird-glm-5.3-flash-sem-censura |
| Key | Create key |
1. Save the key
The configurations below read the key from the MONKEYBIRD_API_KEY environment variable. On Windows, setx only applies to new terminals.
echo 'export MONKEYBIRD_API_KEY="om_..."' >> ~/.zshrc && source ~/.zshrcTest the key before configuring the agent:
curl https://api.monkeybird.si/v1/chat/completions \
-H "Authorization: Bearer $MONKEYBIRD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "monkeybird-glm-5.3-flash-sem-censura", "messages": [{"role": "user", "content": "ok"}]}'2. Set up the agent
OpenCode
Paste the prompt into OpenCode and it edits its own configuration, or edit the files yourself:
~/.config/opencode/opencode.json (Windows: %USERPROFILE%\.config\opencode\opencode.json)
Configure OpenCode to use MonkeyBird (an API compatible with OpenAI). The key is already in the MONKEYBIRD_API_KEY environment variable; do not show the key in your reply.
Create or edit ~/.config/opencode/opencode.json (Windows: %USERPROFILE%\.config\opencode\opencode.json), merging this content without deleting what is already there:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"monkeybird": {
"npm": "@ai-sdk/openai-compatible",
"name": "MonkeyBird",
"options": {
"baseURL": "https://api.monkeybird.si/v1",
"apiKey": "{env:MONKEYBIRD_API_KEY}"
},
"models": {
"monkeybird-glm-5.3-flash-sem-censura": {
"name": "GLM 5.3 Flash"
},
"monkeybird-deepseek-v4.1-flash-sem-censura": {
"name": "DeepSeek V4.1 Flash"
},
"monkeybird-glm-5.3-sem-censura": {
"name": "GLM 5.3"
},
"monkeybird-kimi-k3.1-pro-sem-censura": {
"name": "Kimi K3.1 Pro sem censura"
},
"monkeybird-kimi-k3.1-pro": {
"name": "Kimi K3.1 Pro"
},
"monkeybird-minimax-m3.1-flash": {
"name": "MiniMax M3.1 Flash"
},
"monkeybird-deepseek-v4.1-flash-fast": {
"name": "DeepSeek V4.1 Flash Fast"
}
}
}
},
"model": "monkeybird/monkeybird-glm-5.3-sem-censura",
"small_model": "monkeybird/monkeybird-glm-5.3-flash-sem-censura"
}
At the end, tell me: Open OpenCode, type /models and pick "GLM 5.3" from the MonkeyBird provider.Open OpenCode, type /models and pick "GLM 5.3" from the MonkeyBird provider.
Claude Code
Paste the prompt into Claude Code and it edits its own configuration, or edit the files yourself:
~/.claude/settings.json (Windows: %USERPROFILE%\.claude\settings.json)
Configure Claude Code to use MonkeyBird (an API compatible with Anthropic). The key is already in the MONKEYBIRD_API_KEY environment variable; do not show the key in your reply.
Create or edit ~/.claude/settings.json (Windows: %USERPROFILE%\.claude\settings.json), merging this content without deleting what is already there:
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.monkeybird.si",
"ANTHROPIC_AUTH_TOKEN": "COLE_SUA_CHAVE_AQUI",
"ANTHROPIC_MODEL": "monkeybird-glm-5.3-sem-censura",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "monkeybird-glm-5.3-sem-censura",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "monkeybird-glm-5.3-sem-censura",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "monkeybird-glm-5.3-flash-sem-censura",
"CLAUDE_CODE_SUBAGENT_MODEL": "monkeybird-glm-5.3-sem-censura",
"CLAUDE_CODE_MAX_CONTEXT_TOKENS": "200000"
}
}
Replace COLE_SUA_CHAVE_AQUI with the value of the MONKEYBIRD_API_KEY environment variable (this file does not read variables).
At the end, tell me: Reopen Claude Code and run /status: "Anthropic base URL" should show the MonkeyBird address.Replace COLE_SUA_CHAVE_AQUI with the value of the MONKEYBIRD_API_KEY environment variable (this file does not read variables).
Reopen Claude Code and run /status: "Anthropic base URL" should show the MonkeyBird address.
OpenClaw
Paste the prompt into OpenClaw and it edits its own configuration, or edit the files yourself:
~/.openclaw/openclaw.json
Configure OpenClaw to use MonkeyBird (an API compatible with OpenAI). The key is already in the MONKEYBIRD_API_KEY environment variable; do not show the key in your reply.
Create or edit ~/.openclaw/openclaw.json, merging this content without deleting what is already there:
{
agents: {
defaults: {
model: { primary: "monkeybird/monkeybird-glm-5.3-sem-censura" },
},
},
models: {
mode: "merge",
providers: {
monkeybird: {
baseUrl: "https://api.monkeybird.si/v1",
apiKey: "${MONKEYBIRD_API_KEY}",
api: "openai-completions",
models: [
{ id: "monkeybird-glm-5.3-flash-sem-censura", name: "GLM 5.3 Flash" },
{ id: "monkeybird-deepseek-v4.1-flash-sem-censura", name: "DeepSeek V4.1 Flash" },
{ id: "monkeybird-glm-5.3-sem-censura", name: "GLM 5.3" },
{ id: "monkeybird-kimi-k3.1-pro-sem-censura", name: "Kimi K3.1 Pro sem censura" },
{ id: "monkeybird-kimi-k3.1-pro", name: "Kimi K3.1 Pro" },
{ id: "monkeybird-minimax-m3.1-flash", name: "MiniMax M3.1 Flash" },
{ id: "monkeybird-deepseek-v4.1-flash-fast", name: "DeepSeek V4.1 Flash Fast" },
],
},
},
},
}
At the end, tell me: Restart OpenClaw and send "ok" to test.Restart OpenClaw and send "ok" to test.
Hermes Agent
Paste the prompt into Hermes Agent and it edits its own configuration, or edit the files yourself:
~/.hermes/config.yaml
Configure Hermes Agent to use MonkeyBird (an API compatible with OpenAI). The key is already in the MONKEYBIRD_API_KEY environment variable; do not show the key in your reply.
Create or edit ~/.hermes/config.yaml, merging this content without deleting what is already there:
model:
default: monkeybird-glm-5.3-sem-censura
provider: custom
base_url: https://api.monkeybird.si/v1
key_env: MONKEYBIRD_API_KEY
Back up config.yaml first. If Hermes cannot see the variable, put it in ~/.hermes/.env. If key_env is not accepted, tell me instead of saving the key in the config.
At the end, tell me: Restart the session and send "ok" to test.Back up config.yaml first. If Hermes cannot see the variable, put it in ~/.hermes/.env. If key_env is not accepted, tell me instead of saving the key in the config.
Restart the session and send "ok" to test.
Pi
Paste the prompt into Pi and it edits its own configuration, or edit the files yourself:
~/.pi/agent/models.json~/.pi/agent/settings.json
Configure Pi to use MonkeyBird (an API compatible with OpenAI). The key is already in the MONKEYBIRD_API_KEY environment variable; do not show the key in your reply.
Create or edit ~/.pi/agent/models.json, merging this content without deleting what is already there:
{
"$schema": "https://pi.dev/schemas/models.schema.json",
"providers": {
"monkeybird": {
"name": "MonkeyBird",
"baseUrl": "https://api.monkeybird.si/v1",
"api": "openai-completions",
"apiKey": "$MONKEYBIRD_API_KEY",
"models": [
{
"id": "monkeybird-glm-5.3-flash-sem-censura",
"name": "GLM 5.3 Flash"
},
{
"id": "monkeybird-deepseek-v4.1-flash-sem-censura",
"name": "DeepSeek V4.1 Flash"
},
{
"id": "monkeybird-glm-5.3-sem-censura",
"name": "GLM 5.3"
},
{
"id": "monkeybird-kimi-k3.1-pro-sem-censura",
"name": "Kimi K3.1 Pro sem censura"
},
{
"id": "monkeybird-kimi-k3.1-pro",
"name": "Kimi K3.1 Pro"
},
{
"id": "monkeybird-minimax-m3.1-flash",
"name": "MiniMax M3.1 Flash"
},
{
"id": "monkeybird-deepseek-v4.1-flash-fast",
"name": "DeepSeek V4.1 Flash Fast"
}
]
}
}
}
Create or edit ~/.pi/agent/settings.json, merging this content without deleting what is already there:
{
"defaultProvider": "monkeybird",
"defaultModel": "monkeybird-glm-5.3-sem-censura"
}
At the end, tell me: Run /reload, pick the model with /model and send "ok" to test.Run /reload, pick the model with /model and send "ok" to test.
DeepSeek Harness
Paste the prompt into DeepSeek Harness and it edits its own configuration, or edit the files yourself:
~/.dsh/profiles/<profile>/cordis.patch.yml
Configure DeepSeek Harness to use MonkeyBird (an API compatible with OpenAI). The key is already in the MONKEYBIRD_API_KEY environment variable; do not show the key in your reply.
Create or edit ~/.dsh/profiles/<profile>/cordis.patch.yml, merging this content without deleting what is already there:
- name: '@deepseek-ai/dsh-llm-pi-ai'
config:
providers:
monkeybird:
displayName: MonkeyBird
apiKeyEnv: MONKEYBIRD_API_KEY
api: openai-completions
baseURL: https://api.monkeybird.si/v1
models:
- id: monkeybird-glm-5.3-flash-sem-censura
name: GLM 5.3 Flash
- id: monkeybird-deepseek-v4.1-flash-sem-censura
name: DeepSeek V4.1 Flash
- id: monkeybird-glm-5.3-sem-censura
name: GLM 5.3
- id: monkeybird-kimi-k3.1-pro-sem-censura
name: Kimi K3.1 Pro sem censura
- id: monkeybird-kimi-k3.1-pro
name: Kimi K3.1 Pro
- id: monkeybird-minimax-m3.1-flash
name: MiniMax M3.1 Flash
- id: monkeybird-deepseek-v4.1-flash-fast
name: DeepSeek V4.1 Flash Fast
- name: '@deepseek-ai/dsh-agent-default-model'
config:
provider: monkeybird
model: monkeybird-glm-5.3-sem-censura
At the end, tell me: Validate with "dsh --profile <profile> --dump-config", restart dsh and send "ok".Validate with "dsh --profile <profile> --dump-config", restart dsh and send "ok".
OpenBot
Paste the prompt into OpenBot and it edits its own configuration, or edit the files yourself:
.env (OpenBot root)model.yaml (tenant package)
Configure OpenBot to use MonkeyBird (an API compatible with OpenAI). The key is already in the MONKEYBIRD_API_KEY environment variable; do not show the key in your reply.
Create or edit .env (OpenBot root), merging this content without deleting what is already there:
OPENAI_BASE_URL=https://api.monkeybird.si/v1
OPENAI_API_KEY=COLE_SUA_CHAVE_AQUI
COPILOTKIT_OPENAI_API=chat
BOT_MODEL=monkeybird-glm-5.3-sem-censura
Create or edit model.yaml (tenant package), merging this content without deleting what is already there:
provider: openai
credential_secret_ref: openai-api-key
default_model: monkeybird-glm-5.3-sem-censura
Replace COLE_SUA_CHAVE_AQUI with the value of the MONKEYBIRD_API_KEY variable and do not delete the CopilotKit key.
At the end, tell me: Restart with scripts/start.sh and send "ok" to a Bot.Replace COLE_SUA_CHAVE_AQUI with the value of the MONKEYBIRD_API_KEY variable and do not delete the CopilotKit key.
Restart with scripts/start.sh and send "ok" to a Bot.
Cline, Roo Code, Cursor
"OpenAI Compatible" provider
Base URL: https://api.monkeybird.si/v1
API key: om_...
Model ID: monkeybird-glm-5.3-sem-censura