GitHub Copilot X: The AI-powered Developer Experience
>>> Shared from Original Post The GitHub Blog
At GitHub, our mission has always been to innovate ahead of the curve and give developers everything they need to be happier and more productive in a world powered by software. When we began experimenting with large language models several years ago, it quickly became clear that generative AI represents the future of software development. We partnered with OpenAI to create GitHub Copilot, the world’s first at-scale generative AI development tool made with OpenAI’s Codex model, a descendent of GPT-3.
GitHub Copilot started a new age of software development as an AI pair programmer that keeps developers in the flow by auto-completing comments and code. And less than two years since its launch, GitHub Copilot is already writing 46% of code and helps developers code up to 55% faster.
But AI-powered auto-completion is just the starting point. Our R&D team at GitHub Next has been working to move past the editor and evolve GitHub Copilot into a readily accessible AI assistant throughout the entire development lifecycle. This is GitHub Copilot X—our vision for the future of AI-powered software development. We are not only adopting OpenAI’s new GPT-4 model, but are introducing chat and voice for Copilot, and bringing Copilot to pull requests, the command line, and docs to answer questions on your projects.
With AI available at every step, we can fundamentally redefine developer productivity. We are reducing boilerplate and manual tasks and making complex work easier across the developer lifecycle. By doing so, we’re enabling every developer to focus all their creativity on the big picture: building the innovation of tomorrow and accelerating human progress, today.
Let’s jump in.
Want to see what’s new? Discover GitHub Copilot X—our vision for the future of AI-powered software development. Learn more >
A new AI-powered developer experience
- A ChatGPT-like experience in your editor with GitHub Copilot Chat: We are bringing a chat interface to the editor that’s focused on developer scenarios and natively integrates with VS Code and Visual Studio. This does far more than suggest code. GitHub Copilot Chat is not just a chat window. It recognizes what code a developer has typed, what error messages are shown, and it’s deeply embedded into the IDE. A developer can get in-depth analysis and explanations of what code blocks are intended to do, generate unit tests, and even get proposed fixes to bugs.
GitHub Copilot Chat builds upon the work that OpenAI and Microsoft have done with ChatGPT and the new Bing. It will also join our voice-to-code AI technology extension we previously demoed, which we’re now calling GitHub Copilot Voice, where developers can verbally give natural language prompts.
Sign up for the technical preview >
- Copilot for Pull Requests: You can now sign up for a technical preview of the first AI-generated descriptions for pull requests on GitHub. This new functionality is powered by OpenAI’s new GPT-4 model and adds support for AI-powered tags in pull request descriptions through a GitHub app that organization admins and individual repository owners can install. These tags are automatically filled out by GitHub Copilot based on the changed code. Developers can then review or modify the suggested description.
Enroll your repository in the technical preview >
This is just the first step we’re taking to rethink how pull requests work on GitHub. We’re testing new capabilities internally where GitHub Copilot will automatically suggest sentences and paragraphs as developers create pull requests by dynamically pulling in information about code changes.
We are also preparing a new feature where GitHub Copilot will automatically warn developers if they’re missing sufficient testing for a pull request and then suggest potential tests that can be edited, accepted, or rejected based on a project’s needs.
This complements our efforts with GitHub Copilot Chat where developers can ask GitHub Copilot to generate tests right from their editor—so, in the event a developer may not have sufficient test coverage, GitHub Copilot will alert them once they submit a pull request. It will also help project owners to set policies around testing, while supporting developers to meet these policies.
- Get AI-generated answers about documentation: We are launching GitHub Copilot for Docs, an experimental tool that uses a chat interface to provide users with AI-generated responses to questions about documentation—including questions developers have about the languages, frameworks, and technologies they’re using. We’re starting with documentation for React, Azure Docs, and MDN, so we can learn and iterate quickly with the developers and users of these projects.
We’re also working to bring this functionality to any organization’s repositories and internal documentation—so any developer can ask questions via a ChatGPT-like interface about documentation, idiomatic code, or in-house software in their organization and get instant answers.
We know that the benefits of a conversational interface are immense, and we are working to enable semantic understanding of the entirety of GitHub across public and private knowledge bases to better personalize GitHub Copilot’s answers for organizations, teams, companies, and individual developers alike based on their codebase and documentation.
Moving forward, we are exploring the best ways to index resources beyond documentation such as issues, pull requests, discussions, and wikis to give developers everything they need to answer technical questions.
- Copilot for the command line interface (CLI): Next to the editor and pull request, the terminal is the place where developers spend the most time. But even the most proficient developers need to scroll through many pages to remember the precise syntax of many commands. This is why we are launching GitHub Copilot CLI. It can compose commands and loops, and throw around obscure find flags to satisfy your query.
Let’s build from here
From reading docs to writing code to submitting pull requests and beyond, we’re working to personalize GitHub Copilot for every team, project, and repository it’s used in, creating a radically improved software development lifecycle. Together with Microsoft’s knowledge model, we will harness the reservoir of data and insights that exist in every organization, to strengthen the connection between all workers and developers, so every idea can go from code to reality without friction. At the same time, we will continue to innovate and update the heart of GitHub Copilot—the AI pair programmer that started it all.
GitHub Copilot X is on the horizon, and with it a new generation of more productive, fulfilled, and happy developers who will ship better software for everyone. So—let’s build from here.
Explore all technical previews >
>>> Read the Full Story at The GitHub Blog