NEW: Claude Code Security — research preview

Overview

What GitHub Copilot is and what it can do in VS Code

Read time: 4 min

title: "Overview" description: "What GitHub Copilot is and what it can do in VS Code" section: "Copilot" readTime: "4 min"

GitHub Copilot Overview

GitHub Copilot brings AI agents to Visual Studio Code. Describe what you want to build, and an agent plans the approach, writes the code, and verifies the result across your entire project.

What Copilot Can Do

  • Build features end-to-end — describe a feature in natural language; the agent scaffolds, implements across files, and runs tests
  • Debug and fix failing tests — agent reads the error, traces the root cause, applies a fix, re-runs tests
  • Refactor and migrate codebases — coordinated changes across files with build verification
  • Test web apps (Experimental) — open app in integrated browser, verify features, take screenshots
  • Create PRs for team review — delegate to a cloud agent that branches, implements, and opens a pull request

Three Core AI Surfaces

SurfaceHow to accessBest for
AgentsCtrl+Shift+I in Chat viewMulti-file, autonomous tasks
Inline suggestionsType in editor (ghost text)Completions as you code
Inline chatCtrl+I in editorTargeted edits without context switch
Smart actionsRight-click menu, Source Control sparkleCommit messages, fix errors, generate docs

Agents Overview

An agent takes a goal, breaks it into steps, edits files across your project, runs commands, and self-corrects when something goes wrong. Each task runs inside an agent session you can track, pause, resume, or hand off.

Agent types:

  • Local — interactive, full workspace access
  • Background (Copilot CLI) — autonomous, runs while you keep working
  • Cloud — remote, integrates with GitHub pull requests
  • Third-party — Anthropic Claude, OpenAI Codex

Built-in agents:

  • Agent — autonomously plans and implements
  • Plan — creates structured implementation plan before coding
  • Ask — answers questions without making file changes

Customization Options

OptionPurpose
Custom instructionsProject-wide coding standards
Prompt filesReusable prompts for common tasks
Custom agentsSpecialized personas with specific tools
Agent skillsDomain-specific capabilities
MCP serversConnect to external APIs, databases
HooksRun commands at lifecycle events

Pricing

  • Free plan — monthly limit on inline suggestions and chat interactions
  • Paid plans — more interactions, premium models, remote indexing, code review

Run /init in chat to generate custom instructions for your project automatically.