mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Comprehensive rename of all openclaw references to hanzo-bot equivalents: - Package: openclaw → @hanzo/bot - Binary: openclaw → hanzo-bot - Types: OpenClaw* → Bot* - Env vars: OPENCLAW_* → BOT_* - Android: ai.openclaw.android → ai.hanzo.bot.android - iOS/macOS: ai.openclaw.* → ai.hanzo.* - Swift modules: OpenClaw* → Bot* - Plugins: openclaw.plugin.json → bot.plugin.json - Paths: .openclaw/ → .hanzo/bot/ - URLs: github.com/openclaw → github.com/hanzoai
1.6 KiB
1.6 KiB
summary, read_when
| summary | read_when | ||
|---|---|---|---|
| Use Kilo Gateway's unified API to access many models in Bot |
|
Kilo Gateway
Kilo Gateway provides a unified API that routes requests to many models behind a single endpoint and API key. It is OpenAI-compatible, so most OpenAI SDKs work by switching the base URL.
Getting an API key
- Go to app.kilo.ai
- Sign in or create an account
- Navigate to API Keys and generate a new key
CLI setup
hanzo-bot onboard --kilocode-api-key <key>
Or set the environment variable:
export KILOCODE_API_KEY="your-api-key"
Config snippet
{
env: { KILOCODE_API_KEY: "sk-..." },
agents: {
defaults: {
model: { primary: "kilocode/anthropic/claude-opus-4.6" },
},
},
}
Surfaced model refs
The built-in Kilo Gateway catalog currently surfaces these model refs:
kilocode/anthropic/claude-opus-4.6(default)kilocode/z-ai/glm-5:freekilocode/minimax/minimax-m2.5:freekilocode/anthropic/claude-sonnet-4.5kilocode/openai/gpt-5.2kilocode/google/gemini-3-pro-previewkilocode/google/gemini-3-flash-previewkilocode/x-ai/grok-code-fast-1kilocode/moonshotai/kimi-k2.5
Notes
- Model refs are
kilocode/<provider>/<model>(e.g.,kilocode/anthropic/claude-opus-4.6). - Default model:
kilocode/anthropic/claude-opus-4.6 - Base URL:
https://api.kilo.ai/api/gateway/ - For more model/provider options, see /concepts/model-providers.
- Kilo Gateway uses a Bearer token with your API key under the hood.