Zed Editor integrates OpenAI Codex through the Agent Client Protocol, providing AI-powered coding assistance with enhanced privacy, open-source tools, and support for multiple AI agents to improve developer productivity.

Zed Editor has officially integrated OpenAI Codex using the Agent Client Protocol (ACP), marking a significant advancement for developers seeking AI-powered coding assistance. This integration allows users to launch Codex directly from the New Thread menu, joining other ACP-supported agents like Claude Code and Gemini CLI in the growing ecosystem of AI development tools.
The Codex integration responds to strong community demand following earlier ACP adoptions by major players including Anthropic, Google, and JetBrains. All Codex interactions maintain strict privacy – prompts and code transmit directly between users and OpenAI, with Zed processing no data or billing for external agent usage. This approach aligns with modern privacy standards while delivering powerful AI coding capabilities.
Unlike previous agent implementations, Codex executes terminal commands in isolated processes and streams results to clients using non-PTY mode. This design reduces potential system freezes but offers less interactive functionality. The Zed team continues evaluating both PTY and non-PTY modes to inform future ACP enhancements for text editor and IDE users.
In a move benefiting the broader developer community, Zed has open-sourced the Codex-ACP adapter, enabling developers to utilize this integration outside the editor environment. This accessibility promotes innovation across various AI agents and assistants while supporting diverse programming workflows. The open-source approach encourages community contributions to AI APIs and SDKs development.
Zed Editor's integration of OpenAI Codex via the Agent Client Protocol represents a meaningful step forward in AI-assisted programming. By combining privacy-focused design with open-source accessibility, this implementation benefits both Zed users and the wider developer community. As the team continues refining ACP functionality, developers can expect increasingly sophisticated AI coding assistants and code formatter tools that enhance productivity across development environments.
All Codex interactions remain private with prompts and code sent directly between users and OpenAI. Zed does not process, store, or bill for external agent usage, ensuring complete data privacy.
Yes, Zed has open-sourced the Codex-ACP adapter, allowing developers to implement and customize this integration in other development environments and tools.
The Agent Client Protocol is a framework that allows AI agents to interact with clients like code editors, enabling seamless integration of various AI assistants for enhanced development workflows.
By providing direct access to OpenAI Codex within the editor, developers can get AI-assisted code completion and terminal command execution without switching contexts, boosting productivity.
Users need a valid OpenAI API key and an internet connection to access Codex. The integration works on supported operating systems where Zed Editor is available.