What problem does it solve?
Running the OpenAI Codex CLI as a non-interactive coding sub-agent requires correct binary detection, OAuth authentication handling, sandbox configuration, and JSONL output parsing, which is error-prone to do manually.
Core Features & Use Cases
- Non-interactive task execution: Run
codex exec with configurable model, sandbox mode, working directory, and timeout through a Python wrapper that returns structured JSON results.
- Automated code review: Trigger Codex code reviews on a repository, optionally limited to uncommitted changes.
- Auth status checking: Verify ChatGPT Pro OAuth authentication from
~/.codex/auth.json without ever using pay-per-use API keys.
- Use Case: Ask the agent to refactor a module in your project; the wrapper locates the Codex CLI, runs the task in a
workspace-write sandbox, and returns the parsed final assistant message as JSON.
Quick Start
Ask the agent to run a Codex code review on the current repository using the local Codex CLI with your ChatGPT Pro login.