header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

Gemini CLI launches Subaccount Delegation, allowing users to create their own AI coding squad with just a Markdown file.

According to Dynamic Analysis Beating monitoring, Google has officially introduced the subagents feature for its open-source command-line programming tool, Gemini CLI. Each subagent has an independent context window, system commands, and toolset. The main agent automatically assigns subtasks to the most suitable subagent for execution when handling complex tasks. The execution results are then compressed into a summary and returned without contaminating the main session context.

Gemini CLI comes with three built-in subagents: generalist (a general-purpose agent suitable for tasks involving high tool invocation volume, such as batch refactoring), cli_help (an expert in using Gemini CLI itself), and codebase_investigator (for codebase exploration, architecture mapping, and bug tracing). Users can also explicitly specify which subagent to take over using the @agent syntax, such as `@codebase_investigator analyze authentication flow`.

The barrier to creating custom subagents is low: simply place a Markdown file with YAML front matter in the .gemini/agents/ directory. In the file, define the role description, available tools, and system commands. Files placed in ~/.gemini/agents are globally effective, while those in the project directory are shared with the team along with the code repository. Subagents can also be packaged into Gemini CLI extensions for distribution.

Subagents support parallel execution, where multiple subagents can simultaneously handle different subtasks. However, Google cautions that parallel tasks involving code editing may lead to write conflicts and should be used cautiously.

On the previous day, Anthropic also released a redesigned desktop version of Claude Code, which similarly relies on multi-agent parallelism. AI programming tools are collectively transitioning from "single-agent dialogs" to an architecture of "main agent scheduling + expert agent execution." The primary driving force behind this shift is context window management: as programming tasks grow in complexity, cramming all intermediate steps into a single context leads to performance degradation and cost escalation. The current engineering consensus is to split them into multiple isolated agents.

举报 Correction/Report
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish