Learning resourcesReviewed · GitHub

Using custom agents in your IDE

This GitHub guide teaches developers to create specialized Copilot assistants in their IDE, but JetBrains, Eclipse and Xcode support is in public preview. It covers .agent.md profiles, tool permissions, model selection and IDE-specific creation steps, including workspace or user-profile storage in VS Code.

Researched 15 Nov 2026

In short.

This GitHub guide helps developers configure task-specific Copilot assistants in their IDE, but profile settings can behave differently across environments. It explains profile creation in VS Code, JetBrains IDEs, Eclipse and Xcode, then describes instructions, tools, models and environment targeting. A consequential default is that omitting the tools property gives an agent access to all available tools. The page supplies testing and planning examples, but does not establish pricing, exact compatibility requirements or measured results.

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

Covers the complete selected page at [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/copilot-in-your-ide/use-copilot-agents/use-custom-agents], including its public-preview notice, four IDE setup paths, profile properties, two examples and usage guidance. Linked documentation and repositories are excluded. No commands, profiles, agents or MCP connections were executed. Functional outcomes, current compatibility, costs and reuse rights remain unknown where the page provides no evidence.

The overview

Identity

Using custom agents in your IDE is an official GitHub Docs guide to creating and invoking specialized GitHub Copilot agents. The resource is instructional documentation, with example profiles embedded in the page.

The source address is [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/copilot-in-your-ide/use-copilot-agents/use-custom-agents]. Its scope includes IDE setup, shared profile configuration and brief guidance on using profiles through GitHub.com and Copilot CLI.

Assessment

The guide is useful for developers who want repeatable Copilot roles for tasks such as planning or writing tests. Its concrete menu paths and profile examples provide a starting point for creating a first agent.

Experienced developers get useful configuration details, especially tool defaults and environment targeting. Detailed property compatibility and MCP configuration are deferred to linked references. The page provides no measured evidence of accuracy, productivity gains or reliable adherence to role instructions.

Users

The primary audience is developers already using Copilot Chat in VS Code, a JetBrains IDE, Eclipse or Xcode. Beginners can follow the creation steps and adapt the testing or planning examples; familiarity with Markdown and basic YAML helps when editing profiles.

Developers working across projects may find VS Code's user-profile storage useful because it makes a custom agent available across workspaces. Workspace profiles live in .github/agents and apply within that workspace.

Capabilities

The guide explains how to give an agent a name, description, task instructions, tool access and a selected model. Tools can include built-in operations and tools supplied by MCP servers, which extend the assistant's available capabilities.

VS Code, JetBrains and Eclipse offer tool-selection dialogs. Xcode's Customize Agent dialog also exposes model selection and handoffs, meaning transitions between custom agents. The page does not show the handoffs syntax.

Profiles can be selected from IDE Chat dropdowns. The page also describes selecting custom agents for GitHub.com tasks and issue assignments, and invoking them through Copilot CLI.

Using it

Requirements

The IDE instructions assume access to GitHub Copilot Chat in one of the four named editor environments. The page does not specify minimum IDE or extension versions, eligible Copilot plans, account permissions or the available model list.

A profile needs a description. Its name is optional and otherwise comes from the filename without the .md or .agent.md suffix. Using MCP tools depends on the relevant server configuration; full connection and authentication requirements are not supplied here.

Mechanism

A custom agent profile is a Markdown file with YAML frontmatter: a structured settings block at the beginning. The settings describe the agent and its available capabilities; the Markdown body provides behavioral instructions. The prompt body can contain at most 30,000 characters.

The tools property lists tool names or aliases. Omitting it grants access to all available tools. The page also describes mcp-servers for agent-specific server configuration and model for selecting an AI model in the listed IDEs.

The optional target property accepts vscode or github-copilot to restrict the intended environment. The page says omitting it makes the agent available in both, while separately warning that some properties behave differently between GitHub.com and IDEs.

Setup

In VS Code, open Copilot Chat, choose Configure Custom Agents from the agents dropdown and create a new agent. Choose workspace storage in .github/agents or user-profile storage for use across workspaces, name the profile and edit the resulting .agent.md file.

JetBrains uses Configure Agents and the Workspace option under Chat Agents. Eclipse uses Configure Agents followed by Add. Xcode uses Create an agent. These three workflows create the profile in .github/agents.

