Prerequisites: CMX must be installed and signed in on your device. ChatGPT Desktop must already be installed and signed in. CMX does not replace your OpenAI account; you continue signing in through ChatGPT Desktop as usual.
1
Set Up CMX
Run the guided setup command to sign in, start the local gateway, and detect your coding agents:Follow the browser sign-in prompt. Once setup completes, the CMX gateway starts at
127.0.0.1:17322 and is ready to accept connections.2
Connect ChatGPT Desktop
Open the CMX terminal UI and connect ChatGPT Desktop:
- Navigate to CONFIG → ChatGPT Desktop.
- Refresh the provider list to make sure your configured provider appears.
- Select the provider you use in ChatGPT Desktop.
- Click Connect.
- Quit and reopen ChatGPT Desktop so it picks up the new routing through CMX.
3
Verify the Connection
Confirm that ChatGPT Desktop is routing through CMX correctly:Send a request from ChatGPT Desktop as you normally would. Then check CMX for activity:New requests should appear in the stats output. If you see activity, the connection is working.
Short conversations may show little or no compression. Savings grow with longer sessions as eligible older context accumulates. Compare stats across a full session to get a representative picture.
Troubleshooting
If requests from ChatGPT Desktop are not appearing incmx stats after a session:
- Quit and reopen ChatGPT Desktop so the new routing takes effect.
- Check the selected connection by opening CONFIG in CMX and confirming the correct provider is connected.
- Run the diagnostics command: