VS Code Is Retiring Copilot’s Local Harness: How to Switch

VS Code is retiring an older GitHub Copilot agent runtime in February 2027. If you use agent mode, now is a good time to check which harness your sessions use.

GitHub announced on November 16, 2026 that VS Code 1.146 deprecates the Local harness. The replacement, called the Microsoft Copilot harness, has already been the default for new sessions since VS Code 1.143.

What actually changes?

A harness coordinates the model, context, and tools behind an agent session. This is a runtime change, not an announcement that local coding or your files are moving to a cloud workspace.

  • Deadline: The older Local harness is scheduled for removal in February 2027.
  • Still local: You can continue running agent commands on your own machine with the Copilot harness.
  • Shared runtime: The newer harness uses the Copilot SDK family also used by Copilot CLI and the GitHub Copilot app.
  • Plans: Existing GitHub Copilot plans, including Free, remain usable, but individual features depend on your plan and policies.

How to switch before the deadline

Open VS Code, start a new agent session, and choose Copilot under Session Target. That is GitHub’s documented migration step; there is no shell command required.

Then check your custom agents, tools, permissions, and project-specific settings. GitHub warns that switching harnesses does not automatically convert every customization.

Enterprise administrators should also inspect the temporary vscode.temporaryDefaultToLocalHarness setting. Keeping that exception will not preserve the old runtime after its removal.

The security caveat

The new harness supports administrator-enforced runtime permissions and sandbox restrictions that the old one cannot enforce. But choosing the new harness does not automatically enable sandboxing. Teams must configure and test their controls separately.

Takeaway: Try a fresh Copilot-harness session on one real project now, verify its tools and approval behavior, and migrate any workflow that still relies on Local before February.

Sources

Leave a Reply