packages/kilo-docs/pages/ai-providers/atomic-chat.md
Kilo Code supports Atomic Chat as a local provider. Atomic Chat runs models on your machine and exposes an OpenAI-compatible API (default http://127.0.0.1:1337/v1).
Website: https://atomic.chat/
Repository: https://github.com/AtomicBot-ai/Atomic-Chat
curl http://127.0.0.1:1337/v1/models
Kilo Code ships the @kilocode/plugin-atomic-chat plugin by default. It does not call localhost unless you opt in (see below). When enabled, it discovers models from GET /v1/models and can warn if the selected model is not loaded.
Localhost HTTP runs only when one of these is true:
provider.atomic-chat in kilo.jsonc"model": "atomic-chat/..." (or per-agent model uses atomic-chat)"atomicChat": { "autoDetect": true } (probes ports 1337 and 1338)Otherwise no requests are made to Atomic Chat (suitable for restricted environments).
{% tabs %} {% tab label="VSCode" %}
Open Settings (gear icon) → Providers → Atomic Chat. No API key is required for the default local server. Adjust the base URL if Atomic Chat uses a non-default host or port.
{% /tab %} {% tab label="CLI" %}
Config file (~/.config/kilo/kilo.jsonc or ./kilo.jsonc):
{
"provider": {
"atomic-chat": {
"options": {
"baseURL": "http://127.0.0.1:1337/v1",
},
},
},
}
Set your default model (use an id from curl http://127.0.0.1:1337/v1/models):
{
"model": "atomic-chat/gemma-4-E4B-it-IQ4_XS",
}
Optional auto-detect without a provider block:
{
"atomicChat": { "autoDetect": true },
}
To disable the provider entirely, use disabled_providers: ["atomic-chat"] or remove @kilocode/plugin-atomic-chat from the plugin array in your config.
{% /tab %} {% /tabs %}
If a loaded model does not appear in the picker, register it under provider.atomic-chat.models:
{
"model": "atomic-chat/my-local-model",
"provider": {
"atomic-chat": {
"models": {
"my-local-model": {
"id": "exact-id-from-v1-models",
"name": "My Local Model",
},
},
},
},
}
See Custom Models for all model fields.