Codex

Add Ghost as a provider in Codex.

Add Ghost as a provider in ~/.codex/config.toml, then start Codex with the profile:

~/.codex/config.toml:

[model_providers.ghost]
name = "Ghost"
base_url = "https://api.thesapientdirective.com/v1"
wire_api = "responses"
env_key = "GHOST_API_KEY"

[profiles.ghost]
model = "ghost-x2"
model_provider = "ghost"

Terminal:

export GHOST_API_KEY=YOUR_GHOST_KEY
codex --profile ghost