Gemini CLI 推出子代理(Subagents)功能
对于开发者而言,子代理功能提供了一种模块化、可扩展的方式来管理复杂任务,减少主会话的上下文负担,有望提升 AI 编码助手的实用性和效率。
Google 在 Gemini CLI 中引入了子代理(Subagents)功能,这是一种专门化的专家代理,可在隔离的上下文窗口中处理复杂或高容量任务,从而保持主会话快速且专注。
用户可通过 Markdown 文件自定义子代理,并支持并行运行以提升生产力,调用时使用 @agent 语法进行定向委托。这种架构通过将复杂的多步骤执行简化为主协调器的摘要,防止了“上下文腐烂”问题。
这是 AI 辅助编程工具在任务分解和上下文管理方面的重要进展。
This report is categorized under AITOP's "Products" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include coding assistants, Gemini CLI, context management, Google.
Primary source verification: published directly by Google Developers Blog with first-party authority.