English edition · cyberattaques.org in FrenchFrançais
IT news

Copilot Code preview reaches Windows Insiders: an AI agent that builds and runs code on the PC

Microsoft has widened the Copilot Code preview in the Copilot app for Windows to Windows Insiders in the United States and Canada with a Microsoft 365 Premium or Pro subscription. The tool builds apps, websites and scripts on the local machine, which matters to administrators managing Windows endpoints and to business customers in the Frontier program.

What to do now Illustration photo (laptop code editor screen)

On 4 December 2026, Microsoft opened Copilot Code (Preview) to Windows Insiders. The feature sits inside the Copilot app for Windows. Users describe the tool they want in plain language, and the agent builds it on their PC: a dashboard, a small website, an app or a script. One of Microsoft's own examples is a script that sorts the Downloads folder into one folder per month.

The rollout first covered only part of the Insider population. It now extends to Insiders in the United States and Canada who sign in to the Copilot app with a personal Microsoft account holding a Microsoft 365 Premium or Pro subscription. They need version 157.0.4341.60 or later of the Copilot app from the Microsoft Store. The first launch downloads about 300 MB of supporting files, and this happens only once. The feature is included in both subscriptions and draws on the user's AI usage allowance.

For administrators, what matters most is what the agent is allowed to do. It works inside a project folder the user picks. Users can also attach spreadsheets, CSV files, PDFs, documents, images or presentations, or point it at an existing folder on the PC. By default it asks for approval before reaching other locations, connecting to the internet, running a command or deleting files. A sandbox is on by default for local projects and limits which files and network resources the agent can reach. Users can decline any step or stop a task at any time.

There are three working modes. Interactive, the default, lets the user steer as the work progresses. Plan shows the intended approach for review before anything changes. Automatic handles well-defined tasks with fewer interruptions, but the approval settings still apply. A model picker offers models from Anthropic or OpenAI, or an Auto setting. Projects and their conversations are stored locally and can be exported.

Connecting GitHub is optional. With a linked account, users can work on an existing project, ask questions about its code, or have Copilot Code propose changes on GitHub for them to review. Microsoft notes that conversations from Chat or Cowork do not yet carry over into Copilot Code. It also warns that the tool can make mistakes and advises testing its output before relying on it or sharing it. For more detail, Microsoft points to a separate page on Copilot Code security considerations.

For work and school accounts, Microsoft says Copilot Code is rolling out to commercial customers in the Frontier program. The announcement does not describe enterprise management policies or give a date for general availability. Organisations that allow personal Microsoft accounts on managed devices should bear in mind that this consumer version can run code locally.

Action plan

What to do now

  1. Check whether your organisation is enrolled in the Frontier program, which is how Copilot Code reaches work and school accounts.
  2. Read Microsoft's Copilot Code security considerations page before allowing the feature on managed devices.
  3. Tell users trying the preview to keep the default sandbox and approval prompts enabled, and to test any generated script before running it on real data.
  4. As general good practice, review your policy on personal Microsoft accounts and Store apps on corporate endpoints.

Sources