diff --git a/docs/core/remote-agents.md b/docs/core/remote-agents.md index e11c37fece..584ad87847 100644 --- a/docs/core/remote-agents.md +++ b/docs/core/remote-agents.md @@ -1,4 +1,4 @@ -# Remote Subagents (experimental) +# Remote Subagents Gemini CLI supports connecting to remote subagents using the Agent-to-Agent (A2A) protocol. This allows Gemini CLI to interact with other agents, expanding @@ -10,23 +10,6 @@ agents in the following repositories: - [ADK Samples (Python)](https://github.com/google/adk-samples/tree/main/python) - [ADK Python Contributing Samples](https://github.com/google/adk-python/tree/main/contributing/samples) - -> [!NOTE] -> Remote subagents are currently an experimental feature. - -## Configuration - -To use remote subagents, you must explicitly enable them in your -`settings.json`: - -```json -{ - "experimental": { - "enableAgents": true - } -} -``` - ## Proxy support Gemini CLI routes traffic to remote agents through an HTTP/HTTPS proxy if one is @@ -459,3 +442,16 @@ Users can manage subagents using the following commands within the Gemini CLI: > [!TIP] > You can use the `@cli_help` agent within Gemini CLI for assistance > with configuring subagents. + +## Disabling remote agents + +Remote subagents are enabled by default. To disable them, set `enableAgents` to +`false` in your `settings.json`: + +```json +{ + "experimental": { + "enableAgents": false + } +} +``` diff --git a/docs/core/subagents.md b/docs/core/subagents.md index bfd107071e..f1e4dda614 100644 --- a/docs/core/subagents.md +++ b/docs/core/subagents.md @@ -5,15 +5,6 @@ session. They are designed to handle specific, complex tasks—like deep codebas analysis, documentation lookup, or domain-specific reasoning—without cluttering the main agent's context or toolset. -Subagents are enabled by default. To disable them, set `enableAgents` to `false` -in your `settings.json`: - -```json -{ - "experimental": { "enableAgents": false } -} -``` - ## What are subagents? Subagents are "specialists" that the main Gemini agent can hire for a specific @@ -568,3 +559,14 @@ configuration, authentication, and usage instructions. Extensions can bundle and distribute subagents. See the [Extensions documentation](../extensions/index.md#subagents) for details on how to package agents within an extension. + +## Disabling subagents + +Subagents are enabled by default. To disable them, set `enableAgents` to `false` +in your `settings.json`: + +```json +{ + "experimental": { "enableAgents": false } +} +```