From a2b0c3531e12bf51f1bb3c7ccd05f50b498d7a39 Mon Sep 17 00:00:00 2001 From: Danilo Leal Date: Fri, 22 Aug 2025 20:38:03 -0300 Subject: [PATCH] Content tweaks --- docs/src/ai/agent-panel.md | 2 +- docs/src/ai/gemini-cli.md | 21 ++++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/docs/src/ai/agent-panel.md b/docs/src/ai/agent-panel.md index 6caa2047d2..9e997de7ed 100644 --- a/docs/src/ai/agent-panel.md +++ b/docs/src/ai/agent-panel.md @@ -9,7 +9,7 @@ You can do that by: 1. [subscribing to our Pro plan](https://zed.dev/pricing), so you have access to our hosted models 2. [bringing your own API keys](./llm-providers.md#use-your-own-keys) for your desired provider -3. Using [Gemini CLI](./gemini-cli.md) through the Zed Agent Panel. +3. using an external agent like [Gemini CLI](./gemini-cli.md) ## Overview {#overview} diff --git a/docs/src/ai/gemini-cli.md b/docs/src/ai/gemini-cli.md index ee1c771f0b..5dffe3661b 100644 --- a/docs/src/ai/gemini-cli.md +++ b/docs/src/ai/gemini-cli.md @@ -2,22 +2,29 @@ Zed provides the ability to run Gemini CLI directly in our [Agent Panel](./agent-panel.md). -Under the hood we run Gemini CLI in the background, and talk to it over [ACP](TODO TODO). This means that you're running the real Gemini CLI, with all of the advantages of that, but you can see and interact with files in your editor. +Under the hood we run Gemini CLI in the background, and talk to it over the [Agent Client Protocol (ACP)](https://agentclientprotocol.com). +This means that you're running the real Gemini CLI, with all of the advantages of that, but you can see and interact with files in your editor. ## Getting Started The Gemini integration should be enabled by default, run `agent: new gemini cli thread`. -If you don't yet have Gemini CLI installed, then Zed will install a version for you. If you do, then we will use the version of Gemini on your path. +If you don't yet have Gemini CLI installed, then Zed will install a version for you. +If you do, then we will use the version of Gemini on your path. -If it is too old, you will see an error message, and you will have to upgrade Gemini. The instructions depend on how you originally installed it, but typically `npm install -g gemini-cli@preview` should work. +If it is too old, you will see an error message, and you will have to upgrade Gemini. +The instructions depend on how you originally installed it, but typically `npm install -g gemini-cli@preview` should work. -After you have Gemini running, you'll be prompted to choose your authentication method. Most users should click "Log in with Google", but if you have an API key already you can also click "Use Gemini API Key". The "Vertex AI" option is for those who are using Vertex AI, and have already configured their environment correctly. +After you have Gemini CLI running, you'll be prompted to choose your authentication method. +Most users should click "Log in with Google", but if you have an API key already you can also click "Use Gemini API Key". +The "Vertex AI" option is for those who are using Vertex AI, and have already configured their environment correctly. -For more information, see the [Gemini docs](TODO TODO) +For more information, see the [Gemini CLI docs](TODO TODO). ## Usage -Similar to the built in agent, you can use Gemini CLI to do anything that you need. You can @-mention files, recent conversations, symbols, or fetch the web. +Similar to the built-in agent in [the agent panel](./agent-panel.md), you can use Gemini CLI to do anything that you need. +You can @-mention files, recent conversations, symbols, or fetch the web. -In the initial version, Gemini CLI does not support editing previous messages. We hope to add this ability soon. +In this initial version, Gemini CLI does not support editing previous messages. +We hope to add this ability soon.