Automatisierung

OpenClaw

OpenClaw, jetzt durch Europa.

Self-hosted Gateway zwischen Chat-Apps und Coding-Agents. Melious als Provider in `~/.openclaw/openclaw.json` eintragen und der Daemon routet jeden Agent-Traffic über uns.

~/.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" },
      }
    }
  }
}
Über

What is OpenClaw?

OpenClaw ist ein selbstgehostetes KI-Agent-Gateway. Verbindet Chat-Apps wie Telegram, Discord, WhatsApp und Slack mit Coding-Agents wie Pi und routet deren Modell-Traffic über die Provider, die du konfigurierst. Das Gateway ist selbst kein Coding-Agent. Es ist die Verkabelung zwischen Chat-Oberfläche und Agent-Runtime. Melious hinzufügen ist ein Block in der JSON5-Config plus eine Env-Variable.

Zur offiziellen Website openclaw.ai
Setup

Wie nutze ich OpenClaw mit Melious?

  1. OpenClaw installieren

    OpenClaw braucht Node 24 (oder 22.14+). Der offizielle Installer setzt Node bei Bedarf auf. macOS, Linux und Windows werden unterstützt. npm, pnpm und bun gehen als Alternativen.

    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. Melious als Provider eintragen

    Einen melious-Block unter models.providers in ~/.openclaw/openclaw.json ablegen. JSON5 erlaubt Kommentare und trailing commas. api: "openai-completions" wählt unsere Shape. Aliase für den /models-Slash-Command leben unter agents.defaults.models, mit <provider>/<model-id> als Schlüssel. Aktuelle IDs unter melious.ai/hub/models.

    ~/.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. Key setzen und Gateway neu laden

    Den Key in ~/.openclaw/.env ablegen, damit OpenClaw die Env-Variable aus der Config auflösen kann. Daemon neu laden, damit die Config-Änderung greift, dann zeigt openclaw models list alle registrierten Provider und Modelle mit Auth-Status.

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

Drei Schritte von hier.

Hol dir einen Melious-Key. Wähl dein Tool. Folg der Anleitung. Gleicher Client, antwortet jetzt aus Europa.