Learning resourcesReviewed · GitHub

Using custom agents in your IDE

This GitHub Docs guide shows developers how to create specialized Copilot assistants in their editor, but settings can behave differently between editors and GitHub.com. It explains agent profile files, tool access, model selection and example roles. JetBrains IDEs, Eclipse and Xcode are explicitly marked as public preview.

Researched 13 Nov 2026

In short.

This GitHub Docs guide helps developers create task-specific Copilot assistants, but profile settings can behave differently in an editor and on GitHub.com. It covers four editor environments, Markdown profiles with YAML settings, model selection and built-in or MCP tools. Omitting the tools setting enables all available tools, including in the testing example. The page provides configuration examples without establishing their reliability or effectiveness on real projects.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises the complete captured page at [https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/use-copilot-agents/use-custom-agents], including all four editor walkthroughs, configuration guidance, examples, usage instructions and preview notice. The supplied original source address differs from the captured address; their redirect or migration relationship is unknown. Linked references, tutorials, community collections, pricing pages and license documents are excluded. No profiles were executed, and runtime behavior, effectiveness and compatibility beyond the page's statements are not assessed.

The overview

Resource identity

Using custom agents in your IDE is a GitHub Docs how-to about creating and selecting specialized GitHub Copilot configurations. The captured page identifies itself at [https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/use-copilot-agents/use-custom-agents].

