Harrison introduces code completion, Ask, Edit, local Agent mode, and Copilot Coding Agent. Agent mode can explore a project, run tasks and tests, and try to fix problems; Coding Agent can take a GitHub issue and work on it asynchronously.
Piloting agents in GitHub Copilot
Speaker
Christopher Harrison of Microsoft leads an AI Engineer session on using GitHub Copilot, including its coding modes, context, and coding agent.
Harrison compares guiding Copilot to refining brunch suggestions as preferences become clear. He says context comes from more than prompts: readable code, clear names, comments, project structure, and specific instructions all help Copilot understand the task.
The lab uses Codespaces and covers assigning issues, external services, adding context, updating a site, and reviewing Copilot's work. Repositories need to be created under the Octo organization. Harrison says assigning issues to Coding Agent requires Copilot Pro+ or Enterprise, while the rest of the lab can be explored with Copilot Free.
Harrison shows how a detailed issue, a copilot-instructions.md file, and a GitHub Actions setup workflow give Coding Agent task guidance and a working environment. For local chat, task-specific instruction files can target file patterns and reference examples. He also describes the agent's isolated environment, restricted repository write access, and locked-down network access.
Harrison says Coding Agent's pull request workflows do not run automatically; a person must review the code before starting them. He recommends keeping normal development checks, including tests, linters, security scans, and code review, regardless of how code was generated. For large projects, developers can tell the agent to run focused tests first and the full suite later.
Takeaways
- Make code readable and keep project structure clear so Copilot can use the repository as context.
- Write specific issues and reusable instruction files to reduce ambiguity in generated changes.
- Prepare the agent's setup workflow with the libraries and services it needs.
- Review agent changes and run the usual checks before merging.
- Use MCP when Copilot needs external data, and account for the agent's network restrictions.
Mentioned in this talk
Search inside this talk
What was claimed 10
- feature
Microsoft Copilot: Uses code, comments, project structure, prompts, and instruction files as context.
“Copilot is going to use everything it sees for context, and that's going to include your code.”
YouTube Unverified1 source· Talk
- feature
Microsoft Copilot: Offers code completion, Ask, Edit, and Agent modes.
“Let's quickly introduce the different workloads available to us.”
YouTube Unverified1 source· Talk
- feature
GitHub Copilot Agent mode: Can explore a project, find files, run tasks, build code, run tests, and attempt to self-heal.
“It can explore your project, find files, and run external tasks.”
YouTube Unverified1 source· Talk
- integrates with
Microsoft Copilot integrates with MCP
“Cloud agent has access to the GitHub MCP server and the Playwright MCP server”
12:08inCooking with Agents in VS CodeYouTube Verified4 sources· Talk
- featurecoding agents: Can be assigned a repository issue and work asynchronously.
“I can take an issue in my repository, assign it to Copilot, and then go do something else.”
YouTube Unverified1 source· Talk
- featurecoding agents: Requires Copilot Pro+ or Enterprise to assign issues to it.
“to assign issues to Copilot coding agent, you're going to need Pro Plus or Enterprise.”
YouTube Unverified1 source· Talk
- featureMCP: Allows Copilot to call external services and access external resources.
“MCP allows you to give Copilot the ability to call out to external services.”
YouTube Unverified1 source· Talk
- featureGitHub Copilot Spaces: Can reference a repository and selected files as a knowledge base for developers.
“you can point it at a repository and specific files and say, 'Here's our knowledge base'”
YouTube Unverified1 source· Talk










