Skip to content
BrainRoad BrainRoad
Documentation Menu

Codex CLI

Use the preinstalled OpenAI Codex CLI in your helper's workspace for AI-assisted coding with OpenAI models.

On this page

What It Is

Every BrainRoad helper workspace includes the OpenAI Codex CLI preinstalled. It is available from the Console whenever your helper is running.

Codex is OpenAI’s command-line coding agent. It can read files, write code, run commands, and work through multi-step development tasks using OpenAI models.

Requirements

Codex needs your own OpenAI API key. Set it in the Console session:

export OPENAI_API_KEY="sk-your-key-here"

Usage on your key is billed by OpenAI, separately from your BrainRoad subscription.

Quick Start

codex "list all files and explain the project structure"

For interactive mode:

codex

When to Use Codex vs Claude Code

Both are preinstalled and both handle coding tasks. The difference is which AI provider they use:

ToolProviderAPI Key Needed
claudeAnthropic (Claude)ANTHROPIC_API_KEY
codexOpenAIOPENAI_API_KEY

Use whichever matches the API key you have, or try both and compare results on a given task.