Home / Companies / GitHub / Blog / Post Details
Content Deep Dive

Copilot ask, edit, and agent modes: What they do and when to use them

Blog post from GitHub

Post Details
Company
Date Published
Author
Ashley Willis
Word Count
2,604
Language
English
Hacker News Points
-
Summary

GitHub Copilot offers three distinct modes for developers to integrate into their workflows within VS Code: Ask, Edit, and Agent modes. Ask mode functions as a quick query tool, providing answers to coding questions directly within the editor without making changes to the code. Edit mode allows developers to describe desired code modifications in natural language, with Copilot implementing inline edits while still requiring user approval, thus expediting the development process without sacrificing control. Agent mode, the most powerful and autonomous of the three, can carry out high-level prompts by independently planning and executing multi-step tasks across a project, though it requires thoughtful initial instructions and custom guidelines to maximize its effectiveness. Each mode serves different needs, from quick problem-solving to comprehensive project management, enabling developers to leverage Copilot as a supportive tool that complements their expertise and judgment.