Integrating IntelliJ IDEA Community Edition + Codex (OpenAI)

A practical, step-by-step guide (plugins, setup options, and a solid workflow)

If you’re an IntelliJ IDEA (Community Edition) person but you want Codex-style “agentic” help — refactors, bug fixes, test generation, and codebase Q&A — you’ve got a good path now: Codex is available inside JetBrains IDEs via JetBrains AI Chat (through the AI Assistant plugin), where you can pick Codex as your active agent.

Below is the clean setup that works today, plus what to watch out for on Community Edition.


What you’re actually integrating

You’ll be using Codex through JetBrains’ built-in AI chat experience:

  • JetBrains AI Chat (AI Assistant plugin) provides the chat panel + IDE context.
  • Codex (OpenAI) appears as an agent you can select in that chat (starting with JetBrains IDEs v2025.3).

This means you don’t need a random third-party “ChatGPT plugin” unless you want extra features — the first-party path is simpler and tends to be more stable.


Prerequisites (don’t skip these)

1) IntelliJ IDEA version

  • Codex in JetBrains AI chat is available starting from JetBrains IDEs v2025.3.
  • For Community Editions, JetBrains’ AI Assistant install guide notes you generally need 2024.1.1+ for Community IDEs.

Recommendation: update IntelliJ Community to 2025.3+ to ensure Codex shows up in the agent picker.

2) Install / update the AI Assistant plugin

JetBrains says: make sure you have the latest AI Assistant plugin; Codex will appear in the agent picker once you do.


Step-by-step: IntelliJ Community + Codex setup

Step 1 — Install AI Assistant (JetBrains)

  1. Open IntelliJ IDEA
  2. Go to Settings/Preferences → Plugins
  3. Search for “JetBrains AI Assistant” and install it
    (or open the JetBrains AI widget in the top-right, click Let’s Go, and follow prompts).
  4. Restart the IDE if prompted

Step 2 — Open JetBrains AI Chat

  1. Click the JetBrains AI widget (top-right)
  2. Open AI Chat

Step 3 — Pick Codex as your agent

  1. In AI Chat, open the agent picker menu
  2. Select Codex

Step 4 — Choose your login / auth method (3 options)

JetBrains supports multiple ways to authenticate Codex inside the IDE:

  • JetBrains AI subscription
  • Sign in with your ChatGPT account
  • Bring Your Own Key (OpenAI API key)

Pick based on your environment:

A) JetBrains AI subscription
Best if your org already uses JetBrains AI credits/quota. JetBrains also mentioned a limited-time free access promo for Codex via JetBrains AI around its launch window (details/terms in their post).

B) ChatGPT account
Fastest if you already have ChatGPT Plus/Pro/etc. (no key management).

C) OpenAI API key (BYOK)
Best for teams that want usage billed/controlled via OpenAI platform keys.


Community Edition licensing realities (so you don’t get surprised)

JetBrains’ AI licensing docs note that AI Free tier isn’t available in Community Editions of PyCharm and IntelliJ IDEA (so you may need a trial/paid tier or BYOK/ChatGPT login).
If you’re expecting a permanently-free experience inside IntelliJ Community, this is the main “gotcha”.


A simple workflow that makes Codex actually useful in IntelliJ

Here’s a pattern that works well:

1) Start with orientation prompts

  • “Explain the project structure and main entry points.”
  • “Map the request flow for login / auth.”
  • “Find where X is implemented and list relevant files.”

2) Ask for small, reviewable changes

  • “Fix this bug with minimal changes; explain the reasoning.”
  • “Add tests for this module and run them.”
  • “Refactor this class but keep behavior identical.”

3) Review diffs like you would with a teammate

Even when Codex is right, treat it like a PR:

  • check changed files
  • run tests
  • commit in small chunks

Troubleshooting: Codex doesn’t appear in the agent picker

If you don’t see Codex:

  1. Confirm you’re on IntelliJ 2025.3+ (Codex integration starts there).
  2. Update AI Assistant plugin to latest.
  3. Restart IntelliJ

Optional add-on: Codex CLI (nice companion, not required)

If you want Codex available in the terminal too, OpenAI provides Codex CLI, which can read/edit/run code in your current directory.
That can pair nicely with IntelliJ’s terminal, even if your primary workflow is inside AI Chat.


Wrap-up

Best “official-ish” path today for IntelliJ IDEA Community is:

✅ IntelliJ 2025.3+ → ✅ AI Assistant plugin → ✅ AI Chat → ✅ select Codex agent → ✅ sign in (JetBrains AI / ChatGPT / BYOK)