终端的突破:Gemini CLI 闪耀 Zed
内容来源:https://developers.googleblog.com/en/gemini-cli-is-now-integrated-into-zed/
内容总结:
Gemini CLI:发布八周实现千余更新,深度集成Zed提升AI开发体验
【北京】 谷歌最新推出的AI开发工具Gemini CLI,自发布以来展现出惊人的发展势头。据悉,这款轻量级编排工具在短短八周内,已收到社区贡献的超过1000个合并请求(Pull Request),极大地扩展了其功能边界。Gemini CLI凭借其可扩展性设计,以及对MCP等新兴标准、Markdown指令、主题配色、自定义扩展、工具整合、配置管理及Open Telemetry的支持,正迅速成为众多工程系统,包括谷歌自身系统中的核心组成部分。
值得注意的是,Gemini CLI团队今日宣布,已与备受开发者欢迎的高性能开源代码编辑器Zed达成深度集成。此举旨在将Gemini的AI模型能力直接引入到Zed的Rust开发环境中,为开发者提供一个与编辑器本身一样快速响应的AI开发体验。由于Zed编辑器在Gemini CLI团队内部已是主流选择,此次合作可谓水到渠成。
Gemini CLI与Zed的集成,标志着终端工具与集成开发环境(IDE)的强强联合,旨在提升开发者处理日常任务的速度与精准度。例如,通过这一集成,开发者将能够:
- 智能理解上下文:在Zed编辑器中,Gemini CLI能够自动感知您正在处理的文件、代码行、甚至光标位置的上下文信息。
- 实时交互式回应:无论您在Zad中操作何处,都可以直接向Gemini提问或请求帮助,它将立即提供基于上下文的回答或建议。
- 代码生成与重构:Gemini可以根据您的指令,生成符合特定模式的代码,或者对现有代码进行重构,显著提高开发效率。
- 项目文件管理:开发者可借助Gemini在项目目录下查找、打开或创建文件,实现更便捷的文件操作。
此次集成不仅在于功能层面,更重要的是提供了一种全新的、由开发者主导的AI协作工作流。它确保开发者始终处于主导地位,AI Agent则作为高效的辅助工具,提供智能预测、灵活适应、持续学习和上下文感知等多维度支持。
目前,Gemini CLI已实现与Zed的无缝对接,开发者可轻松上手体验。Gemini CLI仍将保持开源,并继续在GitHub上欢迎社区的贡献与反馈,共同推动项目发展。
英文原文:
Gemini CLI was built to be extensible by default through emerging standards like MCP, markdown-based instructions, color themes, custom extensions, custom tools, custom configurations, and Open Telemetry. Because we built Gemini CLI as a lightweight orchestrator capable of integrating with any toolchain, the number of community contributions, integrations, and extensions has exploded. In fact, in the eight weeks since Gemini CLI launched, the community has merged 1K pull requests expanding Gemini CLI’s capabilities. Combined with a growing ecosystem of extensions, Gemini CLI is quickly becoming the critical part of many engineering systems – including Google’s own.
We're always looking to integrate with tools developers love, and Zed is a natural fit. Because Zed's high-performance, open source code editor is already a popular choice within the Gemini CLI team, we reached out to the creators to explore a deeper collaboration. Starting today, Gemini CLI is integrated with Zed, bringing Gemini's models directly into Zed’s Rust-based environment. Developers can now tap into an AI experience that’s as fast and responsive as the editor itself.
The integration marries two essential tools – the terminal and IDE – to help you tackle common tasks with speed and precision. For example, you can:
Of course, this integration is about more than just features; it's a better way to collaborate with an AI agent. This new workflow keeps you in the driver’s seat. Here’s what makes it special:
We’re delighted to announce this collaboration together. Read the mirror announcement on the Zed blog.
It’s easy to get started with Gemini CLI and Zed. We're excited to see what you build. As always, Gemini CLI is open source. Join us on GitHub where you can ask for help, inspect our source code, raise issues, and contribute code to make the project better for everyone.
Happy coding!