Skip to content
Agentopia

OpenAI Codex, signed in by you

Agentopia runs the Codex CLI on your own machine with the ChatGPT account you signed in with. Work stays inside a sandboxed workspace folder.

Product screenshot
Integrations page showing OpenAI Codex connected through the local runner.

How a run works

For each job, the local runner starts codex exec through OpenAI's official SDK, pointed at the CLI on your machine, with no key injected. Codex uses your own codex login.

Setup

  1. Connect

    In Integrations, choose Connect with my subscription for OpenAI Codex.

  2. Sign in

    On your machine, run codex login and choose Sign in with ChatGPT. Check it with codex login status.

  3. Run

    Start the local runner with your token. The card turns Ready when the runner sees a signed-in CLI.

Sandboxed by default

Sandbox mode
Read-only or workspace-write. Full access is never offered.
Network off
Network access stays disabled unless you turn it on.
Approval before the run
Workspace edits and shell access are approved in Agentopia before the run starts.

Usage and limits

Codex reports token counts but not a dollar cost, so runs on your plan show tokens only. Usage-limit and sign-in errors are recognised, and tasks wait instead of failing.

Prefer an API key?

Add an OpenAI API key instead. Runs then go through Agentopia's worker and are billed by OpenAI at API prices. A ChatGPT subscription is not an API key.

Bring your ChatGPT account

Sign in to Codex on your own machine and put it to work.