OpenClaw
HARNESSES / RESPONSES API

OpenClaw

Connect your OpenClaw agent directly to dheeX.

Make DHEEX_API_KEY available to the gateway process, including its service environment. Merge this into ~/.openclaw/openclaw.json:

~/.openclaw/openclaw.json
{
  "models": {
    "mode": "merge",
    "providers": {
      "dheeX": {
        "baseUrl": "https://api.dheex.com/v1",
        "apiKey": "${DHEEX_API_KEY}",
        "api": "openai-responses",
        "models": [
          { "id": "deepseek-ai/DeepSeek-V4.1-Flash-1017", "name": "dheeX Flash" }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": { "primary": "dheeX/deepseek-ai/DeepSeek-V4.1-Flash-1017" },
      "models": {
        "dheeX/deepseek-ai/DeepSeek-V4.1-Flash-1017": { "params": { "transport": "sse" } }
      },
      "maxConcurrent": 1,
      "subagents": { "maxConcurrent": 1 }
    }
  }
}

Reload the gateway, send a short message, and check your dheeX usage. Keep transport: "sse" for HTTP streaming and run one request at a time.

OpenClaw provider configuration ↗