// compare

mmux vs Codex app

mmux is a terminal multiplexer that keeps any CLI coding agent, shell and dev server running in a persistent, per-directory tmux session. OpenAI's Codex app, launched in February 2026 and part of the ChatGPT desktop app since July 2026, is a graphical command center for parallel Codex chats in git worktrees. Both run agents side by side in worktrees; they differ in where they live (a terminal on any machine vs a desktop window) and in which agents they run (any CLI vs Codex).

Last checked against OpenAI's Codex app documentation (ChatGPT desktop app, Codex CLI 0.162.1) on .

// tl;dr

Pick the Codex app if you work with Codex on a desktop and want a graphical review loop: inline comments on diffs, chunk-level staging, pull requests and PR review without leaving the app, plus cloud tasks, scheduled tasks and a native Windows build.

Pick mmux if you run several different agent CLIs (Claude, Codex, Gemini and others) and want them, your shells and your dev servers in one terminal UI that keeps running on a laptop or a remote server after you close the terminal or lose SSH.

They also combine: the Codex CLI is a built-in mmux agent preset, and the desktop app can open the same repository for review.

At a glance

mmux 0.13.13 and the Codex app in the ChatGPT desktop app, as of 2026-10-14.
Capability mmux Codex app
Interface TUI in any terminal, keyboard and mouse Desktop GUI, plus ChatGPT mobile as a remote
Agents it runs yes: Any CLI; presets for Claude, Codex, Gemini, Amp, opencode, Pi, Grok partly: Codex chats; other CLIs only as commands in a chat's terminal
Parallel agents in git worktrees yes: Each worktree is its own project box on a branch, under ~/.mmux/worktrees/ yes: Managed worktrees per chat, detached HEAD, Handoff to the local checkout
Worktree cleanup yes: Removes finished ones (clean, idle, merged or pushed) after 30 min yes: Keeps the 15 most recent, snapshots before deleting
Diff review and staging partly: Diff preview, whole-file staging, no hunks yes: Inline comments for Codex, stage or revert chunks
Pull requests no: Commit, push and merge only yes: Create PRs and review them in the side panel
Keeps running when the window closes yes: Detach or drop SSH, the tmux session keeps going partly: Local scheduled tasks and remote access need the app running
Remote machines yes: Runs on the server itself; phone layout over SSH yes: SSH remote projects; mobile app controls a Mac or Windows host
Dev servers and processes yes: Sidebar processes with teardown; one dev stack shared across worktrees yes: Top-bar actions run in a chat's terminal
Cloud and scheduled tasks partly: Local only; scheduled commits, not scheduled agent runs yes: Codex cloud tasks and scheduled tasks
Platforms macOS (Apple Silicon), Linux (arm64, x86_64); needs tmux macOS, Windows, Linux (preview)
Price and account Free, no account; agents billed by their providers ChatGPT plan (Free $0 to Pro from $100/month) or API key
License GPLv3 Proprietary app; the Codex CLI is Apache-2.0

Codex app facts from OpenAI's docs at learn.chatgpt.com (no desktop app version number is published there) and OpenAI's release notes. OpenAI publishes no source for the desktop app; "proprietary" reflects that.

What is the Codex app?

OpenAI released the Codex app for macOS in February 2026 as a place to run several Codex agents in parallel, each in its own chat, organized by project [13]. On July 9, 2026, OpenAI shipped a new ChatGPT desktop app for macOS and Windows that combines Chat, Work and Codex; existing Codex app users move to it by updating [12]. OpenAI's documentation now describes these features under the ChatGPT desktop app [1], with a Windows build from the Microsoft Store [10] and a Linux build in preview for Ubuntu, Debian, Fedora and Arch [11]. This page keeps calling it the Codex app, since that is the part being compared.

A Codex project points at a local folder (or several, with one primary repository) or at a project on an SSH host [8][5]. Each chat can run in the local checkout or in a managed git worktree that Codex creates under $CODEX_HOME/worktrees; Handoff moves a chat and its code between the two, and Codex removes old managed worktrees beyond the 15 most recent after saving a snapshot [2]. Each chat has an integrated terminal scoped to its project or worktree [4], and the review pane shows the diff, takes inline comments for Codex, stages or reverts chunks, commits, pushes and opens pull requests [3]. The app also offers scheduled tasks [6], cloud tasks, notifications when a turn finishes or needs approval [7], and sign-in with a ChatGPT plan or an API key [9].

