Documentation Navigation
welcome

Offline & Network Configurations

Codey supports fully air-gapped, offline, and proxy-restricted environments. This allows organizations to write and refactor code without sending data over the internet.

#Running Local Models

You can instruct Codey to leverage local models served via Ollama or Llama.cpp. Point your provider configuration to your local service:

json
{
  "model": "ollama/qwen2.5-coder:14b",
  "provider": {
    "ollama": {
      "options": {
        "baseURL": "http://localhost:11434"
      }
    }
  }
}

#Air-gapped Mode

To completely restrict external calls, disable autoupdates and telemetry in your global config:

json
{
  "autoupdate": false,
  "disabled_providers": ["openai", "gemini", "anthropic", "codey"]
}

#Proxy Setup

If you operate behind a corporate proxy, Codey honors standard system environment variables for HTTP requests:

bash
export HTTP_PROXY="http://proxy.example.com:8080"
export HTTPS_PROXY="http://proxy.example.com:8080"
export NO_PROXY="localhost,127.0.0.1"