diff --git a/docs/core/index.md b/docs/core/index.md index afa13787b8..ae5a6794fe 100644 --- a/docs/core/index.md +++ b/docs/core/index.md @@ -7,8 +7,8 @@ requests sent from `packages/cli`. For a general overview of Gemini CLI, see the ## Navigating this section -- **[Sub-agents (experimental)](./subagents.md):** Learn how to create and use - specialized sub-agents for complex tasks. +- **[Sub-agents](./subagents.md):** Learn how to create and use specialized + sub-agents for complex tasks. - **[Core tools reference](../reference/tools.md):** Information on how tools are defined, registered, and used by the core. - **[Memory Import Processor](../reference/memport.md):** Documentation for the diff --git a/docs/core/subagents.md b/docs/core/subagents.md index b0cffca3b5..21de2b4932 100644 --- a/docs/core/subagents.md +++ b/docs/core/subagents.md @@ -1,20 +1,16 @@ -# Subagents (experimental) +# Subagents Subagents are specialized agents that operate within your main Gemini CLI session. They are designed to handle specific, complex tasks—like deep codebase analysis, documentation lookup, or domain-specific reasoning—without cluttering the main agent's context or toolset. - -> [!NOTE] -> Subagents are currently an experimental feature. -> -To use custom subagents, you must ensure they are enabled in your -`settings.json` (enabled by default): +Subagents are enabled by default. To disable them, set `enableAgents` to `false` +in your `settings.json`: ```json { - "experimental": { "enableAgents": true } + "experimental": { "enableAgents": false } } ``` @@ -229,16 +225,7 @@ the `click_at` tool for precise, coordinate-based interactions. ## Creating custom subagents You can create your own subagents to automate specific workflows or enforce -specific personas. To use custom subagents, you must enable them in your -`settings.json`: - -```json -{ - "experimental": { - "enableAgents": true - } -} -``` +specific personas. ### Agent definition files @@ -406,15 +393,11 @@ If you need to further tune your subagent, you can do so by selecting the model to optimize for with `/model` and then asking the model why it does not think that your subagent was called with a specific prompt and the given description. -## Remote subagents (Agent2Agent) (experimental) +## Remote subagents (Agent2Agent) Gemini CLI can also delegate tasks to remote subagents using the Agent-to-Agent (A2A) protocol. - -> [!NOTE] -> Remote subagents are currently an experimental feature. - See the [Remote Subagents documentation](remote-agents) for detailed configuration, authentication, and usage instructions. diff --git a/docs/reference/commands.md b/docs/reference/commands.md index 4aad222d27..67690f6ba2 100644 --- a/docs/reference/commands.md +++ b/docs/reference/commands.md @@ -17,8 +17,6 @@ Slash commands provide meta-level control over the CLI itself. ### `/agents` - **Description:** Manage local and remote subagents. -- **Note:** This command is experimental and requires - `experimental.enableAgents: true` in your `settings.json`. - **Sub-commands:** - **`list`**: - **Description:** Lists all discovered agents, including built-in, local, diff --git a/docs/sidebar.json b/docs/sidebar.json index ea82a64481..ad5741699e 100644 --- a/docs/sidebar.json +++ b/docs/sidebar.json @@ -138,12 +138,10 @@ { "label": "Plan mode", "slug": "docs/cli/plan-mode" }, { "label": "Subagents", - "badge": "🔬", "slug": "docs/core/subagents" }, { "label": "Remote subagents", - "badge": "🔬", "slug": "docs/core/remote-agents" }, { "label": "Rewind", "slug": "docs/cli/rewind" },