Add the required description, write the task instructions and choose appropriate tools. The page describes model selection through the model property in VS Code, JetBrains and Eclipse, and through Xcode's customization dialog. Select the finished agent from the Chat dropdown.

Example

The testing-specialist example asks the agent to identify coverage gaps, write tests, improve test quality and avoid production-code changes unless requested. It omits the tools property, so it receives all available tools. Avoiding production edits is an instruction in this example, not a demonstrated file-access restriction.

The implementation-planner example explicitly allows read, search and edit tools. Its instructions focus on requirements analysis, technical specifications and Markdown planning documents. Because edit is included, this profile permits editing through that tool; the stated role directs those edits toward documentation.

These are sample configurations. No agent behavior or resulting work was executed or assessed.

Assessment & evidence

Limitations

Custom agents are explicitly described as public preview in JetBrains IDEs, Eclipse and Xcode, with behavior subject to change. The page also warns that properties may function differently between IDEs and GitHub.com.

The guide does not include a complete property-support matrix, detailed MCP setup, supported model list or troubleshooting procedure. The prompt body has a documented 30,000-character limit.

Role descriptions and behavioral prompts do not establish that an agent will follow every instruction. Actual compatibility, instruction adherence, output quality and performance remain unassessed.

Reasoning

A reusable profile can make task instructions and tool choices explicit when switching between planning, testing and other development work. This is a practical inference from the documented configuration format; the page does not measure time saved or improvements in results.

Tool configuration deserves deliberate attention because omitting tools exposes every available tool. The testing example illustrates why a narrow role description should be considered separately from the operations the agent can access.

Workspace and user-profile storage offer different reuse scopes in VS Code. The appropriate choice depends on whether the role belongs to a particular project or should follow the developer across workspaces.

Alternatives

The page identifies the default Copilot cloud agent as an option when starting a GitHub.com task. A custom profile adds task-specific instructions and configuration, but the source provides no comparison showing better outcomes than the default agent.

For other profile starting points, the page links to the awesome-copilot community collection at [https://github.com/github/awesome-copilot/tree/main/agents]. For VS Code-specific instructions, it links to [https://code.visualstudio.com/docs/copilot/customization/custom-agents]. Those linked resources and their contents are outside this assessment.

Evidence

The evidence consists of the complete selected GitHub Docs page, including all four IDE sections, shared configuration guidance, the testing and planning profiles, and brief cloud-agent and CLI usage instructions.

The source snapshot was captured at 2026-11-15T14:56:37.004Z. It documents intended setup and behavior; it contains no execution receipts, benchmark results or comparative evaluation.

Access & freshness

Costs

The page provides no prices, subscription requirements, usage allowances or model-specific charges. The cost of using custom agents is unknown from this evidence.

It also does not establish whether any chosen MCP service introduces separate charges. Confirm Copilot access, model usage terms and external-service pricing before estimating an operating budget.

Rights

The supplied page does not state a license or redistribution terms for its documentation or embedded profiles. Permission to redistribute those materials is unknown from this evidence.

It does not establish rights for content produced by an agent or terms governing connected MCP services. GitHub hosting and the presence of examples do not, by themselves, establish those terms.

Freshness

The available snapshot is dated November 15, 2026. The supplied page text contains no publication date or last-updated date, so the age of individual instructions is unknown.

The public-preview notice makes the JetBrains, Eclipse and Xcode instructions particularly sensitive to change. Menu labels, supported properties and model availability should be checked against the developer's current installation. Current behavior beyond the snapshot is unverified.

Actions

Start with one narrow task, such as drafting an implementation plan. Create a workspace profile, add a clear description and instructions, and explicitly select the tools needed for that task. Choose a model offered by the IDE if a specific model is required.

Evaluate the profile on a small, reviewable task and inspect its proposed changes. For a testing role, check whether it respects the intended production-code boundary; for planning, check that its documents contain useful requirements and acceptance criteria.

Before sharing a profile or moving it between environments, confirm property support in the detailed configuration reference. Verify access, pricing and any MCP requirements separately because this page does not establish them.

Evidence for this report

selected-page.txtselected · checked 2026-11-15