- Added a session-scoped “Allow and remember” option for MCP/App tool approvals, so repeated calls to the same tool can be auto-approved during the session. (#10584) - Added live skill update detection, so skill file changes are picked up without restarting. (#10478) - Added support for mixed text and image content in dynamic tool outputs for app-server integrations. (#10567) - Added a new `/debug-config` slash command in the TUI to inspect effective configuration. (#10642) - Introduced initial memory plumbing (API client + local persistence) to support thread memory summaries. (#10629, #10634) - Added configurable `log_dir` so logs can be redirected (including via `-c` overrides) more easily. (#10678) ## Bug Fixes - Fixed jitter in the TUI apps/connectors picker by stabilizing description-column rendering. (#10593) - Restored and stabilized the TUI “working” status indicator/shimmer during preamble and early exec flows. (#10700, #10701) - Improved cloud requirements reliability with higher timeouts, retries, and corrected precedence over MDM settings. (#10631, #10633, #10659) - Persisted pending-input user events more consistently for mid-turn injected input handling. (#10656) ## Documentation - Documented how to opt in to the experimental app-server API. (#10667) - Updated docs/schema coverage for new `log_dir` configuration behavior. (#10678) ## Chores - Added a gated Bubblewrap (`bwrap`) Linux sandbox path to improve filesystem isolation options. (#9938) - Refactored model client lifecycle to be session-scoped and reduced implicit client state. (#10595, #10664) - Added caching for MCP actions from apps to reduce repeated load latency for users with many installed apps. (#10662) - Added a `none` personality option in protocol/config surfaces. (#10688) ## Changelog Full Changelog: https://github.com/openai/codex/compare/rust-v0.96.0...rust-v0.97.0 - #10595 Stop client from being state carrier @pakrym-oai - #10584 Add option to approve and remember MCP/Apps tool usage @canvrno-oai - #10644 fix: flaky test @jif-oai - #10629 feat: add phase 1 mem client @jif-oai - #10633 Cloud Requirements: take precedence over MDM @gt-oai - #10659 Increase cloud req timeout @gt-oai - #9938 feat(linux-sandbox): add bwrap support @viyatb-oai - #10656 Persist pending input user events @aibrahim-oai - #10634 feat: add phase 1 mem db @jif-oai - #10593 Fix jitter in TUI apps/connectors picker @canvrno-oai - #10662 [apps] Cache MCP actions from apps. @mzeng-openai - #10649 Fix test_shell_command_interruption flake @gt-oai - #10642 Add /debug-config slash command @gt-oai - #10478 Added support for live updates to skills @etraut-openai - #10688 add none personality option @aibrahim-oai - #10567 feat(app-server, core): allow text + image content items for dynamic tool outputs @owenlin0 - #10667 chore(app-server): document experimental API opt-in @owenlin0 - #10664 Session-level model client @pakrym-oai - #10678 feat(core): add configurable log_dir @joshka-oai - #10631 Cloud Requirements: increase timeout and retries @gt-oai - #10650 chore(core) personality migration tests @dylan-hurd-oai - #10701 fix(tui): restore working shimmer after preamble output @joshka-oai - #10700 fix: ensure status indicator present earlier in exec path @sayan-oai
npm i -g @openai/codex
or brew install --cask codex
Codex CLI is a coding agent from OpenAI that runs locally on your computer.
If you want Codex in your code editor (VS Code, Cursor, Windsurf), install in your IDE.
If you are looking for the cloud-based agent from OpenAI, Codex Web, go to chatgpt.com/codex.
Quickstart
Installing and running Codex CLI
Install globally with your preferred package manager:
# Install using npm
npm install -g @openai/codex
# Install using Homebrew
brew install --cask codex
Then simply run codex to get started.
You can also go to the latest GitHub Release and download the appropriate binary for your platform.
Each GitHub Release contains many executables, but in practice, you likely want one of these:
- macOS
- Apple Silicon/arm64:
codex-aarch64-apple-darwin.tar.gz - x86_64 (older Mac hardware):
codex-x86_64-apple-darwin.tar.gz
- Apple Silicon/arm64:
- Linux
- x86_64:
codex-x86_64-unknown-linux-musl.tar.gz - arm64:
codex-aarch64-unknown-linux-musl.tar.gz
- x86_64:
Each archive contains a single entry with the platform baked into the name (e.g., codex-x86_64-unknown-linux-musl), so you likely want to rename it to codex after extracting it.
Using Codex with your ChatGPT plan
Run codex and select Sign in with ChatGPT. We recommend signing into your ChatGPT account to use Codex as part of your Plus, Pro, Team, Edu, or Enterprise plan. Learn more about what's included in your ChatGPT plan.
You can also use Codex with an API key, but this requires additional setup.
Docs
This repository is licensed under the Apache-2.0 License.
