OpenClaw Integration
1. Prerequisites
- Registered and obtained a platform API Key.
- Node.js environment installed.
- OpenClaw installed:bash
# MacOS / Linux curl -fsSL https://openclaw.ai/install.sh | bash # Windows iwr -useb https://openclaw.ai/install.ps1 | iex
2. Recommended: One-Command Setup with codesw
codesw writes directly to ~/.openclaw/openclaw.json with the right provider, models and defaults — no proxy, no middleman.
2.1 Install
bash
npm i -g @bumocc/codesw
# or
yarn global add @bumocc/codesw2.2 Run the interactive mode
Just execute:
bash
codeswFollow the prompts:
- Select provider: pick
bumo.ai(BUMO API); existing profiles are listed at the top and can be reused across clients. - Profile name / API Key / Model / Small model: fill in as prompted. Get the key from the API Keys page.
- Apply to which client: choose
OpenClaw.
Then restart OpenClaw:
bash
openclaw gateway restartAppendix: Manual Configuration (Alternative)
Open ~/.openclaw/openclaw.json and merge the following configuration:
json
{
"models": {
"providers": {
"api.bumo.ai": {
"baseUrl": "https://api.bumo.ai/",
"apiKey": "YOUR_API_KEY",
"api": "openai-completions",
"models": [
{
"id": "claude-opus-4-6",
"name": "claude-opus-4-6",
"reasoning": true,
"input": ["text", "image"]
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "claude-opus-4-6",
"fallbacks": ["claude-opus-4-6"]
},
"models": {
"api.bumo.ai/claude-opus-4-6": {}
}
}
}
}Then restart OpenClaw:
bash
openclaw gateway restartReplace
YOUR_API_KEYwith your platform API Key.
