GitHub Copilot, the AI-powered coding assistant, is set to roll out a range of new features aimed at enhancing user experience. In an announcement made on Thursday, the company revealed the introduction of a new agent mode capable of autonomously iterating on its code and diagnosing errors. Additionally, Copilot Edits, which was initially revealed at the GitHub Universe event in October 2024, is now generally available. The company also introduced Project Padawan, marking the launch of its first AI agent for software engineering.
GitHub Is Introducing New Features to Copilot
Following the recent integration of the DeepSeek-R1 AI model, GitHub has unveiled significant enhancements to its Copilot chatbot. According to a blog post shared with the public, the new agent mode is designed to offer a more independent and proactive approach to code generation.
The agent mode allows Copilot to autonomously iterate on its code, identify errors, and implement fixes without the need for human intervention. It can also analyze run-time errors and suggest terminal commands to users. When tasked with a job, this mode of Copilot will manage all related subtasks to ensure the primary request is completed efficiently.
To activate the agent mode, users need to download VS Code Insiders and enable the corresponding setting in GitHub Copilot Chat. Following this setup, they can navigate to the Copilot Edits panel and switch from Edit to Agent using the model picker.
Copilot Edits, now widely available in VS Code, allows developers to specify files that need code alterations and articulate their requirements in natural language. The feature is designed to comprehensively understand instructions, making inline updates across all specified files. Users have the flexibility to review, accept, and refine the proposed changes through subsequent inquiries.
According to GitHub, this feature employs a dual-model architecture to optimize editing precision and efficiency. Users can select from foundational language models, including GPT-4o, Claude 3.5 Sonnet, and Gemini 2.0 Flash, which grasp the complete context of the editing session before generating initial suggestions. An innovative decoding endpoint further enhances this process by providing inline recommendations within the editor environment.
In addition, GitHub offered a sneak peek into Project Padawan, an autonomous software engineer agent that will be integrated into Copilot later this year. This AI agent can be tasked with specific issues through any of the GitHub clients available in Copilot and will create fully tested pull requests. Upon task completion, it will assign human reviewers to these requests and automatically address any feedback received.
The company noted that each task handled by the AI agent will take place within a secure cloud sandbox, which ensures a streamlined process that includes repository addition, environment setup, codebase analysis, file editing, build creation, and testing.