openclaw/docs/concepts
John Fawcett 13f32e2f7d
feat: Add Kilo Gateway provider (#20212)
* feat: Add Kilo Gateway provider

Add support for Kilo Gateway as a model provider, similar to OpenRouter.
Kilo Gateway provides a unified API that routes requests to many models
behind a single endpoint and API key.

Changes:
- Add kilocode provider option to auth-choice and onboarding flows
- Add KILOCODE_API_KEY environment variable support
- Add kilocode/ model prefix handling in model-auth and extra-params
- Add provider documentation in docs/providers/kilocode.md
- Update model-providers.md with Kilo Gateway section
- Add design doc for the integration

* kilocode: add provider tests and normalize onboard auth-choice registration

* kilocode: register in resolveImplicitProviders so models appear in provider filter

* kilocode: update base URL from /api/openrouter/ to /api/gateway/

* docs: fix formatting in kilocode docs

* fix: address PR review — remove kilocode from cacheRetention, fix stale model refs and CLI name in docs, fix TS2742

* docs: fix stale refs in design doc — Moltbot to OpenClaw, MoltbotConfig to OpenClawConfig, remove extra-params section, fix doc path

* fix: use resolveAgentModelPrimaryValue for AgentModelConfig union type

---------

Co-authored-by: Mark IJbema <mark@kilocode.ai>
2026-02-23 23:29:27 +00:00
..
agent-loop.md refactor(plugins): split before-agent hooks by model and prompt phases 2026-02-17 03:28:20 +01:00
agent-workspace.md Agents: raise bootstrap total cap and warn on /context truncation (#18229) 2026-02-16 12:04:53 -05:00
agent.md docs: canonicalize docs paths and align zh navigation (#11428) 2026-02-07 15:40:35 -05:00
architecture.md refactor(gateway)!: remove legacy v1 device-auth handshake 2026-02-22 09:27:03 +01:00
compaction.md docs: fix compaction config note 2026-02-14 02:10:28 +01:00
context.md Agents: raise bootstrap total cap and warn on /context truncation (#18229) 2026-02-16 12:04:53 -05:00
features.md Docs: landing page revamp (#8885) 2026-02-04 10:37:14 -05:00
markdown-formatting.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
memory.md feat: Provider/Mistral full support for Mistral on OpenClaw 🇫🇷 (#23845) 2026-02-23 00:03:56 +00:00
messages.md docs: canonicalize docs paths and align zh navigation (#11428) 2026-02-07 15:40:35 -05:00
model-failover.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
model-providers.md feat: Add Kilo Gateway provider (#20212) 2026-02-23 23:29:27 +00:00
models.md fix: restore Discord model picker UX (#21458) (thanks @pejmanjohn) 2026-02-20 21:04:04 -06:00
multi-agent.md Docs: expand multi-agent routing 2026-02-17 14:28:08 -06:00
oauth.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
presence.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
queue.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
retry.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
session-pruning.md docs: detail per-agent prompt caching configuration 2026-02-23 18:46:40 +00:00
session-tool.md docs: document thread-bound subagent sessions and remove plan 2026-02-21 19:59:55 +01:00
session.md Session/Cron maintenance hardening and cleanup UX (#24753) 2026-02-23 22:39:48 +00:00
sessions.md docs: fix canonical session doc path hint 2026-02-22 21:35:14 +01:00
streaming.md refactor(config): unify streaming config across channels 2026-02-21 19:53:42 +01:00
system-prompt.md Agents: raise bootstrap total cap and warn on /context truncation (#18229) 2026-02-16 12:04:53 -05:00
timezone.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
typebox.md Docs: enable markdownlint autofixables except list numbering (#10476) 2026-02-06 10:08:59 -05:00
typing-indicators.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
usage-tracking.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00