# Introducing the Codex IDE extension

**URL:** <https://community.openai.com/t/introducing-the-codex-ide-extension/1354930>\
**Category:** Codex\
**Tags:** codex, api, coding-with-chatgpt\
**Created:** [August 28, 2025, 8:56am UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930 "2025-08-28T08:56:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![VeitB](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/veitb/32/712987_2.png) [@VeitB](https://community.openai.com/u/VeitB)\
**Post date:** [August 28, 2025, 8:56am UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/1 "2025-08-28T08:56:11Z")

</div>

Introducing the **[Codex IDE extension](https://developers.openai.com/codex/ide)**—pair with Codex inside VS Code (and compatible forks) to build faster, fix bugs, and understand unfamiliar code. Codex can read, edit, and run code in your workspace, uses your open files and selections for precise context, and lets you choose how hands-on it is with **Agent** , **Chat** , or **Agent (Full Access)**.

With a ChatGPT subscription you can use Codex without an API key.

- **Work inside your editor:**  
Read, edit, and run code directly in VS Code using file/selection context for shorter prompts and more relevant results.
- **Approval modes:**  
By default, **Agent** can read/edit/run in the working directory and will request approval to access anything outside it or the network. Use **Chat** to plan first; **Agent (Full Access)** enables network and broader access—use with caution.
- **Cloud delegation:**  
Offload bigger jobs to managed environments and review diffs without leaving your editor; Codex keeps conversation context between local and cloud.
- **Platforms & editors:**  
macOS and Linux supported; Windows is experimental (best via WSL). Works with VS Code, VS Code Insiders, Cursor, and Windsurf.
- **Accounts & setup:**  
Sign in with a ChatGPT **Plus, Pro, Team, Edu,** or **Enterprise** plan for the best experience; an API key is also supported with extra setup.
- **Open-source core:**  
Built on the open-source **Codex CLI**.

### What platforms are supported?

The Codex VS Code extension is available on macOS and Linux.

Windows support is still experimental. Currently, the best experience on Windows is to use Codex with the [Windows Subsystem for Linux](https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-vscode).

All Download links can be found at the top of the official announcement.

> **[Codex IDE extension](https://developers.openai.com/codex/ide)**
>
> Pair with Codex in your IDE

---

<div class="post-metadata">

**Author:** ![oleteacher](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/oleteacher/32/32753_2.png) [@oleteacher](https://community.openai.com/u/oleteacher)\
**Post date:** [August 28, 2025, 11:39am UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/5 "2025-08-28T11:39:36Z")

</div>

Love Codex! Looking forward to better Windows support.

---

<div class="post-metadata">

**Author:** ![mattshome](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@mattshome](https://community.openai.com/u/mattshome)\
**Post date:** [August 29, 2025, 2:27am UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/6 "2025-08-29T02:27:55Z")

</div>

Getting the error - Sign-in failed: {“code”:-32603,“message”:“failed to start login server: An attempt was made to access a socket in a way forbidden by its access permissions. (os error 10013)”} - VS Code in Windows. Logged in via wsl to codex.

---

<div class="post-metadata">

**Author:** ![hugh](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/hugh/32/641_2.png) [@hugh](https://community.openai.com/u/hugh)\
**Post date:** [August 29, 2025, 3:29am UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/7 "2025-08-29T03:29:50Z")

</div>

How about JetBrains IDEs?

---

<div class="post-metadata">

**Author:** ![ryanp](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/ryanp/32/33021_2.png) [@ryanp](https://community.openai.com/u/ryanp)\
**Post date:** [August 29, 2025, 3:42am UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/8 "2025-08-29T03:42:37Z")

</div>

I have a bug, none of my local chat sessions are getting saved and they don’t appear in history, even if I select the local dropdown in history. I can only see cloud history. Lost all my context on improvements =/

---

<div class="post-metadata">

**Author:** ![Cleet](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/cleet/32/511647_2.png) [@Cleet](https://community.openai.com/u/Cleet)\
**Post date:** [August 29, 2025, 4:33am UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/9 "2025-08-29T04:33:06Z")

</div>

How about the Codex Cloud? Does it still use O3? Or GPT 5 too?

---

<div class="post-metadata">

**Author:** ![nikoladamjanovic](https://avatars.discourse-cdn.com/v4/letter/n/2acd7d/32.png) [@nikoladamjanovic](https://community.openai.com/u/nikoladamjanovic)\
**Post date:** [August 29, 2025, 6:07am UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/10 "2025-08-29T06:07:48Z")

</div>

Getting the same error as well. Trying to login via VS code in Codex extension:

Sign-in failed: {“code”:-32603,“message”:“failed to start login server: An attempt was made to access a socket in a way forbidden by its access permissions. (os error 10013)”}

Something must be computer related, as I managed yesterday to login at different computer (at work).

---

<div class="post-metadata">

**Author:** ![adithiyan](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@adithiyan](https://community.openai.com/u/adithiyan)\
**Post date:** [August 29, 2025, 12:57pm UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/11 "2025-08-29T12:57:31Z")

</div>

Getting Error starting conversation” in new Codex VS Code extension when initializing a chat in an windows 11 machine

---

<div class="post-metadata">

**Author:** ![appiphonydan](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/appiphonydan/32/673753_2.png) [@appiphonydan](https://community.openai.com/u/appiphonydan)\
**Post date:** [August 29, 2025, 9:03pm UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/12 "2025-08-29T21:03:13Z")

</div>

> [@VeitB](#):
>
> Sign in with a ChatGPT **Plus, Pro, Team, Edu,** or **Enterprise** plan for the best experience; an API key is also supported with extra setup.

Can you give more detail on the API key setup @VeitB ? What exactly do we need to do for API keys to function? I’m just getting “You’ve hit your usage limit.” failures after using the ChatGPT account via login, and would like to pivot to using an API key. Thanks!

---

<div class="post-metadata">

**Author:** ![nikoladamjanovic](https://avatars.discourse-cdn.com/v4/letter/n/2acd7d/32.png) [@nikoladamjanovic](https://community.openai.com/u/nikoladamjanovic)\
**Post date:** [August 29, 2025, 9:19pm UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/13 "2025-08-29T21:19:04Z")

</div>

Found how to fix this, I confirm it is working for me:

Just run these commands as administrator:  
netsh int ipv4 set dynamicport tcp start=49152 num=16384  
netsh int ipv6 set dynamicport tcp start=49152 num=16384  
\*restart your computer\*

---

<div class="post-metadata">

**Author:** ![VeitB](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/veitb/32/712987_2.png) [@VeitB](https://community.openai.com/u/VeitB)\
**Post date:** [August 30, 2025, 5:31pm UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/14 "2025-08-30T17:31:19Z")

</div>

You can [create an API key in the dashboard](https://platform.openai.com/api-keys). To use it, make sure you’ve also [added credits to your account](https://platform.openai.com/settings/organization/billing/overview), since API usage is billed separately from your ChatGPT subscription.

The “usage limit” errors you’re seeing are likely due to shared rate limits between the ChatGPT apps and Codex. Once your ChatGPT subscription limits reset, things should return to normal—but switching to an API key with credits will give you a separate usage path for the API.

Edit: I saw too late that you already solved the issue [here](https://community.openai.com/t/vscode-extension-with-api-key/1355263).

---

<div class="post-metadata">

**Author:** ![cuties06.roam](https://avatars.discourse-cdn.com/v4/letter/c/a4c791/32.png) [@cuties06.roam](https://community.openai.com/u/cuties06.roam)\
**Post date:** [August 30, 2025, 6:27pm UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/15 "2025-08-30T18:27:17Z")

</div>

How do I provide the API key to Codex in VS code though? With Codex CLI I set the OPENAI\_API\_KEY variable, but what do I do with here? Also my vscode runs on Windows and remotely connects to Linux. I created .codex/config.toml on Linux but I guess I also need to create auth.json? What’s the syntax? Or is there a better/easier way to do it?

---

<div class="post-metadata">

**Author:** ![nicha1](https://avatars.discourse-cdn.com/v4/letter/n/8e7dd6/32.png) [@nicha1](https://community.openai.com/u/nicha1)\
**Post date:** [August 30, 2025, 7:28pm UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/16 "2025-08-30T19:28:31Z")

</div>

I have a request: can you make previous chats available in codex VS Code extension? If I restart VS Code all local chats disappear.

---

<div class="post-metadata">

**Author:** ![VeitB](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/veitb/32/712987_2.png) [@VeitB](https://community.openai.com/u/VeitB)\
**Post date:** [August 30, 2025, 7:41pm UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/17 "2025-08-30T19:41:18Z")

</div>

Hi!  
You can read up on the process in more detail here:

> [@VSCode Extension with API Key](https://community.openai.com/t/vscode-extension-with-api-key/1355263):
>
> The docs seem to indicate you can use your OpenAI API key with the VS Code Extension, but there isn’t a lot of detail on how to actually configure that. Can we get some clarity around what exactly needs to be updated in the extension config to enable this? I’ve hit my codex local limit and would like to pivot to using an API key. Thank you!

---

<div class="post-metadata">

**Author:** ![nicha1](https://avatars.discourse-cdn.com/v4/letter/n/8e7dd6/32.png) [@nicha1](https://community.openai.com/u/nicha1)\
**Post date:** [August 30, 2025, 8:01pm UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/18 "2025-08-30T20:01:06Z")

</div>

I think they are talking about using Codex with the API. I am not using an API to access codex, I am using my regular subscription.

---

<div class="post-metadata">

**Author:** ![cristian101](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@cristian101](https://community.openai.com/u/cristian101)\
**Post date:** [September 2, 2025, 8:56am UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/19 "2025-09-02T08:56:31Z")

</div>

The extension is not loading in VS Code on Windows 11 after installing it.

---

<div class="post-metadata">

**Author:** ![MealMasterDev](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@MealMasterDev](https://community.openai.com/u/MealMasterDev)\
**Post date:** [September 2, 2025, 9:21pm UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/20 "2025-09-02T21:21:50Z")

</div>

We just switched to github copilot because this wasn’t supported in codex. Good improvement to be made, will definitely keep a close eye on this.

Developers empowered to not have to open a browser is a major plus one for us.

---

<div class="post-metadata">

**Author:** ![Drew\_Wilkins](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/drew_wilkins/32/673664_2.png) [@Drew\_Wilkins](https://community.openai.com/u/Drew_Wilkins)\
**Post date:** [September 3, 2025, 2:46pm UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/21 "2025-09-03T14:46:57Z")

</div>

Is there a setting we can use to preserve local chat history, perhaps writing to a local log file? As it currently stands, local history disappears on VSCode reload/restart and all I’m left with is my commit history which lacks the rationale for the PR.

---

<div class="post-metadata">

**Author:** ![Glenn\_Gregory](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/glenn_gregory/32/520919_2.png) [@Glenn\_Gregory](https://community.openai.com/u/Glenn_Gregory)\
**Post date:** [September 5, 2025, 8:45am UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/22 "2025-09-05T08:45:06Z")

</div>

+1 on this. Preserving the local chat history on reload. Also wpuld be awesome if this is optionally synced with the cloud version.

---

<div class="post-metadata">

**Author:** ![ryanp](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/ryanp/32/33021_2.png) [@ryanp](https://community.openai.com/u/ryanp)\
**Post date:** [September 6, 2025, 2:50am UTC](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930/23 "2025-09-06T02:50:30Z")

</div>

Why is this still bugged with how fast u can code with codex in vscode??? Use your own product and fix the bugs, PLEASE

[Next page](https://community.openai.com/t/introducing-the-codex-ide-extension/1354930.md?page=2)
