Skip to content

Codex

Codex is OpenAI’s command-line coding agent. You can run it inside a Neurodesk JupyterHub terminal and authenticate with your OpenAI account.

1. Start Codex in a terminal.

Terminal window
codex

2. Sign in using the Device Code option.

  Welcome to Codex, OpenAI's command-line coding agent

  Sign in with ChatGPT to use Codex as part of your paid plan
  or connect an API key for usage-based billing

  1. Sign in with ChatGPT
     Usage included with Plus, Pro, Team, and Enterprise plans

> 2. Sign in with Device Code
     Sign in from another device with a one-time code

  3. Provide your own API key
     Pay for what you use

  Press Enter to continue

3. Give it a task.