Automation

OpenClaw

OpenClaw, routed through Europe.

Self-hosted gateway between chat apps and coding agents. Add Melious as a provider in `~/.openclaw/openclaw.json` and the daemon routes every agent's traffic through us.

~/.openclaw/openclaw.json
{
  models: {
    providers: {
      melious: {
        api: "openai-completions",
        baseUrl: "https://api.melious.ai/v1",
        apiKey: "${MELIOUS_API_KEY}",
        timeoutSeconds: 300,
      }
    }
  },
  agents: {
    defaults: {
      model: "melious/<MODEL_ID>",
      models: {
        "melious/<MODEL_ID>":         { alias: "main" },
        "melious/<LIGHTWEIGHT_ID>":   { alias: "fast" },
        "melious/<MODEL_ID>:eco":     { alias: "eco" },
      }
    }
  }
}
About

What is OpenClaw?

OpenClaw is a self-hosted AI agent gateway. It connects chat apps (Telegram, Discord, WhatsApp, Slack) to coding agents like Pi and routes their model traffic through whatever providers you configure. The gateway itself isn't a coding agent; it's the wiring between user-facing chat surfaces and the agent runtimes that actually do the work. Adding Melious is a single block in the JSON5 config and one env var.

Visit the official site openclaw.ai
Setup

How to use OpenClaw with Melious?

  1. Install OpenClaw

    OpenClaw needs Node 24 (or 22.14+). Official installer handles Node setup if missing. macOS, Linux, and Windows supported. npm, pnpm, and bun work as alternatives.

    Shell
    # macOS / Linux / WSL2
    curl -fsSL https://openclaw.ai/install.sh | bash
    
    # Windows PowerShell
    iwr -useb https://openclaw.ai/install.ps1 | iex
    
    # Or via npm / pnpm / bun
    npm install -g openclaw@latest && openclaw onboard --install-daemon
  2. Add Melious as a provider

    Drop a melious block under models.providers in ~/.openclaw/openclaw.json. JSON5 lets you keep comments and trailing commas. api: "openai-completions" selects our shape. Aliases for the /models slash command live under agents.defaults.models, keyed by <provider>/<model-id>. Browse melious.ai/hub/models for current IDs.

    ~/.openclaw/openclaw.json
    {
      models: {
        providers: {
          melious: {
            api: "openai-completions",
            baseUrl: "https://api.melious.ai/v1",
            apiKey: "${MELIOUS_API_KEY}",
            timeoutSeconds: 300,
          }
        }
      },
      agents: {
        defaults: {
          model: "melious/<MODEL_ID>",
          models: {
            "melious/<MODEL_ID>":         { alias: "main" },
            "melious/<LIGHTWEIGHT_ID>":   { alias: "fast" },
            "melious/<MODEL_ID>:eco":     { alias: "eco" },
          }
        }
      }
    }
  3. Set the key and reload the gateway

    Drop your key in ~/.openclaw/.env so OpenClaw can resolve the env-var reference from the config. Reload the daemon to pick up the config change, then openclaw models list shows every registered provider and model with auth status.

    Shell
    echo 'MELIOUS_API_KEY=sk-mel-<YOUR_API_KEY>' >> ~/.openclaw/.env
    openclaw gateway restart
    openclaw models list
Ready?

Three steps from here.

Grab a Melious key. Pick your tool. Follow the guide. Same client, now answering from Europe.