βOpenClaw
About
OpenClaw is a personal AI assistant that runs on your own devices. It connects to messaging channels (WhatsApp, Telegram, Slack, Discord, Google Chat, Signal, iMessage, Microsoft Teams, Matrix, Zalo, and more) and provides AI assistance with complete data privacy.
Developers use OpenClaw to build multi-channel AI assistants with streaming responses, browser automation, vision capabilities, and voice integration. OpenClaw provides a Gateway service that runs locally on localhost:18789 by default, a CLI for management, and support for 12+ messaging platforms.
All agent data is stored locally in your SQLite database located at ~/.openclaw/openclaw.db. The Gateway runs on localhost:18789 by default, keeping your AI assistant completely under your control.
Data Privacy: All data is stored locally in your SQLite database! No data is sent externally unless you explicitly configure external integrations.
Installation
Get started with OpenClaw in seconds:
npm install -g openclaw@latest
openclaw onboard --install-daemonThe wizard installs the Gateway as a system service (launchd on macOS, systemd on Linux), so it stays running in the background.
How to Use AIML API with OpenClaw
Configure OpenClaw to use AIML API as the default model provider. You have two options: environment variable or configuration file.
Configuration File
Add to ~/.openclaw/openclaw.json:
Start the Gateway
Use with OpenClaw Agent
Our Supported models
All OpenAI-compatible models (gpt-4o, gpt-4o-mini, gpt-4-turbo, gpt-3.5-turbo, o3-mini, o1, etc),
Anthropic models is only partially supported and only via
api.aimlapi.com/v2base URL,and some other models (the list is constantly being updated).
Supported features
OpenClaw provides comprehensive capabilities for building production-ready multi-channel assistants:
Multi-channel routing β Connect to 12+ messaging platforms including WhatsApp, Telegram, Slack, Discord, and more
Real-time streaming responses β Responses stream back to users as they're generated for improved user experience
Vision and image processing β Analyze images from web pages or user uploads using vision-capable models
Browser automation and control β OpenClaw-managed Chrome instance for automated web interactions and page analysis
Voice capabilities β Voice wake detection and talk mode for hands-free interaction on macOS, iOS, and Android
Session management and conversation history β Maintain context and conversation history across user interactions
Function calling and tool integration β Integrate custom tools, skills, and external services into your agents
Error handling and auto-retry β Robust error management with exponential backoff retry mechanisms
For configuring features and functions, simply follow the built-in OpenClaw instructions.


Stream mode
Configure streaming responses for real-time chat using Telegram.
What happens:
User sends message to Telegram bot.
Gateway receives message and routes to OpenClaw Agent.
OpenClaw calls AIML API with gpt-4o-mini model.
Response streams word-by-word from AIML API.
User sees real-time streaming chat experience in Telegram.
Result: Users see responses appear word-by-word as they're generated in real-time, providing better user experience.
Multi-Channel Setup (Slack + Discord)
Route messages from multiple platforms to the same agent.
What happens:
User messages OpenClaw bot on Slack or Discord.
Gateway receives message and identifies platform source.
OpenClaw routes message to Agent with platform context.
Agent calls AIML API with gpt-4o model.
Response returns to same channel where message originated.
Result: Single agent serves both Slack and Discord users simultaneously, maintaining consistent behavior across platforms.
Vision with Browser
Analyze web pages using vision models.
What happens:
User requests web page analysis through messaging channel.
OpenClaw opens Chrome browser instance (CDP controlled).
Takes screenshot of specified page.
Sends screenshot to AIML API vision model (gpt-4o).
Model analyzes and returns detailed description.
Results sent back to user through messaging channel.
Result: Agent provides detailed description of web page content, layout, and visual elements.
More
For further information about OpenClaw and AIML API integration, check out:
Last updated
Was this helpful?