Codex CLI¶
Follow Installation, then activate Reins's virtual environment in the terminal where you start Codex.
Submit from a conversation¶
Ask Codex to run:
Reins reads CODEX_THREAD_ID from the tool environment and binds the task to the current session. When it finishes, the coordinator resumes that session and delivers the result.
For everyday use, you can tell Codex:
Run this build through Reins. When it finishes, read the log, check the output package, and tell me the result.
The skill installed by reins setup covers submission, callback handling, and ACK.
Specify the receiving session¶
When submitting from another script, pass the session ID explicitly:
reins run --agent codex --session "YOUR_SESSION_ID" --cwd "$PWD" --task "Build the project" -- bash scripts/build.sh
Use the original session's CODEX_HOME so Reins can find the same session records and configuration. The default configuration directory is ~/.codex.
Check the configuration¶
Run this in the Codex tool environment:
Follow the suggested fixes for the installation, coordinator, or session configuration. Then run the ten-second example to check callback delivery.
For the desktop app, see Codex Desktop.