Learning resourcesReviewed · GitHub

Using agent mode in your IDE

This GitHub guide teaches developers to use Copilot agent mode in their editor, but reviewing edits and managing command approvals remain their responsibility. It covers five editors, model selection and ways to extend the agent; each prompt consumes GitHub AI Credits, with no prices given.

Researched 24 Nov 2026

In short.

This GitHub guide helps developers delegate coding tasks to Copilot inside their editor, but its autonomous changes still need human review. It explains how to start agent mode in VS Code, Visual Studio, JetBrains IDEs, Xcode and Eclipse. Copilot can choose files, edit code and use terminal commands while iterating on a task. Commands require approval by default, although settings or administrator policies can allow automatic execution. Every prompt consumes GitHub AI Credits; exact costs, task reliability and performance are not established.

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

Coverage includes the complete selected documentation page at [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/copilot-in-your-ide/use-copilot-agents/use-agent-mode], including all five editor sections, command-approval guidance, the VS Code administrator restriction notice and AI Credits statements. Linked pages are excluded. Installation, detailed pricing, licensing, data handling and integration configuration remain unknown where the page does not explain them. No software, commands or examples were executed; task outcomes and performance are unassessed.

The overview

What the guide covers

Using agent mode in your IDE is GitHub documentation for the agent feature in GitHub Copilot Chat. It provides separate instructions for VS Code, Visual Studio, JetBrains IDEs, Xcode and Eclipse.

The source is the complete documentation body at [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/copilot-in-your-ide/use-copilot-agents/use-agent-mode].

Practical value

The guide is useful for developers who want Copilot to determine the steps and files needed for a coding task. Its strongest practical details are the editor-specific entry points, review process and command-approval behavior.

It provides enough information to start an agent session when Copilot Chat is already available. Installation, account eligibility, detailed billing and evidence of successful task completion are absent.

Who it helps

The page targets developers with a specific coding task, especially work involving several steps, repeated changes or error handling. It also identifies tasks requiring external tools through Model Context Protocol, or MCP, as a use case.

Beginners receive concrete instructions for opening the chat and choosing Agent. Experienced developers can use the guidance on steering an active session, choosing models and connecting tools, although the detailed setup for those extensions is on linked pages.

Documented capabilities

GitHub describes agent mode as choosing which files to change, streaming edits into the editor, updating the working set and proposing or running terminal commands. It can iterate on issues encountered while pursuing the original task.

The page documents model selection for all five editors. VS Code and JetBrains also have explicit guidance linking to custom agents and MCP extensions; Visual Studio links to MCP extensions. Linked subagent guidance describes handing a self-contained task to another agent with its own context.

Using it

Access and prerequisites

The instructions assume access to GitHub Copilot Chat in one of the five supported editor families. Visual Studio requires version 17.14 or later. Minimum versions for the other editors, extension versions and eligible account plans are unknown from this page.

The VS Code instructions warn that an enterprise or organization administrator may disable agent mode. External integrations require additional MCP setup, whose requirements are not explained in the selected page.

How agent mode works

A developer submits a task, and Copilot determines the edits and commands needed to pursue it. Changes appear in the editor as the agent works, and further actions can follow from issues it encounters.

Command approval is the default, with possible automatic execution allowed by editor settings or administrator policy. Developers can review changes and approve or reject commands. The VS Code, JetBrains, Xcode and Eclipse sections explicitly describe redirecting an active agent through follow-up prompts; VS Code also describes undoing unwanted streamed edits.

Starting a session

In VS Code, open Copilot Chat and choose Agent from the dropdown. In Visual Studio, open View, then GitHub Copilot Chat, and choose Agent. In JetBrains, use the Copilot menu to open GitHub Copilot Chat, then select the Agent tab.

In Xcode, open Editor, GitHub Copilot, then Open Chat, and choose Agent; relevant files can optionally be added to the working set. In Eclipse, open Chat through the Copilot status-bar icon and choose Agent. Submit a task, review the edits and respond to command requests.

An illustrative task

An illustrative prompt is: Add input validation to the existing signup form and update the relevant tests. This represents the kind of task involving several steps described by the guide; it is not a worked example supplied by GitHub.

The documented interaction would involve reviewing the proposed edits and any terminal commands, then directing further changes as needed. No execution results are available for this example.

Assessment & evidence

Limits of the guidance

The page does not establish task success rates, code quality, execution speed or security guarantees. Its description of iterating until a task is complete supplies no measured completion results. Practical behavior has not been assessed through execution.

Feature details vary across the editor sections. Command approval may be automatic under some settings, and the page does not document sandbox boundaries, rollback guarantees or the full permissions of external tools.

When this approach fits

Because Copilot chooses files and intermediate steps, the documented workflow fits developers who want to delegate implementation work while retaining review checkpoints. That assessment follows from the described interaction; it is not a measured productivity finding.

A specific task gives the agent a clearer objective. For larger or ambiguous work, the page recommends considering an implementation plan first. The effort required to inspect edits and commands remains part of using this workflow.

Related Copilot approaches

The page points to plan mode for large or ambiguous tasks, custom agents for specialized work and subagents for self-contained subtasks with separate context. These are related approaches within Copilot.

Their detailed instructions are outside the selected page. Comparative costs, effectiveness and availability are unknown, and the evidence supports no comparison with other coding assistants.

What supports the findings

GitHub's own documentation supports the editor instructions, described agent behavior, approval controls and statement about AI Credits. The complete supplied page includes all five editor sections.

The page supplies no benchmark results, completed repository examples or independent validation. References to model selection, MCP, custom agents, subagents and planning establish that related guidance is linked; their destinations were not included.

Access & freshness

Credits and unknown charges

Each editor section states that every prompt entered in agent mode consumes GitHub AI Credits. The page gives no credit quantity per prompt, monetary rate, included allowance, model-dependent charge or cost for completing a task.

Subscription requirements and any charges associated with external integrations are also unknown. A reliable budget cannot be calculated from this guide.

Licensing and data terms

The selected page does not state documentation redistribution terms, generated-code ownership, licensing guarantees or indemnity. It also does not explain code retention, training use or data handling by connected MCP services. Those terms remain unknown from this evidence.

Date and version limits

The supplied copy was captured on 2026-11-24 at 08:51:25 UTC. The page gives no visible publication or last-updated date, so the capture time does not establish when these instructions changed.

Visual Studio 17.14 is the only explicit minimum editor version. Availability, interface details and credit terms beyond the captured copy are unknown.

Suggested next steps

Confirm that Copilot Chat and Agent are available in your editor, inspect command-approval settings and start with a specific task whose changes you can review. Consider planning first when the work is large or ambiguous.

Check current account eligibility and AI Credits pricing before budgeting for regular use. Consult the linked setup guidance before adding MCP tools or custom agents, since this page does not establish their configuration or data terms.

Evidence for this report

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