Feature request: Cross-device sync for Codex Projects and Chats
What feature are you requesting?
I would like Codex to support cross-device continuity for Projects and Chats when signed in with the same OpenAI account.
For example, I use Codex across two Mac computers. Ideally, I could start a Codex Project or Chat on one Mac, then open Codex on another Mac with the same account and continue the same Project or Chat from where I left off.
Why is this useful?
Many developers regularly switch between a desktop and a laptop. Today, Codex sessions and project context feel tied to the local machine, which means switching devices requires manually recreating context, syncing notes, or relying on external workarounds.
My ideal experience would be similar to ChatGPT conversation continuity: recent Codex Projects, Chats, task state, and high-level working context would be available across trusted devices.
I understand that local filesystem paths, repositories, terminal state, and approval settings may need to remain device-specific. But it would still be very valuable to sync or restore:
- Conversation history
- Project metadata
- Current task state
- Recent working context
- Associated repository information
- Session summaries or checkpoints
Possible implementation options
A native account-level sync feature would be ideal.
If full native sync is not currently planned, I would also be grateful for any official API, SDK, MCP integration, or supported import/export mechanism that would allow users to build this functionality themselves.
For example, an official way to access, export, restore, or synchronize Codex sessions across trusted devices would make it possible to build a personal “session hub” or workflow manager around Codex.
Related discussions / issues
This request is related to, but more specifically focused on cross-device Codex continuity:
- https://github.com/openai/codex/issues/5609
- https://github.com/openai/codex/discussions/14067
- https://github.com/openai/codex/issues/14722
Additional context
Thank you for building Codex. It has been very helpful, and cross-device continuity would make it much smoother for users who regularly move between multiple computers.
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I ran into the same cross-device/local-session portability problem and built a small unofficial workaround:
[codex-sync](https://github.com/ahmojo/Codex_Sync).It does not solve native account-level sync, and it is not affiliated with or endorsed by OpenAI. It is meant as a conservative manual handoff tool for trusted devices while native cross-device continuity is not available.
What it does:
.codexbundle--map-cwd OLD=NEWwhen the project lives at a different path on the destination machineThe safety model is intentionally narrow: normal import is byte-for-byte, existing sessions are never silently overwritten, bundle checksums are verified before import, and
--map-cwdonly rewrites the canonicalcwdfield inside thesession_metaline for matching plain.jsonlsessions.Sharing it here in case it helps others who are moving between a desktop and laptop and need a local-first workaround until there is an official/importable cross-device story.
I fully support this proposal. It will be an incredibly useful feature.
I’m affected by this in a Windows ↔ macOS workflow, and basic chat-history sync is not enough. The current split between account-level chats and device-local Codex projects makes working across multiple PCs effectively unworkable.
The expected behavior is native, bidirectional synchronization across trusted devices, including:
.codex/configuration andAGENTS.mdcontext;When Codex changes a local project on one computer, it should be able to create/push a recoverable checkpoint and let another trusted computer automatically pull/restore it. Changes made from either device should propagate back. Users should not have to combine manual Git operations with copying hidden session files and rebuilding project context.
A safe implementation could use Git-backed checkpoints for repository content, encrypted account sync for session/task metadata, platform-specific path mapping, and automatic exclusion of credentials, environment files, and other secrets.
Without end-to-end local-to-local continuity, switching between Windows and macOS means reconstructing context, manually transporting files and settings, and risking divergent work. Please treat full cross-device continuity for local Codex work as core product functionality, not only as conversation-history sync.
maybe it's an idea to further develop this https://github.com/dkwolf1/Codex-Lifeboat, with network options?
This is exactly the workflow I wanted too.
I ended up building an open-source workaround called CtxHop. It syncs Codex sessions through your own S3/R2 storage, so I can stop on my desktop and resume the same session on my laptop.
It’s obviously not a replacement for native account-level sync, but it works pretty well as a personal session hub for now:
https://github.com/CCCCY-ci/ctxhop