GitHub has unveiled a groundbreaking update to its AI-powered coding assistant, GitHub Copilot, with the introduction of Agent Mode.
This new feature, available in preview for Visual Studio Code (VS Code) Insiders, empowers developers to autonomously complete complex coding tasks by combining advanced AI capabilities with workflow automation.
Alongside this, GitHub announced the general availability (GA) of Copilot Edits and provided a sneak peek at its autonomous software engineering (SWE) agent, codenamed Project Padawan.
Agent Mode: A Leap Towards Autonomous Development
Agent Mode elevates GitHub Copilot from a pair programmer to an autonomous coding assistant. Unlike traditional code completion tools, Agent Mode can:
- Iterate autonomously on its own code and outputs.
- Recognize and fix runtime errors with self-healing capabilities.
- Suggest and guide terminal commands for execution.
- Infer and execute additional tasks necessary for completing a prompt, even if not explicitly specified.
For instance, when tasked with building a web app to track marathon training, Agent Mode can design the database schema, implement API endpoints, and configure the environment—all while debugging its own outputs.
This is achieved through an iterative process where the AI evaluates and refines its results until the task is complete.
To enable Agent Mode, developers must use VS Code Insiders and activate the feature within the Copilot settings.
The mode is expected to expand to other integrated development environments (IDEs) supported by Copilot in the near future.
Streamlining Multi-File Changes with Copilot Edits
GitHub also announced that Copilot Edits, initially previewed in 2024, are now generally available in VS Code.
This feature integrates conversational AI with inline editing capabilities, allowing developers to make changes across multiple files using natural language prompts. Key features include:
Dual-model architecture: Combines foundational models like OpenAI’s GPT-4o and Google’s Gemini 2.0 Flash with speculative decoding for faster edits.
Iterative editing: Developers can review proposed changes inline, accept or reject them chunk by chunk, and revert to previous iterations if needed.
Enhanced productivity: The tool supports workflows like running unit tests alongside code reviews to ensure changes meet project standards.
Copilot Edits is designed to keep developers “in the flow” by reducing context-switching between tasks. It also introduces voice interaction for a more natural experience, mimicking real-life pair programming.
SWE agents on GitHub
GitHub offered a first glimpse at its autonomous SWE agent under development as part of Project Padawan.
These agents aim to handle routine software engineering tasks such as generating pull requests (PRs), refactoring codebases, automating testing pipelines, and troubleshooting errors.
Once fully operational, developers will be able to assign issues directly to Copilot via GitHub clients.
The SWE agent autonomously clones repositories into secure cloud sandboxes, sets up environments, analyzes codebases, and produces tested PRs. It even assigns human reviewers and resolves feedback iteratively.
Technical Advancements
The updates are powered by cutting-edge language models tailored for coding tasks. With expanded contextual awareness and conversational interfaces, Copilot now interprets broader project contexts to generate more accurate suggestions.
Additionally, seamless IDE integration allows Copilot to access project metadata and align its outputs with ongoing work in real time.
GitHub plans further enhancements for both Agent Mode and Copilot Edits.
Upcoming features include improved performance for speculative decoding endpoints, seamless transitions between Copilot Chat and Edits modes, automated file suggestions for working sets, and undo options for suggested changes.
“We believe the end-state of Project Padawan will result in transforming how teams manage critical-yet-mundane tasks, such as fixing bugs or creating and maintaining automated tests”, GitHub CEO Thomas Dohmke noted.
With Agent Mode now live in preview and Project Padawan on the horizon, GitHub Copilot continues its mission to redefine software engineering through AI-driven collaboration.
Are you from SOC/DFIR Team? - Join 500,000+ Researchers to Analyze Cyber Threats with ANY.RUN Sandbox - Try for Free