- Agents are addressable by
@mentions in the Copilot chat (similar to tagging a person). - Each agent is configured with specialized knowledge and access to specific contexts (for example: workspace files, open editor, or terminal output).
- When invoked, an agent inspects the contexts it can access and uses natural language processing to produce contextually appropriate responses.
- Type
@in the Copilot chat prompt. - Select the agent by name (for example,
@workspace). - Frame your question for the agent’s domain to get the best results (e.g., ask
@terminalshell- or environment-specific questions, and@vscodequestions about Visual Studio Code settings). - Agents limit their reasoning to the contexts they can access, so tailored prompts lead to more useful answers.
Agents can access the data sources you permit (workspace files, open editor, terminal). Do not share secrets or sensitive data in prompts and review agent-suggested edits before applying them.

@workspace— understands project structure, dependencies, and code relationships.@terminal— helps with command-line operations, shell commands, and terminal tools.@vscode— specializes in Visual Studio Code features and settings.@azure— preview agent for Azure services, deployments, and configs.@github— GitHub-specific Copilot skills and platform integrations.

- Pygame simulation — relevant portions
- VS Code Copilot Chat experimental setting
- Terminal and virtual environment workflow
- Agent mode (experimental) — example Flask flow
Agent mode is currently experimental in some VS Code previews. It can perform file edits and run terminal commands on your behalf — review suggested changes before accepting them.
- GitHub Copilot scoped agents (
@workspace,@terminal,@vscode, etc.) operate within defined contexts and are useful for targeted assistance related to those contexts. - “Agent mode” is a higher-level, more autonomous experience (can create files and run commands). It is typically separate from the per-domain agents and may be in preview; confirm whether it is covered in exam or course materials.
- When preparing for assessments, focus on the behavior and limits of the per-domain agents unless the exam explicitly includes experimental agent mode capabilities.
- Mention the agent explicitly: start a prompt with
@workspaceor@terminalto route the question. - Provide minimal, relevant context in your prompt (file path, function name, error output).
- Ask for step-by-step actions when requesting changes that affect multiple files or commands.
- Review and test any code or terminal commands that an agent suggests before accepting them.
Links and references
- GitHub Copilot documentation
- Pygame
- Flask
- VS Code: Copilot Chat experimental feature documentation (check your VS Code preview channel notes)