Get Started
Busy BeeBusy Bee

Codex

Run agents on your own ChatGPT subscription with Codex, for yourself or for your whole organization.

Codex is OpenAI's coding agent. Connect your ChatGPT subscription and any role set to the Codex provider runs on it. The agent keeps its assigned tools, and the work counts against your subscription's allowance.

Codex is rolling out gradually. If you don't see it under Settings → Integrations, it isn't on for your workspace yet.

Personal or Organization

Like the Claude Code subscription, Codex can be connected two ways. Pick one under Connect for:

  • Personal: any member can connect their own ChatGPT subscription. Codex runs you start use it first. Nobody else's runs ever use it.
  • Organization: an owner or admin connects one subscription for the whole workspace. A member's Codex runs use it when they haven't connected their own.

A run uses your own subscription first, then the organization's. It never uses another member's.

Connect your subscription

  1. Go to Settings → Integrations and open Codex.
  2. Under Connect for, choose Personal or Organization (owners and admins only).
  3. Click Connect. You get a one-time code and a link to OpenAI's sign-in page.
  4. Sign in with your ChatGPT account and enter the code. The code expires after 10 minutes.

When sign-in finishes, the card shows Connected with your account's email and plan. If OpenAI asks, turn on device-code login in your ChatGPT security settings first.

To switch accounts, open Manage and choose Disconnect, then connect again.

Run a role on Codex

An owner or admin opens the role on the Roles page and sets AI Provider to Codex. Then they pick a Codex model and save.

In some workspaces, Codex roles can run only on a subscription you connected yourself. In those workspaces you need a connected subscription (yours or the organization's) before you can save the role. Without one, the save is refused with:

Connect your Codex subscription in Settings → Integrations to run this agent on Codex.

A run with no subscription to use stops with the same message rather than running on another account.

Who pays

Codex runs use your own subscription: the allowance of the ChatGPT account you connected. Workspaces that bring their own model keys can also run Codex on their own OpenAI key when no subscription is connected.

Runs nobody is watching

Scheduled and recurring runs use your personal subscription only if you turn on Scheduled runs on the Codex page. Otherwise they use the organization's.

Where it fits

On this page