3
GitHub Copilot · Concept

What GitHub Copilot is and where things live

  • GitHub Copilot is an AI assistant for code. In VS Code it suggests code as you type and answers questions in Chat. It also works on github.com.
  • Copilot Free is for individuals, with limits such as 2,000 completions a month. There are paid personal plans, and companies give Business or Enterprise seats through their GitHub organization.
  • To sign in, hover the Copilot icon in the Status Bar (the strip along the bottom of VS Code) and select Use AI Features. At work, use the GitHub account your company added to Copilot.
  • Open the Chat view with Ctrl+Alt+I (⌃⌘I on Mac). A session is one chat conversation. The Agent picker sets what Copilot may do: Ask explains code, Agent edits it.
  • An inline suggestion is code Copilot offers in the editor as you type. Tab accepts it and Escape dismisses it.
VS Code · acme-shop
  • Explorer
  • Search
  • Source Control
  • Chat
AgentAskPlanAgent
What does api/orders.py do?
It handles the orders API: create_order() checks stock, saves the order and sends a confirmation email. No files were changed.
Status Bar · Copilot icon: hover to sign in or check your usage
Chat sits in the side bar. The Agent picker is set to Ask, which explains without editing.