GitHub Copilot. GitHub Copilot is a code completion and automatic programming tool developed by GitHub and OpenAI that assists users of Visual Studio Code, Visual Studio, Neovim, and JetBrains integrated development environments (IDEs) by autocompleting code. Currently available by subscription to individual developers and to businesses, the generative artificial intelligence software was first announced by GitHub on 29 June 2021. Users can choose the large language model used for generation.

History 
On June 29, 2021, GitHub announced GitHub Copilot for technical preview in the Visual Studio Code development environment. GitHub Copilot was released as a plugin on the JetBrains marketplace on October 29, 2021. October 27, 2021, GitHub released the GitHub Copilot Neovim plugin as a public repository. GitHub announced Copilot's availability for the Visual Studio 2022 IDE on March 29, 2022. On June 21, 2022, GitHub announced that Copilot was out of "technical preview", and is available as a subscription-based service for individual developers.

GitHub Copilot is the evolution of the "Bing Code Search" plugin for Visual Studio 2013, which was a Microsoft Research project released in February 2014. This plugin integrated with various sources, including MSDN and Stack Overflow, to provide high-quality contextually relevant code snippets in response to natural language queries.

Features
When provided with a programming problem in natural language, Copilot is capable of generating solution code. It is also able to describe input code in English and translate code between programming languages.

According to its website, GitHub Copilot includes assistive features for programmers, such as the conversion of code comments to runnable code, and autocomplete for chunks of code, repetitive sections of code, and entire methods and/or functions. GitHub reports that Copilot’s autocomplete feature is accurate roughly half of the time; with some Python function header code, for example, Copilot correctly autocompleted the rest of the function body code 43% of the time on the first try and 57% of the time after ten attempts.

GitHub states that Copilot’s features allow programmers to navigate unfamiliar coding frameworks and languages by reducing the amount of time users spend reading documentation.

Implementation
GitHub Copilot was initially powered by the OpenAI Codex, which is a modified, production version of GPT-3. The Codex model is additionally trained on gigabytes of source code in a dozen programming languages. Copilot’s OpenAI Codex was trained on a selection of the English language, public GitHub repositories, and other publicly available source code. This includes a filtered dataset of 159 gigabytes of Python code sourced from 54 million public GitHub repositories. OpenAI’s GPT-3 is licensed exclusively to Microsoft, GitHub’s parent company. 

In November 2023, Copilot Chat was updated to use OpenAI's GPT-4 model. In 2024, Copilot began allowing users to choose between different large language models, such as GPT-4o or Claude 3.5.

Reception 
Since Copilot's release, there have been concerns with its security and educational impact, as well as licensing controversy surrounding the code it produces.

Licensing controversy 

While GitHub CEO Nat Friedman stated in June 2021 that "training ML systems on public data is fair use", a class-action lawsuit filed in November 2022 called this "pure speculation", asserting that "no Court has considered the question of
whether 'training ML systems on public data is fair use.'" The lawsuit from Joseph Saveri Law Firm, LLP challenges the legality of Copilot on several claims, ranging from breach of contract with GitHub's users, to breach of privacy under the CCPA for sharing PII. 

GitHub admits that a small proportion of the tool's output may be copied verbatim, which has led to fears that the output code is insufficiently transformative to be classified as fair use and may infringe on the copyright of the original owner. In June 2022, the Software Freedom Conservancy announced it would end all uses of GitHub in its own projects, accusing Copilot of ignoring code licenses used in training data. In a customer-support message, GitHub stated that "training machine learning models on publicly available data is considered fair use across the machine learning community", but the class action lawsuit called this "false" and additionally noted that "regardless of this concept's level of acceptance in 'the machine learning community,' under Federal law, it is illegal".

FSF white papers 
On July 28 2021, the Free Software Foundation (FSF) published a funded call for white papers on philosophical and legal questions around Copilot. Donald Robertson, the Licensing and Compliance Manager of the FSF, stated that "Copilot raises many [...] questions which require deeper examination." On February 24, 2022, the FSF announced they had received 22 papers on the subject and using an anonymous review process chose 5 papers to highlight.

Privacy concerns 
The Copilot service is cloud-based and requires continuous communication with the GitHub Copilot servers. This opaque architecture has fueled concerns over telemetry and data mining of individual keystrokes.

See also

References

External links 
 

GitHub
Applications of artificial intelligence
OpenAI
2021 software