Skip to main content

1. Overview

OpenClaw is an open-source (MIT licensed) local AI assistant that runs on your own machine. It interacts through messaging platforms like Telegram, WhatsApp, Discord, Slack and iMessage, and performs real automation: file operations, terminal commands, browser control, scheduled tasks and more. With GravitexAI (OpenAI-compatible API), one API key gives OpenClaw access to 400+ leading models including GPT, Claude, Gemini and DeepSeek.

Local & Private

All data stays on your machine

Multi-platform

Telegram / WhatsApp / Discord / Slack / iMessage

Autonomous

Beyond chat — actually operates your computer

Extensible

Custom skills and plugins
Website: openclaw.ai | Repo: github.com/openclaw/openclaw | License: MIT

2. Prerequisites

  • Create an API key in the GravitexAI console
  • Node.js 22 or higher
  • macOS / Linux / Windows

3. Install OpenClaw

3.1 Install Node.js

3.2 Install OpenClaw

3.3 Verify

If openclaw doctor reports issues, run openclaw doctor --fix.

4. Configure GravitexAI

OpenClaw stores its config at ~/.openclaw/openclaw.json.
  • baseUrl must end with /v1
  • Use openai-completions for OpenAI-compatible mode, or anthropic-messages for the native Claude API

Option B — CLI wizard

Option C — Anthropic native mode

For the best Claude tool-calling experience:
After editing, restart the gateway:

5. Run It

Open http://127.0.0.1:18789/ in your browser.

Telegram Bot

  1. Talk to @BotFather on Telegram, send /newbot
  2. Copy the Bot Token into openclaw onboard
  3. If you are behind a firewall, set a proxy first:

Other channels

WhatsApp (QR), Discord, Slack, Signal, iMessage, Microsoft Teams and more. Browse the full list at the GravitexAI model marketplace.

7. Built-in Skills

File & System

Intelligence

8. Commands

Terminal

Chat

9. Examples

10. Troubleshooting

  • Re-copy the key from the GravitexAI console, watch out for stray spaces
  • Make sure apiKey in the JSON file has no quotes or full-width characters
  • openai-completions mode: baseUrl must end with /v1
  • anthropic-messages mode: baseUrl should be https://api.gravitex.ai (no /v1)
  • Restart with openclaw gateway restart after editing the file
  • Run openclaw doctor to inspect the active config