Codex CLI articles

Codex CLI 30 Codex CLI with All in One AI: creating config.toml, the key and the model Codex CLI is OpenAI's terminal coding agent. It speaks the Responses format, which our API also accepts, so it works...
Codex CLI 20 wire_api = "responses" in Codex: what it means and why it stays in the file In the Codex config.toml, each provider has a wire_api line. It says which format Codex uses to talk to that...
Codex CLI 18 Codex in a project: why .codex/config.toml cannot change the provider Besides your user file, Codex reads .codex/config.toml files inside projects. They hold the team settings. But there...
Codex CLI 10 Naming the provider in Codex: the reserved names openai, ollama and lmstudio In config.toml, the Interweb provider lives in a [model_providers.] table. You choose the id, but some names are...
Codex CLI 14 Using another model for one Codex session: codex -m Codex starts with the model in the model line of ~/.codex/config.toml. To use another one just this time, without...
Codex CLI 15 How Codex carries on a conversation: responses kept for 30 days Codex talks to our API in the Responses format. In this format, each response has an id and is kept on our side for...
Codex CLI 18 env_key in Codex: how it reads your key from an environment variable In the Interweb provider, the env_key line does not hold the key: it holds the name of the variable where the key...
Codex CLI 11 Which models to use in Codex CLI: Kimi K2.7 Code, DeepSeek V4 Pro, GLM 5.2 and others Codex works with the catalogue text models that support tools (function calling): it needs them to read files, edit...
Codex CLI 13 Errors in Codex CLI: the OpenAI format and the code field In Codex, API errors arrive in the OpenAI format, because Codex uses the Responses format. What matters is the code...
Codex CLI 16 Codex on Windows: saving the key with setx and opening a new terminal On Windows, the step that fails most is the key. setx saves the variable, but only the windows opened afterwards see...