Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Codex for VS Code by AltivolaNew to Visual Studio Code? Get it now.
Codex for VS Code by Altivola

Codex for VS Code by Altivola

Altivola

|
4 installs
| (0) | Free
A local Codex client with parallel editor tabs and a session manager.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Codex for VS Code by Altivola

Use local Codex chats in VS Code editor tabs, with Session Manager in the sidebar. The extension uses the Codex CLI for sign-in and session history.

Getting started

  1. Install the Altivola extension or install a VSIX from GitHub Releases.
  2. Open Codex for VS Code in the Activity Bar and click + in Session Manager. If Get started opens, follow the prompts to install Codex or sign in with ChatGPT. Altivola reuses an existing Codex install and sign-in.
  3. Click a saved session to reopen it in an editor tab. You can run multiple chats at once, including in split editor groups.

Set Codex for VS Code: Executable to the absolute path to your standalone CLI if VS Code cannot find it on PATH. The extension also supports the CLI bundled with the official extension when installed. New chats start in the active workspace folder. Reopened chats keep their original working directory.

Work with chats

  • Use the search buttons to find past chats. Right-click a session to rename it, fork it, or archive it. Use Restore Archived Session from the Command Palette to unarchive a chat.

  • Fork from a user message to take the earlier conversation into a new tab.

  • Paste a screenshot directly into the composer with Cmd+V or Ctrl+V. You can also drag an image onto the composer. Images appear as removable attachments and are sent when you submit the message. + Context also accepts images from disk.

  • Type @ at the start of a word to find a file in the chat's working directory. Use + Context to include a file or your editor selection. Opt in to automatic file or selection context with Attach Open File and Attach Selection in Settings.

  • Use Model & mode to select a model, reasoning effort, permission profile, or Plan mode. Open Review plan to edit and submit a proposed plan for implementation. Use Review changes to preview a patch side by side or inspect its raw diff.

  • Send an update with Steer while a reply is in progress, or click Stop to interrupt it. Closing a tab leaves the conversation available in Sessions.

  • Type / in an empty composer to open chat commands. Browse session history, check usage, inspect MCP servers, manage Codex plugins, and open the CLI in the integrated terminal.

  • Click Altivola in the status bar or the chat button in the editor toolbar to focus chat.

  • To set your own shortcut, open Preferences: Open Keyboard Shortcuts. Search for Codex for VS Code or New Session in Editor Tab.

  • Click History in a chat to search chat titles and messages, switch to archived chats, or load earlier results. Choose /find to jump to a match in the open chat. Use Reopen Closed Chat Tab from the Command Palette to reopen a chat you closed in this window.

  • Run Import Claude Code Chats or choose /import to select local Claude Code chats. Codex looks for up to 500 chats from the last ten years. Imported chats appear in session history when Codex finishes the import.

  • Account & Usage shows your email, plan, usage percentages, and next reset in the Activity Bar. Click Usage details, click Codex usage in the status bar, or choose /usage to open account limits, daily token activity, and the selected chat’s model breakdown when available. Choose /status for the chat ID and the latest recorded token usage.

  • The Session Manager has inline rename and archive actions. Cmd/Ctrl-click or Shift-click several sessions, then choose Delete Selected Chats. You can also enter selection mode from History to delete active or archived chats. Confirm the listed names before permanent deletion. Code and files in the workspace are not deleted.

  • Use Quote to bring a reply or selected text into your draft. Use Branch to ask a follow-up in a separate chat. Supported workspace links open in the editor. Choose /review to run Codex’s code review in the chat.

  • The composer has controls for context, commands, context usage, model and reasoning, mode, and permissions. Use Cmd+Option+C on macOS or Ctrl+Alt+C on other platforms to toggle chat focus. Turn on Use Terminal to open Codex in the integrated terminal from the global focus action.

  • Copy a reply directly or choose /copy for the latest reply. Press Escape in the composer to stop a running turn. Enable Use Ctrl Enter To Send to make Enter insert a newline.

Connection errors are recorded in the Codex for VS Code output channel.

Development

Open this folder in desktop VS Code and run Debug: Start Debugging with the Extension Host launch configuration, or launch VS Code with --extensionDevelopmentPath="$PWD".

Run npm ci to install dependencies and npm run check for the same checks as CI (Biome, type check, tests). Run npm run package to build a VSIX. See CONTRIBUTING.md for more.

Altivola maintains this independent extension for OpenAI's Codex CLI.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft