GitHub Copilot
≈ 3 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
GitHub Copilot is a code completion and programming AI-assistant developed by GitHub and OpenAI that assists users of Visual Studio Code, Visual Studio, Neovim, Eclipse and JetBrains integrated development environments (IDEs) by autocompleting code. Currently available by subscription to individual developers and to businesses, the generative AI software was first announced by GitHub on 29 June 2021. Users can choose the large language model used for generation.
GitHub Copilot is a code completion and programming AI-assistant developed by GitHub and OpenAI that assists users of Visual Studio Code, Visual Studio, Neovim, Eclipse and JetBrains integrated development environments (IDEs) by autocompleting code. Currently available by subscription to individual developers and to businesses, the generative AI software was first announced by GitHub on 29 June 2021. Users can choose the large language model used for generation. ==Features== layout GitHub Copilot on the left Code editor in center Terminal on the right 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. Copilot enables developers to choose between multiple large language models (LLMs), including OpenAI's GPT models, Anthropic's Claude, xAI's Grok, and Google's Gemini. 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, including Gemini and Claude. On , GitHub announced "agent mode", which is a more autonomous mode of operation for the Copilot. Given a programming task, it attempts to accomplish it by executing commands on a Visual Studio instance on the user's computer. The agent mode can connect to different LLMs, including GPT-4o, o1, o3-mini, Claude 3.5 Sonnet, and Gemini 2.0 Flash. On , GitHub announced "coding agent", which is a more autonomous mode of operation for the Copilot. The user would assign a task or issue to Copilot, which would then initialize a development environment in the cloud (powered by GitHub Actions) and perform the request. It would compose a draft pull request and pushes commits to the draft as it works. After accomplishing the request, it tags the user for code review. It is essentially an asynchronous version of agent mode. ==References==
Text derived from https://en.wikipedia.org/w/index.php?oldid=1378909415 under CC BY-SA 4.0; modifications have been made.