Coding agent · OpenAI
OpenAI Codex
OpenAI’s coding agent. It reads and edits your project and runs commands inside a sandbox.
ChatGPT or OpenAI Codex?
ChatGPT is a chat app. It answers from what you paste or upload, and you carry the result back into your project yourself. OpenAI Codex is a coding agent: it works inside your project folder, reads the files it needs, makes the change, runs your tests or build and tells you what it did. Codex can sign in with the ChatGPT account you already use.
Install and sign in
- macOS
npm i -g @openai/codex- Linux
npm i -g @openai/codex- Windows
npm i -g @openai/codex
Sign in
Go to your project folder and run:
codexThe first run walks you through signing in. After that, the same command starts a session.
Docs: github.com/openai/codex
Run it once, without the chat screen
One-shot mode answers a single request and exits. It is how StoicSoft apps run OpenAI Codex, and how you put it in a script.
echo "Explain how this project is organised" | codex exec --ephemeral --skip-git-repo-check -OpenAI Codex reads the request from standard input, so it is piped in.
Choose a model
Add --model <model>, for example gpt-5.6-sol, gpt-5.5, gpt-5.4, gpt-5.4-mini. StoicSoft apps read the current list from the agent itself.
Reasoning effort levels: minimal, low, medium, high, xhigh, max, ultra.
Permission levels
How much OpenAI Codex may do without asking you. Start low; raise it once you trust it on this project.
| Level | What it means | Flag |
|---|---|---|
| Read only | Looks, answers, changes nothing. | No verified flag |
| Edit files | Edits inside the project folder, asks before commands. | No verified flag |
| Edit and run commands | Edits and runs commands such as your tests. | --sandbox workspace-write |
| Full auto | No questions asked. Use in a throwaway folder or sandbox. | --dangerously-bypass-approvals-and-sandbox |
“No verified flag” means the StoicSoft catalog has no tested command-line switch for that level. The agent may still offer it in its own settings; otherwise it asks you each time.
OpenAI Codex in StoicSoft apps
10 apps run the OpenAI Codex you installed, signed in to your own account.
Runs coding agents as terminals side by side, resumes past sessions, switches models, and lets one agent hand a task to another.
Its agent chat drives the CLI you pick and hands it the browser’s own tools over MCP.
“Your coding agent” is an AI provider: answers about your machine come from the CLI you are signed in to, so no API key is stored.
Chat with your vault through the agent you pick, and feed saved context into your agents.
Describe a screen, slide or brand kit; the agent you pick writes it as real files, with a live preview and a quality gate.
Dictate the brief; your agent writes the script and the scenes while the app voices and renders them.
Turns your recorded clicks and screenshots into a written walkthrough, using your agent CLI or an API key.
Its chat runs the agent you pick to do file jobs and hands the results back as files.
Can use your coding agent as its AI provider for writing and research, instead of an API key.
Transcript correction runs on Claude Code or Codex, with no tools, in an empty folder.
The other direction: OpenAI Codex calling the apps
Every StoicSoft app ships an MCP server. In an app’s agent access screen, pick OpenAI Codex and the app adds itself to this file:
- macOS
~/.codex/config.toml- Linux
~/.codex/config.toml- Windows
%USERPROFILE%\.codex\config.toml
Who checked these facts
Each record is a real run of OpenAI Codex, by the app or test station that relies on it.
| Checked by | OpenAI Codex version | System | Date |
|---|---|---|---|
| 1DevTool | — | macOS, Windows | — |
| 1DesignTool | 0.153.4 | macOS | — |
| StoicSoft test station | 0.172.0 | macOS | 2026-11-30 |
| StoicSoft test station | 0.172.0 | macOS | 2026-12-02 |
Binary names: macOS: codex · Linux: codex · Windows: codex.cmd, codex.exe. Also known as @openai/codex.
OpenAI Codex: common questions
- What is the difference between ChatGPT and OpenAI Codex?
- ChatGPT is a chat app: it answers from what you paste, and you carry the result back into your project. OpenAI Codex is a coding agent: it works in your project folder, edits the files and runs commands, then shows you what it changed. Codex can sign in with the ChatGPT account you already use.
- How do I install OpenAI Codex?
- Run npm i -g @openai/codex in a terminal. Then type codex in your project folder; the first run asks you to sign in.
- How do I run OpenAI Codex without the interactive screen?
- Use its one-shot mode: echo "Explain how this project is organised" | codex exec --ephemeral --skip-git-repo-check -. It prints the answer and exits, which is how StoicSoft apps and scripts run it.
- Which StoicSoft apps support OpenAI Codex?
- 1DevTool, StoicBrowser, 1MachineTool, 1AIVault, 1DesignTool, 1VideoTool, 1ShowcaseTool, 1FileTool, 1MarketingTool, 1AudioTool. It can also call every StoicSoft app over MCP; the apps write themselves into its settings file for you.