Sync my chats, conversation history between ChatGPT website, Codex in VScode.

Open 💬 8 comments Opened Oct 24, 2025 by interconnectedMe
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What feature would you like to see?

I'd like to be able to see all my chats on whatever platform I am on, but specifically for me, when I am using:

  1. ChatGPT website
  2. ChatGPT website > Codex
  3. VScode, with Codex extension, on desktop
  4. e.g. GitHub Codespaces, on VScode, with Codex extension, on desktop (or Codespaces in browser with VScode)
  • So that any work done with chats on my local desktop, is then visible in e.g. Codespaces when I spin up (and vice versa).
  • Also so that while away from desktop / laptop, any ideas I may have that I throw in a chat on my phone, also show up.
  • ChatGPT Projects would be an obvious use case I can think of, to be able to load in VScode > Codex extension. That way, I can neatly drop any 'bright ideas' I may have, in a place that then makes sense.

At the moment, if I switch from VScode on desktop, to VScode (Codespaces), neither sees the other's chat history / tasks.

I have a janky workaround running that scans ~/.codex/sessions, then pulls each individual chat and formats to a .md file in a /worklog directory. So at least I can refer back to them (haven't yet tried the other way, to have these 'worklogs' pull in to my actual ChatGPT sessions history, but maybe that will work)

But it would be a very nice feature, I think, if ChatGPT 'just remembered' our history, wherever I was.

Additional information

_No response_

View original on GitHub ↗

8 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #4825
  • #5152
  • #4268

Powered by Codex Action

etraut-openai contributor · 9 months ago

This is related to #2153

crsmoore · 4 months ago

I too would like to see more "unification" of things.

I really want a "superapp" that just has everything, on both macOS and iOS (or Windows/Android, etc.)

This would lead to less fragmentation, more shared context, and seamless workflows.

Vishnu0007-svj · 1 month ago

So have you come to any solution yet or still into that janky workaround??

Lawouach · 1 month ago

It is impressive that this isn't native yet. Creating your own fragmentation is a choice.

noyanxtdoor-maker · 18 days ago

I strongly support this request, but I’d like to add one important extension: true two-way sync between a ChatGPT conversation and a Codex task, not just shared chat history.

My normal workflow is:

ChatGPT planning / architecture → Codex implementation → ChatGPT review → Codex revision

Today, that loop requires a lot of manual context transfer. The ideal workflow would be:

  1. From a ChatGPT thread, choose Send to Codex / Implement with Codex.
  2. Codex receives the relevant approved plan, architecture, requirements, attachments, and project context from that thread.
  3. The ChatGPT thread and Codex task become persistently linked.
  4. While Codex is working, meaningful progress/status updates flow back into the originating ChatGPT thread (what it is implementing, files being changed, tests, blockers, important decisions).
  5. When Codex finishes, the same ChatGPT thread automatically receives the implementation summary, changed files/diffs, test results, unresolved issues, commit info, and PR link when applicable.
  6. ChatGPT can review those results using the original planning context, and follow-up instructions can be sent directly back to the same Codex task.
  7. That loop can continue without repeatedly copying context back and forth.

So the model I’m asking for is essentially:

ChatGPT plan → Codex execute → Codex progress/results → ChatGPT review → Codex revise → repeat

For larger projects, ChatGPT works extremely well as the planning, architecture, product-design, and review layer, while Codex is the execution layer. Connecting those two layers with persistent two-way project context would remove a major source of friction.

A shared Project Context or linked ChatGPT/Codex session could be one way to implement it, while still keeping discussion and code execution clearly separated.

OpenAI Support specifically directed me to this GitHub tracker for Codex feature requests, so I’m adding this here rather than relying on the support thread alone.

harahihara · 13 days ago

I’d also like to request first-class synchronization and remote access specifically between the Codex desktop apps on macOS and Windows.

Desired workflow:

  • Sign in with the same OpenAI account on a Mac and a Windows PC.
  • See the same Codex projects, threads, chat history, titles, pins, and relevant task state on both computers.
  • Continue a thread on either computer without manually copying ~/.codex/sessions or exporting summaries.
  • Securely connect to and control Codex running on the other computer in either direction (Mac → Windows and Windows → Mac), including reviewing progress, answering questions, approving actions, and steering active tasks.
  • Clearly distinguish cloud-synced metadata/history from machine-local files, credentials, permissions, terminals, and execution state.

For safety and reliability, an optional sync model with encryption, device management/revocation, explicit local-only threads, conflict handling, and clear offline behavior would be valuable. Synchronizing the live .codex directory through OneDrive/iCloud is unsafe because SQLite/session files can conflict, so an official solution would address an important cross-device workflow gap.

XxUnkn0wnxX · 5 days ago

For anyone whose immediate need is read-only access to existing ChatGPT conversations from Codex, there is a useful unofficial workaround available now: shoyu-ramen/codex-chats-mcp.

It exposes ChatGPT conversations through a local STDIO MCP server, including list, search, and get operations. This is not a replacement for the broader native feature requested here: it does not synchronize local ~/.codex/sessions across machines, provide live two-way ChatGPT ↔ Codex task sync, or unify execution state. It is mainly useful for finding and reading prior ChatGPT conversations from Codex.

One important installation caveat as of codex-chats-mcp 0.1.1: its dependency is currently declared as mcp[cli]>=1.0, so a fresh install can resolve MCP Python SDK 2.0.0. The server still imports the v1-only mcp.server.fastmcp API and will then exit during startup with:

ModuleNotFoundError: No module named 'mcp.server.fastmcp'

Until the package pins v1 or migrates to the MCP SDK 2.x APIs, the verified workaround is to pin MCP SDK 1.29.0 inside the package's dedicated virtual environment:

/path/to/venv/bin/python -m pip install "mcp[cli]==1.29.0"
/path/to/venv/bin/python -m pip check

With Python 3.13.9, I verified that this restores the FastMCP import and allows an independent MCP initialize() and list_tools() handshake to complete successfully. Details and the upstream fix/migration proposal are tracked here: https://github.com/shoyu-ramen/codex-chats-mcp/issues/1#issue-5223152107

The server also offers rename/archive/delete operations, so anyone wanting a read-only setup should restrict the Codex MCP entry explicitly:

enabled_tools = [
    "list_conversations",
    "search_conversations",
    "get_conversation",
]