ccx is a tool that runs on macOS, designed to connect the four desktop coding applications Claude Code, Codex, Antigravity, and ZCode so that users can hand off tasks among them. When an application reaches its usage limit, or when the user wants to switch to another model (such as Gemini or GLM) to solve a problem, ccx can transfer the current task, together with the conversation context, plan, and progress, to another application, avoiding the need to explain from scratch.
Main capabilities include:
- Bidirectional switching: supports task handoff between any two of Claude Code, Codex, Antigravity, and ZCode; when all four applications are linked, they are still treated as the same task.
- Context syncing: import and link a session for the first time, and afterward new progress is automatically brought in when you continue in the linked conversation.
- Menu bar operation: use the ⇄ menu to select a target application by project and session; each target shows a status (○ first-time import, ✓ synced, ↻ new progress pending import).
- In-conversation commands: in Claude use /to-antigravity, /from-zcode, etc.; in Codex use $to-antigravity, $from-zcode, etc.; in Antigravity and ZCode, import sessions via natural-language instructions.
- Quota monitoring: the top of the menu bar displays the remaining 5-hour quotas of Claude, Codex, and Antigravity side by side, notifies you when they are nearly used up, and can switch the latest session to the application with the most remaining quota in one click.
- Cloud session support: Claude web cloud sessions and Codex Cloud tasks are displayed under the corresponding project and can be read and linked, but ccx never writes to the cloud.
- Plugin integration: can be used as a magpie plugin, providing the ccx_sessions and ccx_read capabilities for agents connected to magpie; it can also add a quota tab and session handoff functionality to CloudCLI.
How to use: Requires macOS 13+ and at least two desktop applications installed (Claude, Codex, Antigravity, ZCode). On first use, you can install automatically by pasting the installation instructions to Claude Code, Codex, or Antigravity, or run the installation command in the terminal. The installation script checks the system, downloads the latestInstall to ~/Library/Application Support/ccx, install plugins, enable Codex's hook, compile the menu bar icon and set it to launch at login, and also add the ccx command in ~/.local/bin. On first launch, you need to select a project directory and authorize it; subsequent launches restore automatically.
Use cases:
- A coding assistant has run out of quota, and you need to switch to another one to continue the task.
- You want to use different models (such as Gemini, GLM) to work on the same problem and compare the results.
- Maintain task continuity across multiple coding applications and reduce repeated descriptions.
Limitations:
- Only supports macOS 13+, not Windows, Linux, or a standalone CLI.
- Requires at least two of the specified desktop applications, and you need to log in first.
- Antigravity cannot write history into an existing conversation; passing in a task will create a new conversation, with the first message being the compressed conversation content; and there is no link to directly open the conversation, so ccx will show the conversation title.
- New ZCode conversations are only listed after the application is restarted; ccx will automatically restart ZCode when idle; if a task is running, it will ask first.
- Does not bypass any application's quota limits; users still use the quota of their respective accounts.
- All synchronization happens locally; ccx does not handle login for each application, and only accesses GitHub when installing and checking for updates.
- Due to local compilation and ad-hoc signing, macOS may ask for permissions again after an update.