OpenClaw
OpenClaw Integration
Use UnoRouter as a model provider for your OpenClaw agent. Configure once and access every model through OpenClaw's gateway.
What is OpenClaw?
OpenClaw is an open-source AI agent platform that lets you deploy and manage AI assistants with multi-channel support, self-hosting capabilities, and flexible model configuration.
Core Features
- Multi-Channel Deployment — Deploy your AI agent across Telegram, Discord, Slack, and more from a single configuration.
- Self-Hosted — Run OpenClaw on your own infrastructure with full control over data and privacy.
- Agent Framework — Build intelligent agents with tool use, memory, and multi-step reasoning capabilities.
Quick Setup with CC Switch
Use CC Switch to configure your provider with one click. It automatically sets the API endpoint and provider name for you.
Installation
Docker and Docker Compose are required. Clone the repository and start the services:
bash
# Install OpenClaw globally
npm install -g openclaw@latest
# Run the onboarding wizard
openclaw onboardConfiguration
Edit the configuration file to connect OpenClaw to UnoRouter:
%APPDATA%\openclaw\config.json
json
{
"env": {
"OPENAI_API_KEY": "YOUR_API_KEY"
},
"agents": {
"defaults": {
"model": {
"primary": "openai/gpt-5.1-codex-mini"
}
}
},
"providers": {
"openai": {
"baseUrl": "https://api.unorouter.ai/v1",
"apiKey": "env:OPENAI_API_KEY"
}
}
}Key Configuration Details
| Field | Description |
|---|---|
| providers.openai.baseUrl | The UnoRouter API base URL for OpenAI-compatible requests. |
| providers.openai.apiKey | Your UnoRouter API key from the dashboard. |
| agents.defaults.model.primary | The model to use for your agent (e.g. claude-sonnet-4-20250514, gpt-4o). |
| env | Alternatively, set these values as environment variables: |
Start the Service
bash
openclaw startReady to get started?
Get your API key and start using UnoRouter with OpenClaw.