Codex
Codex extension (VS Code / Cursor)
The extension reads the same config as the Codex CLI. Set up the CLI first and the extension works right away.
-
First follow Codex CLI to write
~/.codex/auth.jsonand~/.codex/config.toml. These are the two files the extension reads. -
Search for Codex in the VS Code or Cursor extension marketplace and install the official extension whose publisher is OpenAI.
-
Restart the editor and open the Codex panel. If the extension asks you to choose a sign-in method, choose the API key method. When the config files are already written, it usually goes straight in.
-
Send a message. If it replies normally, the setup is done.