NyxosNyxos API
Integrations

Codex App Integration

The Codex app shares its configuration with Codex CLI — set it up once in the terminal.

The Codex app (desktop) does not need a separate setup inside the app. It reads the same provider configuration as Codex CLI — ~/.codex/config.toml and the environment variables from your terminal session.


Automatic Configuration via the Terminal

Configure Codex CLI once and the app is ready:

  1. Edit ~/.codex/config.toml:

    model_provider = "nyxos"
    model = "<exact-model-id>"
    model_reasoning_effort = "medium"
    
    [model_providers.nyxos]
    name = "Nyxos Shop"
    base_url = "https://api.nyxos.shop/v1"
    env_key = "OPENAI_API_KEY"
    wire_api = "responses"
    requires_openai_auth = false
  2. Set the environment variable with your key (persistent, user scope on Windows):

    [System.Environment]::SetEnvironmentVariable('OPENAI_API_KEY', 'sk-YOUR_NYXOS_KEY', 'User')
    # Linux / macOS
    export OPENAI_API_KEY="sk-YOUR_NYXOS_KEY"
  3. Restart the Codex app — it launches already connected to https://api.nyxos.shop with your key.

Full details in the Codex CLI guide.

On this page