rawr Rawrter
Login

OpenClaw

AI agent for Telegram, Discord, Slack and WhatsApp

Agents & frameworks agent messengers telegram discord

About

OpenClaw (formerly Moltbot / Clawdbot) is an open-source AI agent for messengers that not only replies but also performs tasks. It supports Telegram, Discord, Slack, WhatsApp, Signal and iMessage, and connects to any OpenAI-compatible API.

How to connect

How to connect

  1. Requires Node.js 22.22.3+ (24 LTS recommended). Install the CLI:

    npm install -g openclaw
    
  2. Run the guided setup — it writes the provider, model and gateway for you:

    openclaw onboard
    

    When the wizard asks for a model provider, pick OpenAI-compatible and enter:

    • Base URL: https://api.openrussiarouter.com/v1
    • API key: sk-or-...
    • Model — from the Models catalog, e.g. glm-5.2
  3. Run the agent gateway:

    openclaw gateway run
    

Manual setup (if you don't use onboard)

~/.openclaw/openclaw.json needs two linked sections — the provider and the default model selection (without primary the agent won't be routed to the provider):

{
  "models": {
    "providers": {
      "orr": {
        "api": "openai-completions",
        "baseUrl": "https://api.openrussiarouter.com/v1",
        "apiKey": "sk-or-...",
        "models": [{ "id": "glm-5.2", "name": "glm-5.2" }]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": { "primary": "orr/glm-5.2" }
    }
  }
}

Don't keep the key in plaintext: move it to a SecretRef with openclaw secrets configure.