OpenClaw Config Generator

Build a safer openclaw.json without hand-editing JSON. This tool runs entirely in your browser.

Runs fully client-side. No tokens are sent to CoClaw.
OpenClaw ref: main @ baa1e95

Core

Start with a safe baseline and grow from there.

AI Providers

Use a built-in provider model id, or define a custom provider with a base URL and API key.

Tip: OpenClaw usually reads provider keys from env vars (for example ANTHROPIC_API_KEY or OPENAI_API_KEY).

Gateway

Controls the WebSocket + Control UI server binding.

Channels

Pick the messaging channels you want to enable.

Preview

Generated openclaw.json

Required env vars
ANTHROPIC_API_KEY

You selected “Keep secrets out of JSON”, so tokens are expected via env vars.

{
  "agents": {
    "defaults": {
      "model": {
        "primary": "anthropic/claude-opus-4-5"
      },
      "sandbox": {
        "mode": "non-main"
      }
    }
  },
  "gateway": {
    "port": 18789,
    "bind": "loopback"
  },
  "tools": {
    "sandbox": {
      "tools": {
        "allow": [
          "bash",
          "process",
          "read",
          "write",
          "edit",
          "sessions_list",
          "sessions_history",
          "sessions_send",
          "sessions_spawn"
        ],
        "deny": [
          "browser",
          "canvas",
          "nodes",
          "cron",
          "discord",
          "gateway"
        ]
      }
    }
  }
}