Skip to main content
Available on the Core plan. Codex Agent is currently supported on Ona Cloud only. Contact sales to learn more.
Codex Agent lets you use Codex in an Ona Cloud environment. It is separate from Ona Agent, but it runs with the same project context, environment isolation, integrations, and guardrails.

How Codex Agent works

Codex Agent can read your repository, use configured tools, run commands, and open pull requests while following your organization’s policies. By default, Codex Agent uses the model access available to your organization. If you connect your ChatGPT account, Codex Agent uses your ChatGPT plan for model requests instead.

Prerequisites

  • Your organization is on the Core plan.
  • Your organization uses Ona Cloud.
  • Codex Agent is enabled for your organization.
To use your ChatGPT plan for Codex model requests, you also need a ChatGPT account with Codex access. See Connect Codex to ChatGPT.

Start Codex Agent

  1. Start an environment.
  2. Open the conversation menu.
  3. Choose Codex.
  4. Describe the task you want Codex Agent to work on.

Organization controls

Administrators can control Codex Agent behavior for the organization.

Goal mode

Goal mode lets members set Codex goals that keep running until achieved. It is enabled by default. To change it, go to Organization Settings > Agents and toggle Goal mode in the Codex settings. When disabled, members can still run Codex Agent, but requests that ask it to run in goal mode are rejected.

Billing

The environment still consumes OCUs while Codex Agent runs. See Cost & Budgets. If you connect your ChatGPT account, OpenAI manages ChatGPT plan usage and limits for Codex model requests. Ona does not charge OCUs for Codex model requests that use your connected ChatGPT account.