VS Code / JetBrains / CLI

Connect Kilo Code

An agent for VS Code, JetBrains, and the terminal, built on OpenCode. Connects through a custom OpenAI Compatible provider.

In the extension: Settings → Providers → Custom provider. In the CLI: ~/.config/kilo/kilo.jsonc.

Step by step

  1. Create an API key

    In your SacredGPT account, open API keys. Two-factor authentication is required.

  2. Add a custom providerSettings → Providers

    Open Kilo Code settings (gear icon), go to Providers, scroll down, and click Custom provider.

  3. Fill in the fields

    Click Submit and choose SacredAI Heretic in the Kilo Code model list.

    Custom provider
    Provider ID:  sacredgpt
    Provider API: OpenAI Compatible
    Base URL:     https://sacredgpt.pro/v1
    API key:      sg_live_…
    Models:       sacredai-heretic

Ready-made settings

Replace sg_live_… with your key. For free SacredAI, use the sacredgpt-auto model.

~/.config/kilo/kilo.jsonc
{
  "model": "openai-compatible/sacredai-heretic",
  "provider": {
    "openai-compatible": {
      "options": {
        "baseURL": "https://sacredgpt.pro/v1",
        "apiKey": "{env:SACREDGPT_API_KEY}"
      },
      "models": {
        "sacredai-heretic": { "name": "SacredAI Heretic", "tool_call": true }
      }
    }
  }
}

If it doesn't work

The model doesn't show up

Make sure the Base URL ends with /v1 and type the model ID by hand: sacredai-heretic.

The CLI can't see the provider

The file must be named kilo.jsonc and sit in ~/.config/kilo/ or the project root. The key comes from SACREDGPT_API_KEY.

No API key yet?

The API is included in your chat plan. SacredAI and 10 Heretic requests are free.

Create a key
Direct line

Found a bug? Show us.

Tell us what happened and what you expected. The page address and browser details help us reproduce it faster.