🦞OpenClaw AI/ML

About

OpenClaw is an AI platform for building AI agents and assistants. It runs on your own devices and connects to popular messaging platforms (such as WhatsApp, Telegram, Slack, Discord, and others) while preserving full data privacy (all agent data is stored locally in a SQLite database).

Developers use OpenClaw to build multi-channel AI assistants with streaming responses, browser automation, vision, and voice features. It includes a local Gateway service, a CLI for management, and support for 12+ messaging platforms.

circle-check

What you get

  • Multi-channel assistants and routing across 12+ messaging platforms

  • Streaming responses for faster, more interactive chats

  • Vision inputs for image understanding and UI analysis

  • Browser automation via an OpenClaw-managed Chrome instance

  • Voice integrations (platform dependent)

  • Session memory and conversation history

  • Tooling via skills, function calling, and external integrations

  • Retries and error handling for more robust agents

  • A local Gateway (binds to localhost:18789 by default) and a CLI

  • A local SQLite database containing all agent data (default path: ~/.openclaw/openclaw.db)


Prerequisites


Installation

circle-info

openclaw-aimlapi@latest includes two AI/ML API skills:

  • aimlapi-media-gen for images and video

  • aimlapi-llm-reasoning for chat and reasoning

The onboarding wizard installs the Gateway as a system service. It uses launchd on macOS and systemd on Linux.

Option 2: Build from source

chevron-rightUI walkthrough (screenshots)hashtag
Install via npm
Or build from GitHub with pnpm
Confirm installation
Select "Quickstart"
Select provider: AI/ML API
Select auth method: API Key
Paste your AI/ML API key
Select a model Always include the aimlapi/ prefix Suggested: aimlapi/google/gemini-3-flash-preview
Select a channel Telegram is usually the easiest
Paste your Telegram bot token
Optional: configure extra skills Media skills are configured by default
Finish onboarding and open the Web UI
Gateway is running

Configure AI/ML API in OpenClaw

Use the Web UI from onboarding. The default URL is usually http://127.0.0.1:59062/arrow-up-right.

1

Select provider

Pick AI/ML API in the providers list.

2

Add your API key

Use API Key auth. Paste the key from aimlapi.com/app/keysarrow-up-right.

3

Choose a model

Use a model ID that starts with aimlapi/. Example:

aimlapi/google/gemini-3-flash-preview

4

Choose a channel

Telegram is a good first connector. Then add more channels as needed.


Use OpenClaw

Use via a chat connector (Telegram example)

1. Message your bot. You will receive a pairing code.

Get the pairing code

2. Approve the pairing:

circle-info

Expected output looks like this:

3. Message your bot again. You should get a response.

Agent is responding

Use via CLI

chevron-rightExample responsehashtag

Use Cases

chevron-rightExample: Route Slack + Discord to the same agenthashtag
  1. User messages the bot on Slack or Discord.

  2. Gateway receives the message with platform context.

  3. OpenClaw routes the message to the agent.

  4. The agent calls AI/ML API using your chosen model.

  5. The response goes back to the same channel.

chevron-rightExample: Analyze a web page with visionhashtag
  1. User requests a web page analysis.

  2. OpenClaw opens a Chrome instance (CDP-controlled).

  3. OpenClaw captures a screenshot of the page.

  4. The agent sends the screenshot to a vision model.

  5. The model returns a description and key details.

  6. OpenClaw sends the result back to the user.


Supported models


More

Last updated

Was this helpful?