Zed Editor Unveils Open AI Agent Protocol with Google Gemini

An open protocol empowers Google's Gemini within Zed, ushering in a transparent, competitive future for AI in software development.

August 28, 2025

Zed Editor Unveils Open AI Agent Protocol with Google Gemini
In a significant move that underscores the deepening integration of artificial intelligence into the fabric of software development, Google's Gemini CLI has been integrated directly into Zed, the high-performance, Rust-based code editor. This collaboration introduces Google's powerful AI models into the Zed environment, but more profoundly, it signals a major step forward in how developers interact with AI agents. Through this partnership, developers can now leverage Gemini's capabilities not as a separate tool, but as a native component of their coding workflow. The integration is among the first to be built on Zed's new open protocol for AI agents, a framework designed to foster a competitive and diverse ecosystem of AI assistants, allowing developers to choose and switch between different agents without leaving their editor.
The arrival of Gemini CLI in Zed equips developers with a suite of powerful features designed to streamline the coding process by merging the command line's power with the intuitive interface of an IDE.[1][2] Programmers can now generate or refactor code in-place simply by writing a descriptive comment and using a hotkey, letting the AI handle the boilerplate or complex logic.[3] When faced with confusing code blocks or cryptic error messages, a developer can highlight the text to receive an immediate, context-aware explanation from Gemini.[1][3] This functionality extends to a natural language chat interface within Zed's integrated terminal for broader questions and assistance.[1] Perhaps the most innovative aspect of the workflow is the transparency and control it offers. A "Follow Agent" feature allows developers to watch in real-time as Gemini reads and writes across multiple files to complete a task, providing a clear view of the AI's execution path.[1][3] Once the agent completes its work, Zed presents the changes in a review interface similar to a pull request, giving the developer granular control to accept, reject, or manually edit every suggested change.[2][3] This new paradigm keeps the developer firmly in control while offloading tedious and time-consuming tasks to the AI assistant.
This integration is technically enabled by the introduction of the Agent Client Protocol (ACP), a new open-source framework developed by the Zed team.[4] Conceived as an analogue to the highly successful Language Server Protocol (LSP) which decoupled language-specific support from IDEs, ACP aims to do the same for AI agents.[4] The goal is to create a standardized method of communication, allowing any AI agent to plug into any compatible editor.[4] This prevents vendor lock-in and fosters an environment where developers can select the best AI tool for a specific problem or programming language.[5][4] For agent developers, ACP provides a ready-made, high-performance user interface within an editor, allowing them to focus on building the best agentic logic rather than forking and maintaining a version of an entire IDE.[4] Google's Gemini CLI serves as the initial reference implementation for this protocol, showcasing a model of collaboration that Zed hopes other AI providers and editor developers will adopt.[4]
The partnership is a strategic maneuver for both Google and Zed within the increasingly competitive landscape of AI-powered development tools. For Google, integrating its open-source Gemini CLI into a popular, high-performance editor like Zed is a crucial step in meeting developers in their preferred environments.[5][1] Ryan J. Salva, a senior director at Google, noted that Gemini CLI was built to be "infinitely extensible," and the collaboration with Zed was a proactive effort to integrate with a tool the Gemini team itself uses heavily.[5] For Zed, which was created by the minds behind the Atom editor, this move solidifies its position not just as a fast code editor, but as an extensible and neutral platform for the future of AI-assisted programming.[6][7] Instead of locking users into a single, built-in AI like its own Zed AI, which uses models from providers like Anthropic, the editor now formally supports third-party agents, championing developer choice.[3][4] This open philosophy contrasts with more tightly integrated systems and positions Zed as a central hub for a variety of AI agents, whether they are from major tech companies, open-source projects, or run locally on a developer's own hardware.[3][4]
In conclusion, the integration of Gemini CLI into the Zed code editor represents more than just the addition of new features; it is a blueprint for the future of human-AI collaboration in software engineering. By providing powerful, transparent, and controllable AI assistance directly within the development environment, the tool promises significant productivity gains. More importantly, the foundation of this partnership on the open Agent Client Protocol signals a potential industry shift towards a more interoperable and competitive ecosystem for AI agents. As developers increasingly rely on AI to write, debug, and understand code, the ability to choose the best agent for the job, within the editor they love, will become paramount. This collaboration between Google's AI prowess and Zed's high-performance, open-platform vision is a definitive statement on that future.

Sources
Share this article