You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tabbed interface for parallel chat sessions in Codex extension #12098
I would like a tabbed interface for chat sessions within the Codex extension for Cursor and VS Code.
Currently, switching between chats requires multiple steps: opening the chat list, locating the desired session, and selecting it. In practice, this usually means three clicks plus visually scanning or searching through the list. When working with multiple parallel sessions within the same project, this adds noticeable friction and makes it difficult to maintain flow.
A tabbed interface, similar to the built-in Agents UI in Cursor, would allow active chat sessions to remain visible and instantly accessible. Being able to pin, reorder, or quickly switch between open chats would significantly improve multi-stream workflows, especially during complex refactors, feature work, or parallel experimentation.
Additional information
This becomes particularly important when:
Running separate chats for different concerns in the same repository, such as one for architecture planning, one for implementation, and one for refactoring.
Comparing alternative approaches side by side.
Keeping a long-running context-heavy session open while using short-lived task-specific chats.
Even a minimal implementation, where active chats appear as tabs across the top of the panel, would reduce cognitive load and eliminate repeated navigation overhead. Optional enhancements such as keyboard shortcuts for cycling between tabs or the ability to group chats by project would further improve usability.
The core issue is not discoverability but friction. Reducing the number of clicks and eliminating the need to search through the chat list would make Codex far more usable for sustained, professional workflows.
Reacted by Matt McGivney, Julian R Dcosta, Tomáš Krupa, ., Darío Fernández Torre, Durian Yogurt, Aryan, Jingze Xing, Cosmin Apreutesei, Jaecheol Bak and 63 more
I came here just to find this request. 100% this is needed. In a multitasking world I should not need to open multiple VS code windows to have separate codex sessions. I am spending more and more of my day with codex. Either i have to launch another session to do small one-off type actions or I do them in already context heavy windows which needlessly adds to the context.
Reacted by Darío Fernández Torre, attunement-labs, Cosmin Apreutesei, Clément Wawszczyk, Vlady R, Bráulio Oliveira, delightfuldude, ZarskiArt, Divyansh Gupta, Nejc and 2 more
Add this please. Currently Claude Code VSCode extension is a ton better than Codex, while Codex at the same time is a better tool. Essentially - look how Claude Code extension is done, you can rename sessions, have multiple tabs. Lots of this could be done the same way for Codex.
Reacted by Clément Wawszczyk, zlh, Bráulio Oliveira, Carmen Filarsky, delightfuldude, ZarskiArt, Ayanami-Yu, bigben446 and Magda
I found this issue by asking codex how to use a tabbed interface instead of the chat list, and it pointed me here.
This absolutely needs fixing, I use both Claude and Codex, and have been doing more and more with Codex, but it is so much easier to have multiple tasks going with Claude.
I found a practical workaround that can be automated by asking a local Codex agent to patch the installed VS Code extension.
This is not a replacement for native support, but it shows that the extension already has most of the required machinery. Existing local conversations can be opened in the VS Code editor area by dispatching the internal webview message navigate-in-new-editor-tab with a route like /local/<conversationId>.
Below is a prompt that another Codex instance can run locally to create a side-by-side patched extension:
You are running locally on my machine. Patch my installed OpenAI Codex VS Code extension by creating a separate local copy called MultiCodex.
Goal:
Create a second VS Code extension that runs next to the official Codex extension and adds a right-click "Open as tab" action for existing local Codex conversations.
Do not modify the official Codex extension directory.
Expected behavior:
- Official `openai.chatgpt` continues to work unchanged.
- New copied extension is registered as `local.multicodex`.
- Left-click on a conversation keeps the original sidebar behavior.
- Right-click on a local conversation row shows `Open as tab`.
- Clicking `Open as tab` opens that conversation as a normal VS Code editor tab.
- If possible, also add right-click `Open as tab` to the top-right "new chat" button.
Technical details:
1. Locate the installed Codex extension.
Common local path:
`~/.vscode/extensions/openai.chatgpt-*-linux-x64`
Common VS Code Remote SSH path:
`~/.vscode-server/extensions/openai.chatgpt-*-linux-x64`
2. Copy it to a new extension directory with the same version, for example:
`~/.vscode/extensions/local.multicodex-<version>-linux-x64`
3. Patch `package.json` in the copied extension:
- set `name` to `multicodex`
- set `publisher` to `local`
- set `displayName` to `MultiCodex`
- set a new stable UUID in `__metadata.id`
- replace command/context/view ids:
- `chatgpt.*` -> `multicodex.*`
- `codexViewContainer` -> `multicodexViewContainer`
- `codexSecondaryViewContainer` -> `multicodexSecondaryViewContainer`
- remove contribution points that conflict with the official extension:
- `enabledApiProposals`
- `contributes.chatSessions`
- `contributes.configuration`
- `contributes.languages`
- `contributes.grammars`
- `contributes.menus["chatSessions/newSession"]`
4. Patch runtime strings in the copied extension:
- `openai-codex` -> `multicodex-codex`
- `extensions.getExtension("openai.chatgpt")` -> `extensions.getExtension("local.multicodex")`
- relevant runtime `chatgpt.*` command/context names -> `multicodex.*`
5. Find the webview bundle that contains local conversation navigation.
The filename is content-hashed, usually something like:
`webview/assets/use-navigate-to-local-conversation-*.js`
Keep the original left-click behavior. Do not force left-click to open a tab.
6. Find the webview bundle that renders local conversation rows.
The filename is usually something like:
`webview/assets/local-conversation-thread-*.js`
Add a right-click context menu item to local conversation rows.
The menu item should be:
`Open as tab`
Its action should dispatch:
```js
vscodeApi.dispatchMessage("navigate-in-new-editor-tab", {
path: `/local/${conversationId}`,
});
```
7. If the existing context-menu helper expects intl message objects, use:
```js
{
id: "codex.localTaskRow.openAsTab",
defaultMessage: "Open as tab",
description: "Context menu item that opens a local thread in an editor tab"
}
```
8. Optional: patch the top-right "new chat" button.
Search for `actionId:\`new-chat\`` in the webview assets.
Add a right-click context menu item:
`Open as tab`
Its action should dispatch:
```js
vscodeApi.dispatchMessage("open-vscode-command", {
command: "multicodex.newCodexPanel",
});
```
Important: if the context menu does not appear, wrap the custom button component in a real DOM element such as a `span`, because some custom React button components may not forward `onContextMenu`.
9. Register the copied extension in VS Code’s extension registry.
Local:
`~/.vscode/extensions/extensions.json`
Remote SSH:
`~/.vscode-server/extensions/extensions.json`
Add an entry for:
- identifier id: `local.multicodex`
- uuid: the new stable UUID
- version: same as the copied Codex extension
- location path: copied extension directory
- targetPlatform: `linux-x64`
10. Verify:
- run syntax checks on patched JS files
- confirm both extensions are visible:
```bash
code --list-extensions --show-versions | grep -E 'openai.chatgpt|local.multicodex'
```
- confirm patched webview assets contain:
- `navigate-in-new-editor-tab`
- `Open as tab`
- `/local/${conversationId}`
- reload VS Code or reconnect to the Remote SSH window.
This gives a usable interim solution: the official Codex extension stays untouched, while a local side-by-side copy exposes "Open as tab" for existing sessions. Native support would still be much better, ideally as an official command and context-menu action.
+1
Please enable renaming sessions and multiple tabs for Codex VS Code extension. Currently we can neither rename a session nor open multiple tabs at the same time, which is extremely inefficient :(
For anyone looking for an interim solution, VS Code can already open multiple existing Codex sessions as normal editor tabs:
Open the built-in Chat / Agent Chat view.
Use the Sessions list (or Session History).
Select a Codex session.
Repeat with other sessions; the sessions can coexist as separate editor tabs and be split/moved using standard VS Code controls.
This is not the requested first-class tabbed session UI: it does not provide sidebar tab management, renaming, pinning/reordering, or multiple fresh New Codex Agent panels. But it provides a useful no-patch workaround for parallel work with established sessions.
Adding another concrete use case for this: I keep one VS Code window per repository, but need several independent agent sessions inside each window—for example architecture, implementation, investigation, and a short-lived one-off task. Each session must retain separate conversation context while sharing the same repository workspace.
Claude Code's editor tabs support this workflow naturally. With the current stable Codex extension (openai.chatgpt 26.803.41515), Codex is effectively a single visible panel: switching requires navigating through history, and Codex: New Codex Agent only focuses the existing panel rather than opening another independent tab.
Multiple CLI terminals are not an equivalent replacement because the IDE panel provides the much better native inline-diff/review experience. Tabs that can be renamed, pinned, reordered, and switched by keyboard would solve this cleanly.
Adding a concrete VS Code/macOS workflow in support of this request.
I regularly run two Codex conversations in the same workspace: one is implementing or testing a change, while I use the other to investigate the next issue or review the results. Today I have to leave the active thread, open the conversation list, find the other thread, then reverse that process to come back. This is particularly disruptive on a smaller laptop display, where I also need to open source files and review diffs.
I'd like active conversations to behave like ordinary, persistent VS Code tabs:
one-click access to two or more independent, named sessions without searching history;
quick tab switching, optional split view, and the ability to move a session into another editor group or separate window;
keep the current task running while I investigate another issue, with clear running/needs-input indicators;
preserve the normal editor/file/diff workflow (opening a source file should not replace the chat view or force an awkward layout).
I know chatgpt.newCodexPanel exists and previous conversations can be opened as editor tabs; the main request is to make managing multiple active sessions discoverable, reliable, and effortless rather than a series of Command Palette/history-navigation workarounds.
Related requests: #36873 (multiple independent views) and #53071 (one-click editor tabs). Even a small UX improvement here would make a big difference for everyday parallel development.
Activity
JoeMMesser commentedon Feb 19, 2026
I came here just to find this request. 100% this is needed. In a multitasking world I should not need to open multiple VS code windows to have separate codex sessions. I am spending more and more of my day with codex. Either i have to launch another session to do small one-off type actions or I do them in already context heavy windows which needlessly adds to the context.
myprestarocks commentedon Apr 27, 2026
Add this please. Currently Claude Code VSCode extension is a ton better than Codex, while Codex at the same time is a better tool. Essentially - look how Claude Code extension is done, you can rename sessions, have multiple tabs. Lots of this could be done the same way for Codex.
banyinjushi commentedon Apr 30, 2026
add this please!
vsinghipcium commentedon May 1, 2026
+1
brauliobo commentedon May 1, 2026
Indeed, Task switching is horrible today, also can't rename the chat/Task
banyinjushi commentedon May 8, 2026
add this and I will cancel my cc subscription imediately!
dthinkr commentedon May 9, 2026
+1
LubomirHoffman commentedon May 9, 2026
+1
biggiesmallcap-blip commentedon May 10, 2026
+1 please fix this, codex is terrible in VScode for workflow
andys-development-system commentedon May 12, 2026
I found this issue by asking codex how to use a tabbed interface instead of the chat list, and it pointed me here.
This absolutely needs fixing, I use both Claude and Codex, and have been doing more and more with Codex, but it is so much easier to have multiple tasks going with Claude.
nad3rzz commentedon May 12, 2026
I built a VS Code-compatible extension that adds workspace-scoped quick tabs for existing Codex chats across the top of the Codex panel.
It helps reduce repeated chat-list navigation:
https://marketplace.visualstudio.com/items?itemName=nad3r.agents-rtl
ats05 commentedon May 13, 2026
One of the best things about Cloude Code is its UI. I hope this will be incorporated into the Codex as well.
danpetruk commentedon May 13, 2026
I found a practical workaround that can be automated by asking a local Codex agent to patch the installed VS Code extension.
This is not a replacement for native support, but it shows that the extension already has most of the required machinery. Existing local conversations can be opened in the VS Code editor area by dispatching the internal webview message
navigate-in-new-editor-tabwith a route like/local/<conversationId>.Below is a prompt that another Codex instance can run locally to create a side-by-side patched extension:
This gives a usable interim solution: the official Codex extension stays untouched, while a local side-by-side copy exposes "Open as tab" for existing sessions. Native support would still be much better, ideally as an official command and context-menu action.
jdpierce21 commentedon May 16, 2026
Yes, please!
akaSurreal commentedon May 27, 2026
another big yes please, lots of good ideas in this thread
ciuchka2222 commentedon Jun 30, 2026
Yaaas!
Lornt1666 commentedon Jun 30, 2026
Ayanami-Yu commentedon Jul 2, 2026
+1
Please enable renaming sessions and multiple tabs for Codex VS Code extension. Currently we can neither rename a session nor open multiple tabs at the same time, which is extremely inefficient :(
bigben446 commentedon Aug 3, 2026
+1
ftuyama commentedon Aug 4, 2026
Please +1
isCopyman commentedon Aug 5, 2026
For anyone looking for an interim solution, VS Code can already open multiple existing Codex sessions as normal editor tabs:
This is not the requested first-class tabbed session UI: it does not provide sidebar tab management, renaming, pinning/reordering, or multiple fresh
New Codex Agentpanels. But it provides a useful no-patch workaround for parallel work with established sessions.A similar workaround with screenshots appears in #20951: #20951 (comment)
elijahchancey commentedon Aug 10, 2026
Adding another concrete use case for this: I keep one VS Code window per repository, but need several independent agent sessions inside each window—for example architecture, implementation, investigation, and a short-lived one-off task. Each session must retain separate conversation context while sharing the same repository workspace.
Claude Code's editor tabs support this workflow naturally. With the current stable Codex extension (
openai.chatgpt 26.803.41515), Codex is effectively a single visible panel: switching requires navigating through history, and Codex: New Codex Agent only focuses the existing panel rather than opening another independent tab.Multiple CLI terminals are not an equivalent replacement because the IDE panel provides the much better native inline-diff/review experience. Tabs that can be renamed, pinned, reordered, and switched by keyboard would solve this cleanly.
lczech commentedon Oct 5, 2026
Running into the same issue all the time, want to have another session in a new tab, but instead the existing one focuses or even moves around...
ktarmyshov commentedon Oct 24, 2026
Adding a concrete VS Code/macOS workflow in support of this request.
I regularly run two Codex conversations in the same workspace: one is implementing or testing a change, while I use the other to investigate the next issue or review the results. Today I have to leave the active thread, open the conversation list, find the other thread, then reverse that process to come back. This is particularly disruptive on a smaller laptop display, where I also need to open source files and review diffs.
I'd like active conversations to behave like ordinary, persistent VS Code tabs:
I know
chatgpt.newCodexPanelexists and previous conversations can be opened as editor tabs; the main request is to make managing multiple active sessions discoverable, reliable, and effortless rather than a series of Command Palette/history-navigation workarounds.Related requests: #36873 (multiple independent views) and #53071 (one-click editor tabs). Even a small UX improvement here would make a big difference for everyday parallel development.