Where the Codex app is better

Where mmux is better

When to use which

Choose the Codex app when

  • Codex is your only agent and you have a ChatGPT plan.
  • You review agent work line by line and want PRs opened from the same window.
  • You want tasks to run in the cloud or on a schedule.
  • You are on Windows, or you prefer a GUI to a terminal.

Choose mmux when

  • You mix agents from different vendors on the same repository.
  • Your agents run on a remote server you reach over SSH, sometimes from a phone.
  • Dev servers, shells and agents should live in one persistent session that outlasts the terminal.
  • You want scripts or agents to start, prompt and wait for other agents.

Using the Codex app and mmux together

  1. Turn on the Codex preset in mmux with mmux agents (or a in the sidebar), picking the normal, auto or danger mode.
  2. Start Codex in its own worktree, from the TUI with w or from a script.
  3. When you want the Codex app's review pane or a pull request, add the repository as a local project in the desktop app and review there; mmux's git panel picks up commits made elsewhere on its own.
mmux worktree new fix-auth --agent codex --prompt "fix the login bug"
mmux ask --agent codex "why does /health 500?"

FAQ

Is the Codex app still a separate app?

No. OpenAI launched the Codex app for macOS in February 2026 and, on July 9, 2026, released a new ChatGPT desktop app for macOS and Windows that combines Chat, Work and Codex. OpenAI's release note says Codex app users move to it by updating as usual. The Codex features (projects, parallel chats, worktrees, the review pane) live on inside it, and OpenAI's docs now call it the ChatGPT desktop app.

Can mmux run OpenAI Codex?

Yes, the Codex CLI. Codex is one of mmux's built-in agent presets, with normal, auto and danger launch modes. mmux shows when a Codex agent is working or ready, resumes its conversation when you reopen a directory, and mmux last reads its reply from the Codex transcript. It does not run the ChatGPT desktop app itself, which is a graphical program.

Can the Codex app run Claude Code or other agents?

OpenAI's docs describe the app running Codex with OpenAI's models and do not describe launching other vendors' agents as chats. Each chat has an integrated terminal, so you can start any CLI there, but the app does not track it as an agent. mmux treats Claude, Codex, Gemini, Amp, opencode, Pi, Grok or any other command as an agent in the same sidebar.

Do agents keep running when I close the window?

In mmux, yes: closing the terminal or dropping SSH only detaches, and everything keeps running in an invisible tmux session until you reattach. For the Codex app, OpenAI's docs say scheduled tasks need the computer on and the app running, and remote access stops when the host closes the app. Codex cloud tasks run on OpenAI's servers instead.

What do they cost?

mmux is free and GPLv3 licensed; each agent you run is billed by its own provider. Codex in the ChatGPT desktop app is included in ChatGPT plans: Free at $0, Go at $8, Plus at $20, Pro from $100 per month, and Business at $20 per user per month billed annually, per OpenAI's pricing page in October 2026. It also works with an API key billed at API rates, without cloud features.

Sources

  1. OpenAI docs: ChatGPT desktop app
  2. OpenAI docs: Worktrees
  3. OpenAI docs: Local environments and built-in Git tools
  4. OpenAI docs: Integrated terminal
  5. OpenAI docs: Remote connections
  6. OpenAI docs: Scheduled tasks
  7. OpenAI docs: Notifications
  8. OpenAI docs: Projects and chats
  9. OpenAI docs: Pricing
  10. OpenAI docs: Windows app
  11. OpenAI docs: Linux desktop app
  12. OpenAI Help Center: ChatGPT Business release notes, July 9, 2026
  13. OpenAI: Introducing the Codex app (February 2026)
  14. openai/codex on GitHub: the Codex CLI, Apache-2.0, release 0.162.1

Other comparisons

all comparisons

Try mmux

One binary for macOS, Linux and WSL. Run mmux in any project directory.

curl -fsSL https://mmux.org/install.sh | sh