Skip to content

Commit ca31b28

Browse files
authored
Hubwriter/update agents path (#59941)
1 parent a6ebea8 commit ca31b28

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

content/copilot/how-tos/copilot-cli/customize-copilot/create-custom-agents-for-cli.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Each {% data variables.copilot.copilot_custom_agent_short %} is defined by a Mar
3131
1. Choose between the options to create the {% data variables.copilot.copilot_custom_agent_short %} in the repository or in your home directory:
3232

3333
* **Project** (`.github/agents/`)
34-
* **User** (`~/.config/copilot/agents/`)
34+
* **User** (`~/.copilot/agents/`)
3535

3636
> [!NOTE]
3737
> If you have {% data variables.copilot.custom_agents_short %} with the same name in both locations, the one in your home directory will be used, rather than the one in the repository.
@@ -136,4 +136,5 @@ Each {% data variables.copilot.copilot_custom_agent_short %} is defined by a Mar
136136

137137
* [AUTOTITLE](/copilot/concepts/agents/copilot-cli/comparing-cli-features)
138138
* [AUTOTITLE](/copilot/reference/custom-agents-configuration)
139+
* [AUTOTITLE](/copilot/reference/cli-command-reference#custom-agents-reference)
139140
* [AUTOTITLE](/copilot/tutorials/customization-library/custom-agents)—a curated collection of examples

content/copilot/reference/custom-agents-configuration.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,9 @@ The `tools` list filters the set of tools that are made available to the agent -
153153
### MCP server configurations
154154

155155
For MCP server configurations, there is a specific processing order that ensures proper override behavior: out-of-the-box MCP configurations (like the {% data variables.product.github %} MCP) are processed first, followed by the {% data variables.copilot.copilot_custom_agent_short %} MCP configuration, and finally MCP configurations specified through repository settings. This allows each level to override settings from the previous level as appropriate.
156+
157+
## Further reading
158+
159+
* [AUTOTITLE](/copilot/how-tos/copilot-cli)
160+
* [AUTOTITLE](/copilot/reference/cli-command-reference#custom-agents-reference)
161+

0 commit comments

Comments
 (0)