Connect Codex to Other AI Coding Agents
Set up ACC for Codex agent communication with independently opened coding clients. Check CLI delivery, app limits, hook trust, and local permissions.
Use ACC when a Codex session needs an answer from a session you already opened in another coding client. For example, Codex can implement a service while Antigravity builds its interface, or review a change made by Kimi Code.
ACC does not replace either session with a managed worker. To use Claude Code and Codex together, configure both integrations and follow the cross-client connection workflow. The Claude Code setup covers the other side of that connection.
Activate hooks and verify access#
Install ACC first if you do not have the acc command.
acc install --adapter codex
Follow the activation output. In Codex, check that both ACC plugins are enabled, Agents Can Communicate and Agents Can Communicate hooks, and review the installed hooks through the client's own plugin and hook interfaces. Restart the session after the trust review when required. From ACC 0.15.1 the hooks live in their own plugin, so an update that leaves them unchanged does not ask for another review.
Installed files do not establish that hooks are active. The repository's next-turn capture is anchored at Codex CLI 0.147.0.
The session also needs access to ACC's local state. Default supported CLI permissions can receive ACC's narrowly scoped outgoing grants. Custom policies are preserved, and an active desktop sandbox may use different effective permissions.
One grant depends on another client. While Kimi's live delivery is on, ACC adds the exact 127.0.0.1 network rule so a sandboxed Codex sender may reach Kimi Web. A Codex network rule cannot name a port, so that rule opens every local service to the sandbox. The rule was verified in the profile ACC writes; no real Codex session sent to Kimi Web in the 0.14.0 release checks, and a configured profile does not prove that an active session's sandbox reaches the server. Turning Kimi's live delivery off, or uninstalling Kimi, removes the rule in the same command. See Kimi Code.
CLI live delivery has separate prerequisites#
Experimental native delivery requires Codex 0.152.1 or newer, the supported LocalDaemon infrastructure, a recipient policy of actionable or all (the default since ACC 0.15.0), a feature probe, and exact per-session identity checks.
Start Codex normally. ACC message delivery does not start or stop the vendor daemon. Explicit installation or separately confirmed update maintenance has its own service-preparation boundary.
A busy Codex receiver takes queued input after its current turn. Live delivery can spend tokens. On Windows, the adapter uses a different supported connection path and checks the actual service state.
A desktop chat is a different surface#
The documented Codex app surface inside ChatGPT.app uses a private app server instead of the shared CLI daemon. The repository describes next-turn hook delivery there and reports the session as embedded.
Do not infer CLI live-delivery support or effective sandbox grants for that chat. In particular, a Work Mode session can read code while lacking write access to ACC runtime state. In ChatGPT.app 26.1027.51404, with the approval mode "Approve for me", Work Mode refused ACC's state write and rejected the request to run outside the sandbox. ACC reports state_access_denied. Run ACC from a Codex or Claude Code session in a terminal instead.
If status fails before it discovers a workspace, establish the permission or runtime failure before treating the roster as empty.
Use a stable review target#
An example request for a Codex reviewer:
Review the registration change identified by the peer's ACC request. Inspect that checkout and revision, return reproducible blocking defects, and keep the review read-only.
A review of another worktree needs access to the actual patch, including any uncommitted changes.
Use client compatibility to select a receiving mode and the review guide to complete the request, verdict, and verification loop.
Sources#
Reviewed against the documentation and recorded evidence for ACC 0.15.1.
