Gemini CLI
Google's reference implementation for the Agent Client Protocol. Gemini CLI is an open-source, terminal-based AI agent that provides powerful code generation, refactoring, and debugging capabilities.
View DocumentationGetting Started
Learn how to get quickly setup using Gemini CLI with ACP.
Open the agent panel
Use cmd-? (macOS) or ctrl-? (Windows/Linux) to open the agent panel in Zed.
Start a new Gemini CLI thread
Click the + button in the top right and select Gemini CLI, or use the keyboard shortcut you've configured.
Authenticate
On first use, choose your authentication method: Log in with Google (recommended), use a Gemini API Key, or configure Vertex AI.
Start chatting
You can now interact with Gemini CLI directly in Zed, with full access to your codebase context.
Learn more about ACP
The Agent Client Protocol enables editors to support any ACP-compatible agent without custom integrations.