NeoStack AI

Codex CLI

Using OpenAI's Codex CLI as your AI agent

Codex CLI lets you use your OpenAI account with Agent Integration Kit.

You do not need to manually install @zed-industries/codex-acp. The ACP adapter binary ships with the plugin.

Setup

  1. Install Codex CLI:

    npm install -g @openai/codex
  2. Authenticate with one of these methods:

    • ChatGPT subscription - Sign in when prompted (requires paid subscription)
    • API Key - Set CODEX_API_KEY or OPENAI_API_KEY environment variable

    Run once in terminal to authenticate:

    codex
  3. Open the Agent Chat window in Unreal and select Codex CLI

Plugin Settings

SettingDescription
Codex CLIOptional path override to codex executable (leave blank for auto-detect)
Bun/Node Runtime OverrideAdvanced override for adapter runtime; leave blank to use bundled runtime

Features

  • Context @-mentions
  • Tool calls with permission requests
  • TODO lists
  • Slash commands (/review, /init, /compact)
  • Custom prompts

Troubleshooting

IssueSolution
Query closed before response receivedRun codex in terminal and sign in again, then retry in Unreal
Codex not foundRun codex --version; if missing, install Codex CLI and set Codex CLI path override
Authentication issuesRun codex in terminal to re-authenticate

On this page