camelAI Documentation

Coding Agents

Use OpenClaw

Point OpenClaw at camelStream for unlimited frontier intelligence

OpenClaw can register an OpenAI-compatible provider in ~/.openclaw/openclaw.json. No plugin is required.

Providercamel-stream
Modelcamel-stream/auto
Base URLhttps://stream.camelai.com/v1
KeyCAMEL_API_KEY
Context window260K tokens guaranteed (see the fleet)

OpenClaw is a third-party agent. camelStream provides the model. Review the OpenClaw security docs before connecting a key.

1. Install OpenClaw

Terminal
curl -fsSL --proto '=https' --tlsv1.2 https://openclaw.ai/install.sh | bash

Or install from npm and run onboarding yourself:

Terminal
npm install -g openclaw@latest
openclaw onboard

See the OpenClaw install guide.

2. Create a Stream key

Generate an API key in the Stream console. It is shown once.

Terminal
export CAMEL_API_KEY="qaml_live_..."

The gateway must see the same environment variable. If you run OpenClaw as a daemon, put the key in that service environment or in ~/.openclaw/.env if your install supports it.

3. Add the provider

Merge this into ~/.openclaw/openclaw.json. Keep any providers you already have. The file is JSON5, so comments and unquoted keys are allowed.

~/.openclaw/openclaw.json
{
  models: {
    providers: {
      "camel-stream": {
        baseUrl: "https://stream.camelai.com/v1",
        apiKey: "${CAMEL_API_KEY}",
        api: "openai-completions",
        models: [
          {
            id: "auto",
            name: "camelStream Auto",
            reasoning: true,
            input: ["text"],
            contextWindow: 262144,
            maxTokens: 32768,
            cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }
          }
        ]
      }
    }
  },
  agents: {
    defaults: {
      model: {
        primary: "camel-stream/auto"
      }
    }
  }
}

api: "openai-completions" is the transport for Stream's /v1/chat/completions endpoint. Set contextWindow yourself. OpenClaw's custom-provider default is much smaller.

4. Reload and verify

Terminal
openclaw gateway restart
openclaw models list

You should see camel-stream/auto with a 262k context window. If the gateway is already running as a daemon, restart it so it reloads the config.

Terminal
openclaw dashboard

If OpenClaw cannot see the provider, confirm CAMEL_API_KEY is set in the same environment as the gateway and that the JSON5 file is valid.

camelStream queues requests when every subscribed stream is busy. OpenClaw should keep the HTTP connection open. See Queues & errors.

What's next?