Skip to content

Agentsflare Openclaw Configuration Guide ​

Openclaw Openclaw is an AI that can actually get work done.

Installing and Configuring Openclaw ​

Installing Openclaw ​

bash
curl -fsSL https://openclaw.ai/install.sh | bash
bash
npm i -g openclaw
openclaw onboard
bash
curl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method git

For other installation methods, see Openclaw Installation Documentation

Starting the Service ​

Start Openclaw

bash
openclaw start

If there are any other issues, follow the prompts.

Enter the following URL in your browser: http://localhost:18789/?token=123456 to access the Openclaw page.

Configuring Openclaw ​

  1. Modify the configuration file ~/.openclaw/openclaw.json
{
  "meta": {
    "lastTouchedVersion": "2026.2.3-1",
    "lastTouchedAt": "2026-02-09T05:24:26.533Z"
  },
  "models": {
    "mode": "merge",
    "providers": {
      "AgentsFlare": {
        "baseUrl": "https://api.agentsflare.com/v1",
        "apiKey": "YOUR-KEY",
        "api": "openai-completions",
        "models": [
          {
            "id": "claude-haiku-4-5-20251001",
            "name": "claude-haiku-4-5-20251001",
            "api": "openai-completions",
            "reasoning": false,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 64000,
            "maxTokens": 4096
          },
          {
            "id": "claude-opus-4-6",
            "name": "claude-opus-4-6",
            "api": "openai-completions",
            "reasoning": true,
            "input": ["text"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 200000,
            "maxTokens": 32000
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "AgentsFlare/claude-haiku-4-5-20251001"
      },
      "compaction": {
        "mode": "safeguard"
      },
      "maxConcurrent": 4,
      "subagents": {
        "maxConcurrent": 8
      }
    }
  },
  "messages": {
    "ackReactionScope": "group-mentions"
  },
  "commands": {
    "native": "auto",
    "nativeSkills": "auto"
  },
  "gateway": {
    "port": 18789,
    "mode": "local",
    "auth": {
      "token": "123456"
    }
  },
  "skills": {
    "entries": {
      "coding-agent": {
        "enabled": true
      },
      "skill-creator": {
        "enabled": true
      }
    }
  }
}
  1. Configure Openclaw models through the web page Click Settings on the right side -> Config, select Models in the pop-up box, and select All on the right side. Add the base URL and API key below.

Openclaw Configuration

Debugging ​

bash
openclaw gateway run --token 123456

Run in the foreground and determine the cause of errors through the input logs.

This documentation is licensed under CC BY-SA 4.0.