OpenAI Codex AI coding agent

Codex is a coding agent based on a TUI (Terminal UI) and also features a Visual Studio Code integration.

The integration of Codex in Dataiku is done through Code Studios. It can fully integrate with the LLM Mesh, so that all queries performed by Codex can go through the LLM Mesh for full control and cost tracing.

Setup (admin)

The capability is provided by the “Codex for Code Studios” plugin that you need to install.

Then, you need to define a Code Studio template, adding the “Codex” block

You will need to configure which LLM to use. You can also choose “External authentication” to let users use their own ChatGPT subscription instead. Note that in that mode, only device authentication is supported. Your ChatGPT workspace admin needs to enable it.

Usage

Once you have started your Code Studio, you can either:

  • If using VS Code, click the Codex icon in the left bar

  • If using VS Code, click the Codex icon in the top nav bar

  • In all Code Studios, simply open a terminal and run “codex”

In LLM Mesh mode, you can immediately start working with the Agent

If you use your own ChatGPT subscription, you need to first login:

  • Open a terminal

  • Run codex login –device-auth

  • Follow the instructions

Limitations

  • LLM Mesh mode cannot use Codex versions above 0.79.0

  • In External authentication mode, only device authentication is supported. Your ChatGPT workspace admin needs to enable it.