Forking sessions

Resolved 💬 6 comments Opened Sep 30, 2025 by varunursekar Closed Nov 12, 2025

What feature would you like to see?

The CLI permits resumption of a past session via the resume command. I am interested in creating multiple continuations of a past session. As such, an option to "fork" a session would be of value. Ideally, a user can run something like:

codex resume "old-session-id" --fork "new-session-id" ...

This would also provide parity with Anthropic's Claude Agent SDK see [here].

Are you interested in implementing this feature?

Yes

Additional information

_No response_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