Skip to content
| Marketplace
Sign in
Visual Studio>Tools>CodexDock - Codex for Visual Studio
CodexDock - Codex for Visual Studio

CodexDock - Codex for Visual Studio

Joao Figueiras

|
16 installs
| (0) | Free
Bring OpenAI Codex into Visual Studio 2026 with a native AI coding assistant. Explore code, plan implementations, edit files, review changes, and build and test your solutions, all without leaving you
Download

CodexDock
CodexDock for Visual Studio 2026

The power of Codex. The familiarity of Visual Studio.

Bring OpenAI Codex into Visual Studio 2026 with a native, dockable AI coding assistant. Explore your code, plan implementations, edit files, review changes and verify your work — all without leaving your IDE.

Connect your ChatGPT account or use an API key through the official Codex CLI. No separate API key is required when using an eligible ChatGPT account.

CodexDock

Think. Build. Review.

Three modes. One workflow.

Choose how you want Codex to work:

Mode What it does
Ask Explore your codebase, explain code and investigate issues without editing files.
Plan Design an implementation approach before making changes.
Agent Implement features, refactor code and fix bugs with configurable permissions.

Follow the agent's progress with streamed Markdown responses, clickable source references, expandable command output and elapsed task time. Select available models and reasoning levels, enable faster responses where supported, interrupt tasks or steer ongoing work with follow-up instructions.

CodexDock

Built around Visual Studio

CodexDock goes beyond terminal-based chat by connecting Codex to the IDE itself.

  • Editor context: automatically reference the active file, attach selected code, files, folders or images, and inspect the context before sending.
  • Native IDE tools: let Codex request solution structure, editor selection, Error List, Roslyn syntax diagnostics and debugger context. Native tool calls require a compatible App Server and a new conversation.
  • Quick actions: review uncommitted Git changes, build the loaded solution and run selected test assemblies using VSTest.
  • Developer workflows: work with configured MCP servers, skills and AGENTS.md instructions.
CodexDock

Stay in control of every change

When Agent mode edits your code, review the affected files directly in the conversation. Open the native Visual Studio diff viewer, keep or undo individual changes, or resolve them together.

Changes are written to disk as the agent works; Keep acknowledges them, rather than applying a staged edit. Ask and Plan remain available while changes await review in the same connected workspace.

CodexDock

Your workspace. Your permissions.

Choose manual approval, Codex automatic review or explicitly confirmed Full access in Agent mode. Ask and Plan use read-only sandbox settings. Native agent-requested builds and tests require confirmation.

The interface follows your active Visual Studio theme, supports recent workspace conversations and displays account usage limits when available.

Get started

  1. Install CodexDock from the Visual Studio Marketplace and restart Visual Studio.

  2. Install the official Codex CLI for Windows. If you have Node.js and npm installed, run:

    npm install -g @openai/codex
    
  3. Restart Visual Studio after installing the CLI and open a solution.

  4. Open Tools → CodexDock (default shortcut: Ctrl+Alt+Shift+J).

  5. Sign in with ChatGPT, reuse an existing CLI session or choose Use API key. Start a conversation in Ask, Plan or Agent mode.

If automatic CLI discovery fails, select Codex CLI path (advanced) and locate the native codex.exe executable.

CodexDock

Requirements & important notes

  • Official Codex CLI with compatible App Server support. This release targets CLI 0.172.0; newer versions may require compatibility updates. Native IDE tool integration uses an experimental protocol; start a new chat to register the tools. Manual context and quick actions remain available.
  • Account eligibility, model availability, usage limits and organization policies are managed by Codex. API key usage is billed separately. Accelerated speed may increase usage or cost.
  • CodexDock is an AI agent client, not an inline autocomplete extension. AI-generated changes should always be reviewed.

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