GitHub Copilot
In short
GitHub Copilot is GitHub's AI coding assistant: it suggests code as you type, answers questions in chat and, as an agent, turns issues into pull requests.
What is GitHub Copilot?
GitHub Copilot is an AI assistant for software development made by GitHub. It began in 2021 as an autocomplete that suggests the rest of a line or a whole function as you type, and has grown into a family of features: a chat for questions about code, an agent mode that makes changes across files inside the editor, and a coding agent that works on GitHub itself.
Because it is built into GitHub, Copilot can work where the rest of a team's work happens. You can assign an issue to the Copilot coding agent, which works on it in its own environment and returns a pull request for review, and Copilot can review pull requests with summaries and suggested changes. It works in VS Code, Visual Studio, JetBrains IDEs and other editors, on GitHub.com and in a command-line tool.
Its range is like the difference between a spell checker and an editor you hire: completions fix the word you are typing, the chat answers a question, and the coding agent takes a whole assignment and comes back with a draft for you to approve.
A .github/copilot-instructions.md file tells Copilot about a project's conventions, and MCP servers give it access to other tools. There is a free plan with limited use and paid plans with more; students, teachers and maintainers of popular open-source projects can get paid features at no cost.
Key takeaways
- GitHub Copilot is GitHub's AI coding assistant.
- It offers code completions, a chat, an agent mode in the editor and a coding agent on GitHub.
- The coding agent works on an assigned issue and opens a pull request.
- It can review pull requests and suggest changes.
- It works in most popular editors, on GitHub.com and in the terminal.
Example
# Copilot instructions
- This is a Next.js app written in TypeScript; use the App Router.
- Run npm test before proposing changes, and keep the tests passing.
- Use the fetchJson helper in src/lib/http.ts for HTTP calls.Readers ask
Is GitHub Copilot free?
There is a free plan with a limited number of completions and chat requests each month; paid plans raise the limits and add features. Verified students, teachers and maintainers of popular open-source projects can get paid features at no cost.
What is the Copilot coding agent?
A version of Copilot that works on GitHub rather than in your editor: you assign it an issue or describe a task, it works in its own environment, and it opens a pull request for you to review.
Which AI models does Copilot use?
It started on OpenAI's original Codex model. Today you can choose among several models, including ones from OpenAI, Anthropic and Google, depending on your plan.
See also
- Cursor vs GitHub CopilotCursor is a separate AI code editor built on VS Code, while GitHub Copilot adds AI to the editors you already use and to GitHub itself, pull requests included.
- AI Coding AgentAI & Machine Learning, p. 5An AI coding agent is an AI system that takes a programming task, explores the code, edits files and runs commands in a loop until the task is done.
- CursorAI & Machine Learning, p. 20Cursor is an AI code editor built on VS Code, with AI autocomplete, a chat and coding agents that edit across files and can use models from several AI labs.
- OpenAI CodexAI & Machine Learning, p. 45OpenAI Codex is OpenAI's AI coding agent: it writes, edits and reviews code from a command line, an IDE extension or ChatGPT, on your computer or in the cloud.
- Claude CodeAI & Machine Learning, p. 15Claude Code is Anthropic's AI coding agent: it reads your codebase, edits files, runs commands and works with git in a terminal, IDE, desktop app or browser.
- GitHubVersion Control, p. 25GitHub is a platform for hosting Git repositories and working on code together, with pull requests, code review, issues and the largest open-source community.
- Pull RequestVersion Control, p. 33A pull request is a proposal to merge changes from one branch into another, giving teammates a place to review, discuss, and test the code before it is merged.
Free · once a week
Software and AI, explained once a week
The week's software and AI news with every term explained, plus a term to learn and a quick quiz. A two-minute read.
See this week's issueAbout this page
Spotted a mistake or something missing on this page?Suggest an edit
How pages are made