MCPcopy Index your code
hub / github.com/zed-industries/codex-acp

github.com/zed-industries/codex-acp @v0.16.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.16.0 ↗ · + Follow
201 symbols 481 edges 6 files 19 documented · 9% 4 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ACP adapter for Codex

Use Codex from ACP-compatible clients such as Zed!

This tool implements an ACP adapter around the Codex CLI, supporting:

  • Context @-mentions
  • Images
  • Tool calls (with permission requests)
  • Following
  • Edit review
  • TODO lists
  • Slash commands:
  • /review (with optional instructions)
  • /review-branch
  • /review-commit
  • /init
  • /compact
  • /logout
  • Client MCP servers
  • Auth Methods:
  • ChatGPT subscription (requires paid subscription and doesn't work in remote projects)
  • CODEX_API_KEY
  • OPENAI_API_KEY

Learn more about the Agent Client Protocol.

How to use

Zed

The latest version of Zed can already use this adapter out of the box.

To use Codex, open the Agent Panel and click "New Codex Thread" from the + button menu in the top-right.

Read the docs on External Agent support.

Other clients

Or try it with any of the other ACP compatible clients!

Installation

Install the adapter from the latest release for your architecture and OS: https://github.com/zed-industries/codex-acp/releases

You can then use codex-acp as a regular ACP agent:

OPENAI_API_KEY=sk-... codex-acp

Or via npm:

npx @zed-industries/codex-acp

License

Apache-2.0

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 99
Function 76
Class 18
Enum 4
Interface 4

Languages

Rust98%
TypeScript2%

Modules by API surface

src/thread.rs166 symbols
src/codex_agent.rs28 symbols
npm/bin/codex-acp.js3 symbols
npm/testing/test-platform-detection.js2 symbols
src/main.rs1 symbols
src/lib.rs1 symbols

For agents

$ claude mcp add codex-acp \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page