Skip to content

Feat: Load existing Codex threads available via codex resume #330

Closed as not planned

Description

@flamboh

It'd be nice to resume existing threads from pre-t3-code. Loading them all doesn't seem right, so I'd suggest an 'import thread' option when right clicking a project. Input a thread id or select from a list and it adds it.

"Add the ability to import existing Codex threads by thread id. This should be an option on the project right click drop down menu. Use a dialog to show an input for thread ID and a list of recent threads not in the sidebar already."

Activity

  1. timm-u commented on Mar 9, 2026

    @timm-u

    Additionally, it would be great if I could import threads from the Codex app into T3 Code, rather than just resuming them. It feels counterintuitive to start from scratch when I already have an extensive conversation history.

  2. siraht commented on Mar 9, 2026

    @siraht

    100% - this is crucial if I'm going to switch to T3 as my daily driver

  3. thorizer commented on Mar 20, 2026

    @thorizer

    can't migrate to t3 without resume (too many existing sessions )

  4. tomocrafter commented on Apr 2, 2026

    @tomocrafter

    I also would love to see this feature with claude code

  5. dtown123 commented on Apr 24, 2026

    @dtown123

    This app would pretty much be the only thing I ever use if I could resume my existing claude/codex sessions like I can in IDEs/console

  6. 0xpaperhead commented on Apr 28, 2026

    @0xpaperhead

    I was initially working on just creating that implementation before starting to see other similar issues (such as this one) are already created and it seems like contribution is tightened (for obvious reasons previously outlined by Theo)

    I think both providers persist sessions on disk in a stable location, as I reseached:

    • Claude Code: ~/.claude/projects/<encoded_cwd>/<uuid>.jsonl
    • Codex: ~/.codex/sessions/<YYYY>/<MM>/<DD>/<uuid>.jsonl

    Sessions should also be project scoped.

    regardless, both also expose native resume via claude --resume <id> and codex resume <id>. The data and the entry point already exist.

    • Layers/ProviderSessionDirectory.ts abstracts session storage on disk.
    • Layers/ProviderSessionReaper.ts manages session lifecycle.
    • Layers/ClaudeAdapter.ts and Layers/CodexAdapter.ts are the seams for each provider.
  7. 0xpaperhead commented on Apr 28, 2026

    @0xpaperhead

    I made it in my fork

    Image
  8. dtown123 commented on Apr 29, 2026

    @dtown123

    I made it in my fork

    Image

    YES ALMOST THIS EXACTLY. That list should literally appear under the project folder in the side nav instead of the current managed chats. Right where it says "No threads yet"

  9. 0xpaperhead commented on Apr 29, 2026

    @0xpaperhead

    yep! exactly my change. I tested it and it works. Gonna push to my fork soon.

    Also I find myself reusing certain prompts so I am also adding a canned prompts feature

    I made it in my fork
    Image

    YES ALMOST THIS EXACTLY. That list should literally appear under the project folder in the side nav instead of the current managed chats. Right where it says "No threads yet"

  10. dtown123 commented on Apr 29, 2026

    @dtown123

    Please do! One my biggest problems with the current "AI meta" is "prompt hunting" where you remember something you did a few weeks ago, but you don't remember -where- you did it.

    Was it codex? cursor? oh wait, maybe it was claude in the home directory?

    I love the direction of T3 code, but I don't want it to become another disparate bucket that I have to check. I would prefer it to be the opposite; a one stop shop for any and all of your AI interactions no matter where they began.

  11. 0xpaperhead commented on Apr 30, 2026

    @0xpaperhead

    yep exactly!! hunting for sessions and where you mentioned what!

    I was thinking of adding semantic search across sessions. I like t3code

    btw im the dev behind agentgrid.sh :

    demo: https://www.tella.tv/video/organize-your-ai-coding-workflow-with-agent-grid-42t5

    I even added a master-worker interface within agentgrid where you can talk to any of the workers but also let the orchestrator run your agentic engineering loop (build -> review -> audit -> loop -> PR ->etc...)

    Image
  12. 0xpaperhead commented on Apr 30, 2026

    @0xpaperhead

    @dtown123 it works!

    Image
  13. materemias commented on May 9, 2026

    @materemias

    definitely needed also for claude code

  14. dtown123 commented on May 10, 2026

    @dtown123

    I took a stab at this, or at least what I thought I wanted. This era of development has made me more brave to attempt things I don't understand, and it seemed like a decent vehicle to fw electron. Well, I got it working.

    • All claude and codex "native" chats show up via toggle in the sidenav
    • You can continue them "natively" through a convoluted CLI spawn wrapper with native history maintained
    • "working" indicators
    • "T3 import" to shift it over to the "full ecosystem" and abandon the "native" session

    After all of that, I reached the "polish" phase, and realized something. Yeah, it works, but what am I really gaining here? I get to run all my agents in a single spot, regardless of where I started them, but in a limited mode that will constantly have to be updated in parallel with the existing engine that's already superior.

    My original problem was that I want to easily find old sessions, and I converted it in to some quest to have a "single source of truth" when I don't even care about that. I abandoned cursor 6 months ago, and I have scoured cursor for old prompts exactly zero times. That's when I realized I don't even care about old sessions, I just want to find the last one I was working on so I can continue a thought and keep working.

    That brings me back to this issue request. I still think it's important, and importing actually seems mostly easy. I do think it should be coupled which some kind of "search" engine where T3 asks to look in your .claude folder (or codex or cursor) for existing chats to search and import.

    Amazing job on the codebase T3 team - I learned a lot on this side quest and gained a new level of appreciation for this project. This feels like the next natural evolution in agent management.

  15. flamboh commented on May 14, 2026

    @flamboh
    ContributorAuthor

    Yeah, it's interesting. I made this issue very early into T3Code being public, but to be honest, I would have barely used this resuming atp. I still think it'd be great to add, but certainly not as relevant as I'd imagined (especially with how much worse long sessions on 5.5 are).

    I think loading existing threads would be best as part of a "new user" flow, that's why I wanted it - to try doing something on a codex thread I'd been working on earlier in the day.

    I think this issue request still applies, but differently than I imagined initially.

  16. beejsbj commented on Jun 2, 2026

    @beejsbj

    This could be incredibly powerful too if the conversations being imported are "connected"

    Such that you could start a conversation in Codex, continue it in T3 and then continue it again in Codex.

    so if it so happens theres a specific ui feature, or you just wanna change flavors. you can.

  17. juliusmarminge commented on Jun 9, 2026

    @juliusmarminge
    Member

    Closing as a duplicate of #207. Both request importing or resuming existing Codex sessions in T3 Code.

  18. added a commit that references this issue on Nov 4, 2026
    85e2742
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions