T-Ex LLM
T-Ex LLM

Codex

Codex is OpenAI's coding agent that integrates seamlessly with tex-llm.

Getting Started

Installation

Codex is available immediately after installing tex-llm:

# Install tex-llm CLI
npm i -g @texllm/cli

# Start Codex
tex-llm codex  # or tex-llm --agent codex

Making Codex Your Default Agent

If you prefer Codex over Claude Code, set it as your default:

tex-llm --set-default codex

After this command, simply run tex-llm to launch Codex automatically.

Using Codex for a Single Session

Keep Claude Code as your default but use Codex temporarily:

tex-llm --agent codex

This overrides your default agent for just this session.

Codex Subcommand

You can also launch Codex using the dedicated subcommand:

tex-llm codex

This is equivalent to tex-llm --agent codex.