Agent

Gemini CLI

Google's reference implementation showing the full potential of ACP agent integration.

View Documentation
Real-time code generation and refactoring
Multi-file editing support
Terminal integration
OAuth authentication
Vertex AI support

Getting Started

Learn how to get quickly setup using Gemini CLI with ACP.

1

Open the agent panel

Use cmd-? (macOS) or ctrl-? (Windows/Linux) to open the agent panel in Zed.

2

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.

3

Authenticate

On first use, choose your authentication method: Log in with Google (recommended), use a Gemini API Key, or configure Vertex AI.

4

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.