The supplied source address is [https://docs.github.com/en/copilot/how-tos/use-copilot-agents/cloud-agent/create-custom-agents-in-your-ide]. The evidence does not establish whether a redirect or migration connects these addresses.

Practical assessment

The guide is useful for Copilot users who repeatedly need different instructions or tool choices for planning, testing, editing or research. It connects the editor controls to the underlying profile file and explains important defaults.

It is a starting guide rather than a complete compatibility reference. Detailed configuration and environment-specific property support are delegated to linked documentation. It does not establish that specialized profiles improve accuracy, code quality or completion time.

Who it suits

Beginners who can already open Copilot Chat receive concrete menu instructions and two examples of specialized roles. They will still need to understand a small settings block and write instructions describing the work they want.

Experienced developers receive details about profile locations, tool names and aliases, model selection, environment targeting and MCP configuration. Teams needing confirmed compatibility across editors and GitHub.com will need more detail than this page provides.

What the guide covers

The page explains creating, modifying and switching between custom agents in Visual Studio Code, JetBrains IDEs, Eclipse and Xcode. Profiles can specify behavioral instructions, tools and an AI model. The Xcode walkthrough also describes configuring handoffs between custom agents.

It describes selecting custom agents for cloud tasks and issue assignments on GitHub.com, and invoking them through the Copilot CLI using /agent, a prompt reference or a command-line argument. Copilot-created pull request descriptions identify the custom agent used. These descriptions do not establish identical property behavior across environments.

Using it

Requirements and prerequisites

The walkthrough assumes access to GitHub Copilot Chat and custom agent controls in a supported editor. Creating a profile requires editing a .agent.md file; using MCP tools also depends on the relevant tools being available.

Minimum editor and Copilot extension versions, account eligibility, subscription requirements, authentication steps and hardware requirements are not specified. The page does not identify which particular models will be available to a reader.

How profiles work

A profile is a Markdown file with YAML frontmatter, a settings block above the written instructions. The description field is required. The name field is optional and otherwise defaults to the filename without its .md or .agent.md suffix. The instruction text below the settings can contain up to 30,000 characters.

The tools field lists allowed tool names or aliases, including MCP tools. Omitting it enables all available tools. The page also describes optional mcp-servers settings for agent-specific capabilities and a model setting for the four documented editor environments.

The target field accepts vscode or github-copilot. The guide says omitting it makes the agent available in both environments, while separately warning that some properties function differently. It does not explain automatic synchronization between local profiles and GitHub.com.

Creating a profile

In VS Code, open Copilot Chat, choose Configure Custom Agents from the agent dropdown, and create a new agent. Choose Workspace to store it in .github/agents for that workspace, or User profile for use across workspaces. Name the file and configure the generated .agent.md profile.

In JetBrains IDEs, choose Configure Agents and then Workspace under Chat Agents. In Eclipse, choose Configure Agents and then Add. In Xcode, choose Create an agent. These walkthroughs place the resulting .agent.md file in .github/agents.

The editor dialogs let users select available tools. VS Code, JetBrains and Eclipse describe adding model through autocomplete; Xcode provides a Customize Agent dialog for models, tools and handoffs. Select the completed agent from the Chat dropdown to use its configuration.

What the examples demonstrate

The test-specialist example asks Copilot to identify coverage gaps, write tests and improve test quality while avoiding production-code changes unless requested. It omits tools, so all available tools remain enabled. Its intended output is test work and recommendations; no completed task results are supplied.

The implementation-planner example enables read, search and edit. Its instructions request technical specifications and Markdown plans covering tasks, dependencies, acceptance criteria and risks. The edit tool lets it write those Markdown plans and, as listed, would also allow it to edit other files.

Assessment & evidence

Limits and uncertainties

Custom agents in JetBrains IDEs, Eclipse and Xcode are explicitly described as public preview and subject to change. The article also warns that properties may behave differently between GitHub.com and editor environments, without supplying a complete property compatibility matrix.

The page does not establish model accuracy, instruction adherence, execution reliability, latency or protection against unintended file changes. It also does not explain data retention or permission enforcement in detail. Runtime behavior and the supplied profiles' effectiveness are not assessed.

What the configuration implies

The useful distinction is between the work a profile asks Copilot to do and the tools it makes available. The testing example asks for changes confined to tests while enabling every available tool; the planner uses edit to write Markdown plans, and the same listed tool would also allow it to edit other files. A practical inference is that these role descriptions alone do not establish technical restrictions on which files can change.

Explicit tool choices therefore matter when deciding whether a profile fits a task. The evidence supports configurable access to tools, but not guaranteed compliance with every instruction or a security boundary around a named role.

Other options described

The default Copilot cloud agent is the direct alternative named in the article. A custom profile offers a way to select a different task description and tool configuration; the page supplies no measured comparison between default and custom agents.

For a different learning route, the article links to Your first custom agent [https://docs.github.com/en/copilot/tutorials/customization-library/custom-agents/your-first-custom-agent] and the detailed configuration reference [https://docs.github.com/en/copilot/reference/custom-agents-configuration]. Their contents are outside this page's evidence and are not assessed.

What the evidence establishes

GitHub's article supplies editor-specific procedures, configuration rules and two illustrative profiles. It directly supports statements about the documented menus, settings and defaults.

The examples express intended behavior rather than recorded outcomes. The page supplies no benchmarks, execution logs or independently verified results demonstrating that either profile completes its assigned work correctly.

Access & freshness

Costs and usage limits

The article gives no subscription prices, custom agent fees, model charges, usage allowances or MCP service costs. It does not establish which plans include these capabilities. The cost of adopting the described setup is unknown.

Licensing and reuse

The footer describes GitHub Docs as open source and links to the article's source in the github/docs repository at [https://github.com/github/docs/blob/main/content/copilot/how-tos/copilot-in-your-ide/use-copilot-agents/use-custom-agents.md]. It also displays the copyright notice "GitHub Inc. © 2026" and links to GitHub's Terms at [https://docs.github.com/en/site-policy/github-terms/github-terms-of-service], which were not captured. The supplied page does not include a named license or its terms, so redistribution conditions for the article and example profiles are unknown. Documentation availability does not establish licensing terms for Copilot itself.

Dates and change sensitivity

The supplied page was captured on 13 November 2026 at 22:10 UTC. No article publication date or last-update date is established.

The explicit public-preview notice makes the JetBrains, Eclipse and Xcode instructions particularly change-sensitive. The snapshot does not establish subsequent availability, menu labels or compatibility.

How to approach adoption

Start with one recurring task, choose the appropriate profile location, and write a clear description and instructions. Select tools deliberately, since leaving tools unspecified enables every available tool.

Before reusing a profile across GitHub.com and an editor, consult the linked configuration reference for supported properties. Assess generated files against the project's existing checks and review standards; the examples do not establish that role instructions will always be followed.

Evidence for this report

selected-page.htmlselected · checked 2026-11-13