Codex CLI ACP Setup
Codex CLI ACP setup: run Codex CLI over the Agent Client Protocol and connect it to AgentRQ for human-in-the-loop task management.
Codex CLI is OpenAI's coding agent for the terminal. It speaks ACP through the community codex-acp adapter, so it can run behind AgentRQ's gateway with no custom integration code.
Wondering which other coding agents support ACP? See the ACP support table for 33 agents.
Want Codex CLI to use websites too? Connect Codex CLI to WebMCP shows how it can call a site's WebMCP tools in your own Chrome.
Does Codex CLI Support ACP?
Yes, via the codex-acp adapter, which wraps Codex's own codex app-server protocol and exposes it as a standard ACP server that any ACP client — including AgentRQ's gateway — can talk to.
What Connecting via ACP Gets You
Once Codex CLI is bridged through AgentRQ's ACP Gateway, every task it works on shows up on your AgentRQ task board in real time. You can approve risky commands, reply with extra context, or reassign work — from the dashboard or Slack — without touching the terminal Codex is running in.
Connect Codex CLI
AgentRQ runs Codex CLI for you on a machine: a computer of yours running agentrqd, the AgentRQ daemon, which starts it through the ACP Gateway. There is no config file to copy.
-
1.
Enrol a machine, once. In AgentRQ, open Machines, click Add machine and run the two commands it shows on that computer. A machine serves every workspace in your account, so this is not repeated per workspace.
-
2.
Start Codex CLI from the workspace. Click Start an agent (or Change under the start button) and pick Codex CLI (registry id
codex-acp); if it is not in the list, click + and search for it. Choose a model and an effort, then start it.
AgentRQ opens Codex CLI's live terminal. If Codex CLI needs signing in, it asks there the first time, and you sign in from that terminal. The step-by-step guide walks through it with screenshots.
FAQ
Does Codex CLI work with AgentRQ?
Yes — Codex CLI connects to AgentRQ through the codex-acp ACP adapter and the open-source ACP Gateway.
How do I connect Codex CLI to AgentRQ?
Enrol a machine once on the Machines page, then open Start an agent in your workspace and pick Codex CLI (codex-acp). AgentRQ runs it on that machine through the open-source ACP Gateway.
What is the Agent Client Protocol (ACP)?
ACP is an open, editor-agnostic protocol that lets any coding agent talk to any client over a standard JSON-RPC interface. AgentRQ's gateway implements the client side of ACP, so any ACP-compatible agent — including Codex CLI — can use AgentRQ as its human-in-the-loop task manager.