Skip to content

Integration

Codex CLI jobs from a web panel, each on its own branch

Codex CLI is OpenAI’s coding agent that runs on your computer. DuoWave runs it as a job: you write the task in a web panel, and Codex works in a copy of your project, on a branch of its own, through an Agent Client Protocol adapter. Your ChatGPT plan or API key pays, as it does in the terminal.

Updated

What Codex CLI is

OpenAI calls it a coding agent that runs locally on your computer; its code is open under Apache-2.0. You sign in with ChatGPT — Codex comes with the Free, Go ($8 a month), Plus ($20), Pro (from $100) and Business plans, prices on 17 November 2026 — or use an API key and pay API rates. Besides the CLI there are the Codex app, editor extensions and Codex in the cloud at chatgpt.com/codex.

Codex doesn’t speak ACP itself. The adapter codex-acp, from the Agent Client Protocol’s own organisation, does: it starts Codex’s app server and translates.

Sources: GitHub: openai/codex, ChatGPT Learn, GitHub: agentclientprotocol/codex-acp

What DuoWave adds

  • A job from a panel. Works → New work: folder, task, Start.
  • A copy and a branch per job (duowave/…). Your branch and files don’t change; the job’s branch lands in your folder.
  • A live journal. Codex’s messages and reasoning, its plan, the files it changes, the commands it runs. Only errors, search, download.
  • Add on the way, Stop, and “Open in a terminal”: codex resume <id> opens the same Codex session on the computer.
  • The model, chosen per folder or per job.
  • Spending. A deal per run; the price is the agent’s estimate if it reports one, otherwise “price unknown”.
  • Next to other agents. Codex, Claude Code, OpenCode and Factory Droid in one panel.

Sources: DuoWave, release 0.18.3, ChatGPT Learn

How Codex behaves in a job

The adapter starts Codex in its default mode, “Auto review”: Codex works in a sandbox that writes only in the job’s copy and has no network, and asks only about actions it finds unsafe. When it asks, DuoWave answers by the folder’s rules. Everything else it does inside the sandbox without asking, and DuoWave marks it as such in the panel.

So tests and builds that need no network run; npm install or git push from inside the job don’t. Put installs into the folder’s preparation commands, which DuoWave runs before the agent.

Sources: GitHub

Limits and cost

On a ChatGPT plan, Codex counts against the plan’s limits: Plus and Business have a five-hour window, Pro has none today, weekly limits may apply, and Codex shares them with ChatGPT’s agent work. /status in a Codex session shows what’s left. If the limit hits mid-task, Codex may finish the turn; after that you can buy credits or switch to an API key.

DuoWave doesn’t wait out Codex’s limits: that is for Claude Code. If a Codex job stops on a limit, the journal shows it, and you start the job again after the reset.

Sources: ChatGPT Learn

From your phone

Codex has a remote of its own: the ChatGPT app on a phone connects to a computer running the ChatGPT desktop app, set up from that app, not from the CLI.

DuoWave’s panel is a web page: at home, open it in the phone’s browser; away, through a tunnel of your own. That works with Codex CLI itself. How.

Sources: ChatGPT Learn

A job, start to finish

A Go service rates-api needs a cache.

  • Works → New work. Folder: rates-api. Agent: Codex CLI. What to do: “Cache GET /rates for 60 seconds in memory, with a test that the second call doesn’t hit the upstream.”
  • Start: a copy, the branch duowave/rates-cache, and Codex in it.
  • In the journal, Codex reads handlers/rates.go, adds a small cache with a time to live, writes the test and runs go test ./... inside its sandbox. The test passes.
  • The folder’s checks run after it: go vet ./..., go test ./.... Done: the branch is in your folder.

Connect

  1. 01

    Install Codex and the adapter: npm install -g @openai/codex @agentclientprotocol/codex-acp.

  2. 02

    Sign in: codex login in a terminal, with ChatGPT or an API key. The adapter uses the same sign-in.

  3. 03

    In DuoWave, MagicPlace → Agents → Codex CLI. Install the card; it downloads and runs nothing.

  4. 04

    Works → Work folders. Codex appears next to Claude Code, found and with its version. Pick it for a folder or a job.

  5. 05

    Works → New work. Task, Start. No DuoWave yet? Download it: it is free and open source.

Sources: GitHub, ChatGPT Learn

Questions

Does DuoWave install Codex?

No. The card says how; you install it and sign in yourself.

Can I use my ChatGPT subscription?

Yes: sign in with codex login, and the job uses your plan, as in the terminal. DuoWave never sees the sign-in.

Is the adapter from OpenAI?

No. codex-acp is maintained by the Agent Client Protocol’s organisation on GitHub, under Apache-2.0, and carries a compatible Codex inside.

Can Codex push my code?

Not from the job: its sandbox has no network. DuoWave itself never pushes.

Does DuoWave wait out a Codex usage limit?

No. That wait is for Claude Code; a Codex job that stops on a limit is started again after the reset.

Sources

Checked on 17 November 2026.

  1. GitHub: openai/codex — a coding agent that runs locally; Apache-2.0; install and sign-in
  2. ChatGPT Learn: Pricing — plans with Codex, limits, `/status`, credits, API keys
  3. ChatGPT Learn: Remote connections — set up from the ChatGPT desktop app, not from the CLI
  4. ChatGPT Learn: Developer commands — `codex login`, `codex resume` by session id
  5. GitHub: agentclientprotocol/codex-acp — the ACP adapter for Codex; Apache-2.0; default mode «Auto review», version 2.7.0
  6. DuoWave, release 0.18.3: changelog — Works in work folders; the cards of Codex CLI, Factory Droid and OpenCode (0.16.0); Spending: dollars and tokens by model

DuoWave

One small program between your things and any AI

DuoWave is a free, open-source AI assistant. Say what you need — it builds small apps, automates your routine and reports back when it's done.

DuoWave is an independent project. It is not affiliated with or endorsed by any speaker maker or AI company. Product names belong to their owners.